@daeryun/dr_components 1.0.30 → 1.0.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/asset/images/strength_new/logo.svg +37 -0
  2. package/dist/components/Footer/index.jsx +41 -46
  3. package/dist/components/Footer/index.tsx +48 -48
  4. package/dist/components/common/types/strength_new/index.d.ts +48 -6
  5. package/dist/components/common/types/strength_new/index.ts +51 -6
  6. package/dist/components/page/StrengthNew/StrengthCustomer.d.ts +8 -0
  7. package/dist/components/page/StrengthNew/StrengthCustomer.jsx +15 -0
  8. package/dist/components/page/StrengthNew/StrengthCustomer.tsx +36 -0
  9. package/dist/components/page/StrengthNew/StrengthInfra.d.ts +8 -0
  10. package/dist/components/page/StrengthNew/StrengthInfra.jsx +13 -0
  11. package/dist/components/page/StrengthNew/StrengthInfra.tsx +34 -0
  12. package/dist/components/page/StrengthNew/StrengthPeople.jsx +1 -1
  13. package/dist/components/page/StrengthNew/StrengthPeople.tsx +3 -3
  14. package/dist/components/page/StrengthNew/StrengthSystem.jsx +1 -1
  15. package/dist/components/page/StrengthNew/StrengthSystem.tsx +3 -3
  16. package/dist/components/page/StrengthNew/components/common/BannerSection.jsx +38 -37
  17. package/dist/components/page/StrengthNew/components/common/BannerSection.tsx +41 -41
  18. package/dist/components/page/StrengthNew/components/common/ItemNumber.d.ts +6 -0
  19. package/dist/components/page/StrengthNew/components/common/ItemNumber.jsx +12 -0
  20. package/dist/components/page/StrengthNew/components/common/ItemNumber.tsx +19 -0
  21. package/dist/components/page/StrengthNew/components/common/LawyerSection.jsx +35 -32
  22. package/dist/components/page/StrengthNew/components/common/LawyerSection.tsx +70 -52
  23. package/dist/components/page/StrengthNew/components/common/ViewMoreSection.jsx +26 -19
  24. package/dist/components/page/StrengthNew/components/common/ViewMoreSection.tsx +43 -27
  25. package/dist/components/page/StrengthNew/components/customer/CustomerSection.d.ts +14 -0
  26. package/dist/components/page/StrengthNew/components/customer/CustomerSection.jsx +237 -0
  27. package/dist/components/page/StrengthNew/components/customer/CustomerSection.tsx +489 -0
  28. package/dist/components/page/StrengthNew/components/customer/DaeryunSection.d.ts +9 -0
  29. package/dist/components/page/StrengthNew/components/customer/DaeryunSection.jsx +85 -0
  30. package/dist/components/page/StrengthNew/components/customer/DaeryunSection.tsx +203 -0
  31. package/dist/components/page/StrengthNew/components/infra/InfraSection.d.ts +16 -0
  32. package/dist/components/page/StrengthNew/components/infra/InfraSection.jsx +254 -0
  33. package/dist/components/page/StrengthNew/components/infra/InfraSection.tsx +522 -0
  34. package/dist/components/page/StrengthNew/components/main/IntroSection.jsx +19 -11
  35. package/dist/components/page/StrengthNew/components/main/IntroSection.tsx +31 -11
  36. package/dist/components/page/StrengthNew/components/people/PeopleSection.jsx +81 -67
  37. package/dist/components/page/StrengthNew/components/people/PeopleSection.tsx +117 -80
  38. package/dist/components/page/StrengthNew/components/system/SystemSection.jsx +127 -99
  39. package/dist/components/page/StrengthNew/components/system/SystemSection.tsx +182 -108
  40. package/dist/styles/globals.css +1023 -186
  41. package/dist/tsconfig.tsbuildinfo +1 -1
  42. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import Image from 'next/image';
2
2
  import React from 'react';
3
3
  import Link from 'next/link';
4
- import { useRouter } from 'next/router';
4
+ import { usePathname, useRouter } from 'next/navigation';
5
5
  import Wrapper from '../../../../Layout/Wrapper';
6
6
 
7
7
  const LawyerSection = ({
@@ -20,78 +20,95 @@ const LawyerSection = ({
20
20
  }) => {
21
21
  const imagePath: string = process.env.NEXT_PUBLIC_S3_URL + '';
22
22
  const router = useRouter();
23
+ const pathname = usePathname();
24
+
23
25
  return (
24
26
  <section
25
27
  className={
26
- 'relative flex h-[400px] w-full items-center tracking-[-0.04em] max-3xl:h-[340px] max-lg:h-[240px] max-md:h-fit'
28
+ 'relative flex h-[400px] w-full items-center tracking-[-0.04em] ' +
29
+ 'max-3xl:h-[340px] ' +
30
+ 'max-xl:h-[300px] ' +
31
+ 'max-lg:h-[240px] ' +
32
+ 'max-md:h-fit '
27
33
  }
28
34
  >
29
35
  <Wrapper
30
36
  className={
31
- '!static z-10 flex w-full items-center justify-between max-md:flex-col max-md:items-start max-md:gap-10 max-md:py-10 max-xs:pl-5 '
37
+ '!static z-10 flex w-full items-center justify-between ' +
38
+ 'max-md:flex-col max-md:items-start max-md:gap-10 max-md:py-10 ' +
39
+ 'max-xs:pl-5 '
32
40
  }
33
41
  >
34
42
  <Image
35
43
  src={imagePath + `/strength_new/lawyer_bg.webp`}
36
44
  alt={'강점'}
37
45
  fill
38
- className={'absolute left-0 top-0 z-[-1] object-cover max-md:hidden'}
46
+ sizes={'100vw'}
47
+ className={'absolute left-0 top-0 z-[-1] object-cover max-lg:hidden'}
48
+ quality={100}
49
+ />
50
+ <Image
51
+ src={imagePath + `/strength_new/lawyer_bg_tab.webp`}
52
+ alt={'강점'}
53
+ fill
54
+ sizes={'100vw'}
55
+ className={'absolute left-0 top-0 z-[-1] object-cover max-sm:hidden lg:hidden'}
39
56
  quality={100}
40
57
  />
41
58
  <Image
42
59
  src={imagePath + `/strength_new/lawyer_bg_mo.webp`}
43
60
  alt={'강점'}
44
61
  fill
45
- className={'absolute left-0 top-0 z-[-1] object-cover md:hidden'}
62
+ sizes={'100vw'}
63
+ className={'absolute left-0 top-0 z-[-1] object-cover sm:hidden'}
46
64
  quality={100}
47
65
  />
48
66
  <div
49
67
  className={
50
- 'text-[40px] font-medium leading-[1.4] ' +
68
+ 'break-keep text-[40px] font-medium leading-[1.4] ' +
51
69
  'max-3xl:text-[32px] ' +
52
- 'max-xl:text-[26px] ' +
70
+ 'max-xl:text-[28px] ' +
53
71
  'max-lg:text-[24px] ' +
54
72
  'max-md:pl-5 max-md:leading-[1.3] '
55
73
  }
56
74
  >
57
- {router.locale === 'en' ? (
58
- <>
59
- <p className={'text-[0.9em]'} dangerouslySetInnerHTML={{ __html: lawyer_title_1 }} />
60
- <p
61
- className={
62
- 'pl-[245px] text-[0.9em] ' +
63
- 'max-3xl:pl-[195px] ' +
64
- 'max-xl:pl-[158px] ' +
65
- 'max-lg:pl-[70px] ' +
66
- 'max-md:mt-[10px] max-md:pl-0'
67
- }
68
- dangerouslySetInnerHTML={{ __html: lawyer_title_2 }}
69
- />
70
- </>
75
+ <p className={'tracking-[-0.04em]'} dangerouslySetInnerHTML={{ __html: lawyer_title_1 }} />
76
+
77
+ {/*인적역량*/}
78
+ {pathname.includes('people') ? (
79
+ <p
80
+ className={
81
+ 'pl-[245px] tracking-[-0.04em] max-3xl:pl-[195px] max-xl:pl-[172px] max-lg:pl-[70px] max-md:mt-[10px] max-md:pl-0'
82
+ }
83
+ dangerouslySetInnerHTML={{ __html: lawyer_title_2 }}
84
+ />
85
+ ) : pathname.includes('infra') ? (
86
+ <p
87
+ className={
88
+ 'pl-[92px] tracking-[-0.04em] max-3xl:pl-[76px] max-xl:pl-[67px] max-lg:pl-[55px] max-[850px]:pl-0 max-md:mt-[10px] max-md:pl-0'
89
+ }
90
+ dangerouslySetInnerHTML={{ __html: lawyer_title_2 }}
91
+ />
92
+ ) : pathname.includes('customer') ? (
93
+ <p
94
+ className={
95
+ 'pl-[284px] tracking-[-0.04em] max-3xl:pl-[226px] max-xl:pl-[196px] max-lg:pl-[91px] max-md:mt-[10px] max-md:pl-0'
96
+ }
97
+ dangerouslySetInnerHTML={{ __html: lawyer_title_2 }}
98
+ />
71
99
  ) : (
72
- <>
73
- <p dangerouslySetInnerHTML={{ __html: lawyer_title_1 }} />
74
- <p
75
- className={
76
- 'pl-[245px] ' +
77
- 'max-3xl:pl-[195px] ' +
78
- 'max-xl:pl-[158px] ' +
79
- 'max-lg:pl-[70px] ' +
80
- 'max-md:mt-[10px] max-md:pl-0'
81
- }
82
- dangerouslySetInnerHTML={{ __html: lawyer_title_2 }}
83
- />
84
- </>
100
+ // 사건 처리 시스템
101
+ <p
102
+ className={
103
+ 'pl-[215px] tracking-[-0.04em] max-3xl:pl-[171px] max-xl:pl-[147px] max-lg:pl-[52px] max-md:mt-[10px] max-md:pl-0'
104
+ }
105
+ dangerouslySetInnerHTML={{ __html: lawyer_title_2 }}
106
+ />
85
107
  )}
86
108
  </div>
87
109
  <div
88
110
  className={
89
- 'flex gap-5 tracking-[-0.04em] ' +
90
- 'max-3xl:gap-3 ' +
91
- 'max-lg:gap-[10px] ' +
92
- 'max-md2:gap-0 ' +
93
- 'max-md:gap-[15px] ' +
94
- 'max-xs:gap-[10px]'
111
+ 'flex shrink-0 gap-5 tracking-[-0.04em] max-3xl:gap-4 max-lg:gap-[15px] max-md2:gap-[0px] max-md:gap-[15px] max-xs:gap-[10px]'
95
112
  }
96
113
  >
97
114
  {lawyer_link_list.map((item, index) => {
@@ -101,6 +118,7 @@ const LawyerSection = ({
101
118
  className={
102
119
  'group relative h-[240px] w-[240px] rounded-full ' +
103
120
  'max-3xl:h-[200px] max-3xl:w-[200px] ' +
121
+ 'max-xl:h-[170px] max-xl:w-[170px] ' +
104
122
  'max-lg:h-[160px] max-lg:w-[160px] '
105
123
  }
106
124
  key={index}
@@ -110,6 +128,7 @@ const LawyerSection = ({
110
128
  className={
111
129
  'absolute right-1/2 top-1/2 flex h-[220px] w-[220px] -translate-y-1/2 translate-x-1/2 rounded-full ' +
112
130
  'max-3xl:h-[180px] max-3xl:w-[180px] ' +
131
+ 'max-xl:h-[160px] max-xl:w-[160px] ' +
113
132
  'max-lg:h-[140px] max-lg:w-[140px] max-lg:gap-[18px] ' +
114
133
  'mix-blend-multiply'
115
134
  }
@@ -120,8 +139,9 @@ const LawyerSection = ({
120
139
  className={
121
140
  'absolute right-1/2 top-1/2 h-[230px] w-[230px] -translate-y-1/2 translate-x-1/2 rounded-full border border-solid ' +
122
141
  'max-3xl:h-[190px] max-3xl:w-[190px] ' +
142
+ 'max-xl:h-[170px] max-xl:w-[170px] ' +
123
143
  'max-lg:h-[150px] max-lg:w-[150px] ' +
124
- 'lg:transition-[width,height] lg:duration-500 lg:group-hover:h-[200px] lg:group-hover:w-[200px] 3xl:group-hover:h-[240px] 3xl:group-hover:w-[240px] '
144
+ 'lg:transition-[width,height] lg:duration-500 lg:group-hover:h-[180px] lg:group-hover:w-[180px] xl:group-hover:h-[200px] xl:group-hover:w-[200px] 3xl:group-hover:h-[240px] 3xl:group-hover:w-[240px] '
125
145
  }
126
146
  ></span>
127
147
  {/*내용*/}
@@ -129,34 +149,32 @@ const LawyerSection = ({
129
149
  className={
130
150
  'absolute right-1/2 top-1/2 flex h-[220px] w-[220px] -translate-y-1/2 translate-x-1/2 flex-col items-center justify-center gap-5 rounded-full text-white ' +
131
151
  'max-3xl:h-[180px] max-3xl:w-[180px] ' +
152
+ 'max-xl:h-[160px] max-xl:w-[160px] ' +
132
153
  'max-lg:h-[140px] max-lg:w-[140px] max-lg:gap-[18px] '
133
154
  }
134
155
  >
135
156
  <p
136
157
  className={
137
- 'whitespace-pre-wrap text-center text-[24px] font-[700] leading-[1.3] max-3xl:text-[20px] max-lg:text-[16px]'
158
+ 'whitespace-pre-wrap text-center text-[24px] font-[700] leading-[1.3] ' +
159
+ 'max-3xl:text-[20px] ' +
160
+ 'max-xl:text-[18px] ' +
161
+ 'max-lg:text-[16px]'
138
162
  }
139
163
  >
140
- {router.locale === 'en' ? (
141
- <span className={'text-[0.9em]'}>{item.title}</span>
142
- ) : (
143
- item.title
144
- )}
164
+ {item.title}
145
165
  </p>
146
166
 
147
167
  <span
148
168
  className={
149
169
  'flex items-center gap-[10px] border-b border-solid border-white pb-[10px] text-[20px] font-[500] leading-[1] ' +
150
170
  'max-3xl:text-[18px] ' +
171
+ 'max-xl:text-[16px] ' +
151
172
  'lg:transition-[width] lg:duration-500 ' +
152
173
  'max-lg:pb-[6px] max-lg:text-[14px]'
153
174
  }
154
175
  >
155
- {router.locale === 'en' ? (
156
- <span className={'text-[0.8em]'}>{item.buttonText}</span>
157
- ) : (
158
- item.buttonText
159
- )}
176
+ {item.buttonText}
177
+
160
178
  <span
161
179
  className={
162
180
  'relative block h-[14px] w-[8px] ' +
@@ -1,16 +1,22 @@
1
1
  import Link from 'next/link';
2
2
  import React from 'react';
3
3
  import Image from 'next/image';
4
- import { usePathname } from 'next/navigation';
5
- import { useRouter } from 'next/router';
4
+ import { usePathname, useRouter } from 'next/navigation';
6
5
  import Wrapper from '../../../../Layout/Wrapper';
7
6
  import { replaceInitialData } from '../../../../../lib';
8
7
  const ViewMoreSection = ({ view_more_section_title, view_more_list, initialData }) => {
9
8
  const pathname = usePathname();
10
9
  const isMain = pathname === '/strength';
11
- return (<section className={'relative w-full pb-[180px] max-lg:pb-20 ' + (isMain ? ' pt-[100px]' : 'pt-[180px]')}>
12
- <Wrapper className={'pt-10'}>
13
- <h2 className={'text-center text-[36px] font-[800] leading-[1] tracking-[-0.04em] max-lg:text-[28px]'}>
10
+ return (<section className={'relative w-full pb-[180px] tracking-[-0.04em] ' +
11
+ (isMain
12
+ ? 'pt-[100px] max-xl:py-20 max-[700px]:py-[60px]'
13
+ : 'pt-[180px] max-xl:py-20 max-[700px]:py-[60px]')}>
14
+ <Wrapper>
15
+ <h2 className={'border-t border-solid border-black text-center text-[36px] font-[800] leading-[1] ' +
16
+ (isMain
17
+ ? 'pt-10 max-xl:pt-[60px] max-[700px]:border-t-white max-[700px]:pt-0 '
18
+ : 'pt-10 max-xl:border-t-white max-xl:pt-0 ') +
19
+ 'max-xl:text-[28px]'}>
14
20
  {view_more_section_title}
15
21
  </h2>
16
22
  <div className={(isMain ? 'grid-cols-4' : 'grid-cols-3 ') + ' mt-10 grid gap-5 max-xl:hidden'}>
@@ -18,7 +24,7 @@ const ViewMoreSection = ({ view_more_section_title, view_more_list, initialData
18
24
  return <ViewMorePCItem key={index} item={item} index={index} initialData={initialData}/>;
19
25
  })}
20
26
  </div>
21
- <div className={'mt-[20px] grid max-xl:grid-cols-1 max-xs:mt-0 xl:hidden'}>
27
+ <div className={'mt-[20px] grid max-xl:grid-cols-1 max-[700px]:mt-0 xl:hidden'}>
22
28
  {view_more_list.map((item, index) => {
23
29
  return <ViewMoreTabItem key={index} item={item} index={index} initialData={initialData}/>;
24
30
  })}
@@ -76,13 +82,12 @@ const ViewMorePCItem = ({ item, index, initialData }) => {
76
82
  </span>
77
83
 
78
84
  <h3 className={'mt-10 text-[32px] font-[800] leading-none transition-colors duration-500 max-3xl:mt-8 max-3xl:text-[30px]'}>
79
- {router.locale === 'en' ? (<span className={'line-clamp-1 text-[0.9em]'}>{item.title}</span>) : (item.title)}
85
+ {item.title}
80
86
  </h3>
81
87
  <p className={'mt-6 line-clamp-2 min-h-[62px] text-[24px] font-[600] leading-[1.3] max-3xl:mt-4 max-3xl:text-[22px]'}>
82
- {router.locale === 'en' ? <span className={'text-[0.9em]'}>{item.subTitle}</span> : item.subTitle}
88
+ {item.subTitle}
83
89
  </p>
84
- <p className={'mt-6 line-clamp-4 font-[400] leading-[1.4] max-3xl:mt-4 max-3xl:text-[18px] ' +
85
- (router.locale === 'en' ? 'text-[18px]' : 'text-[20px]')} dangerouslySetInnerHTML={{
90
+ <p className={'mt-6 line-clamp-4 text-[20px] font-[400] leading-[1.4] max-3xl:mt-4 max-3xl:text-[18px] '} dangerouslySetInnerHTML={{
86
91
  __html: replaceInitialData(item.description.replace('*consult_date*', `<span class='text-[16px] max-3xl:text-[16px]'>*consult_date*</span>`), initialData)
87
92
  }}></p>
88
93
  <div className={'mt-auto flex justify-end'}>
@@ -90,7 +95,7 @@ const ViewMorePCItem = ({ item, index, initialData }) => {
90
95
  {item.view_more_text}
91
96
  <span className={'circle flex h-8 w-8 items-center justify-center rounded-full transition-[background-color] duration-500 max-3xl:h-7 max-3xl:w-7'}>
92
97
  <span className={'relative block h-[14px] w-[17px] opacity-0 transition-opacity duration-500 group-hover:opacity-100 max-3xl:h-[12px] max-3xl:w-[15px]'}>
93
- <Image src={imagePath + `/strength_new/arrow.webp`} alt={'강점'} fill className={'object-contain'} quality={100}/>
98
+ <Image src={imagePath + `/strength_new/arrow.webp`} alt={'강점'} fill sizes={'(max-width: 1500px) 15px, 17px'} className={'object-contain'} quality={100}/>
94
99
  </span>
95
100
  </span>
96
101
  </span>
@@ -101,24 +106,26 @@ const ViewMoreTabItem = ({ item, index, initialData }) => {
101
106
  const imagePath = process.env.NEXT_PUBLIC_S3_URL + '';
102
107
  const pathname = usePathname();
103
108
  const hidden = pathname.includes(item.url); //이미지 순서 밀림때문에 히든으로 처리
104
- return (<Link href={`/strength/${item.url}`} className={'group flex w-full gap-10 border-b border-solid border-black py-10 tracking-[-0.04em] ' +
109
+ return (<Link href={`/strength/${item.url}`} className={'group flex w-full items-center gap-10 border-b border-solid border-black py-10 tracking-[-0.04em] ' +
105
110
  'max-md:gap-8 ' +
106
111
  'max-[700px]:flex-col max-[700px]:gap-6 max-[700px]:pb-5 ' +
107
112
  'xl:hidden ' +
108
113
  (hidden ? '!hidden' : '')}>
109
- <div className={'relative h-fit w-fit max-[700px]:w-full'}>
114
+ <div className={'relative h-full w-fit max-[700px]:w-full'}>
110
115
  <div className={'absolute right-1/2 top-1/2 z-20 h-[40px] w-[62px] -translate-y-1/2 translate-x-1/2 opacity-70 mix-blend-overlay '}>
111
116
  <Image src={`${imagePath}/strength_new/logo_white.webp`} alt={'강점'} fill sizes="62px" className={'object-cover'}/>
112
117
  </div>
113
- <div className={'relative h-[128px] w-[260px] shrink-0 ' +
114
- 'max-lg:h-[148px] max-md:w-[220px] ' +
118
+ <div className={'relative h-[150px] w-[260px] shrink-0 ' +
119
+ 'max-xl:h-full ' +
120
+ 'max-md:w-[220px] ' +
115
121
  'max-[700px]:h-[100px] max-[700px]:w-full'}>
116
- <Image src={`${imagePath}/strength_new/viewmore_tab_${index + 1}.webp`} alt={'강점'} fill sizes="(max-width: 700px) 95vw, (max-width: 1280px) 260px, 33vw" className={'object-cover'}/>
122
+ <Image src={`${imagePath}/strength_new/viewmore_tab_${index + 1}.webp`} alt={'강점'} fill quality={100} sizes="(max-width: 700px) 95vw, (max-width: 1280px) 260px, 33vw" className={'object-cover max-[700px]:hidden '}/>
123
+ <Image src={`${imagePath}/strength_new/viewmore_mo_${index + 1}.webp`} alt={'강점'} fill quality={100} sizes="(max-width: 700px) 95vw, (max-width: 1280px) 260px, 33vw" className={'[700px]:hidden object-cover'}/>
117
124
  </div>
118
125
  </div>
119
- <div className={'flex flex-col gap-4 max-xs:gap-[10px]'}>
126
+ <div className={'flex flex-col gap-4 max-[700px]:gap-[10px]'}>
120
127
  <div className={'flex justify-between'}>
121
- <h3 className={'text-[24px] font-[800] leading-none max-md:text-[22px] max-xs:text-[20px]'} style={{ color: item.color }}>
128
+ <h3 className={'text-[24px] font-[800] leading-none max-md:text-[22px] max-[700px]:text-[20px]'} style={{ color: item.color }}>
122
129
  {item.title}
123
130
  </h3>
124
131
  <div className={'mt-auto flex justify-end'}>
@@ -132,7 +139,7 @@ const ViewMoreTabItem = ({ item, index, initialData }) => {
132
139
  </span>
133
140
  </div>
134
141
  </div>
135
- <p className={'text-[20px] font-[600] leading-[1.3] max-xs:mt-[10px]'}>{item.subTitle}</p>
142
+ <p className={'text-[20px] font-[600] leading-[1.3] max-[700px]:mt-[10px]'}>{item.subTitle}</p>
136
143
  <p className={'text-[16px] font-[400] leading-[1.4] '} dangerouslySetInnerHTML={{
137
144
  __html: replaceInitialData(item.description.replace('*consult_date*', `<span class='text-[14px]'>*consult_date*</span>`), initialData)
138
145
  }}></p>
@@ -1,10 +1,7 @@
1
1
  import Link from 'next/link';
2
- import React, { useEffect, useState } from 'react';
2
+ import React from 'react';
3
3
  import Image from 'next/image';
4
-
5
- import { usePathname } from 'next/navigation';
6
-
7
- import { useRouter } from 'next/router';
4
+ import { usePathname, useRouter } from 'next/navigation';
8
5
  import { IViewMoreListTypes } from '../../../../common/types/strength_new';
9
6
  import { IInitialDataTypes } from '../../../../common';
10
7
  import Wrapper from '../../../../Layout/Wrapper';
@@ -23,9 +20,24 @@ const ViewMoreSection = ({
23
20
  const isMain = pathname === '/strength';
24
21
 
25
22
  return (
26
- <section className={'relative w-full pb-[180px] max-lg:pb-20 ' + (isMain ? ' pt-[100px]' : 'pt-[180px]')}>
27
- <Wrapper className={'pt-10'}>
28
- <h2 className={'text-center text-[36px] font-[800] leading-[1] tracking-[-0.04em] max-lg:text-[28px]'}>
23
+ <section
24
+ className={
25
+ 'relative w-full pb-[180px] tracking-[-0.04em] ' +
26
+ (isMain
27
+ ? 'pt-[100px] max-xl:py-20 max-[700px]:py-[60px]'
28
+ : 'pt-[180px] max-xl:py-20 max-[700px]:py-[60px]')
29
+ }
30
+ >
31
+ <Wrapper>
32
+ <h2
33
+ className={
34
+ 'border-t border-solid border-black text-center text-[36px] font-[800] leading-[1] ' +
35
+ (isMain
36
+ ? 'pt-10 max-xl:pt-[60px] max-[700px]:border-t-white max-[700px]:pt-0 '
37
+ : 'pt-10 max-xl:border-t-white max-xl:pt-0 ') +
38
+ 'max-xl:text-[28px]'
39
+ }
40
+ >
29
41
  {view_more_section_title}
30
42
  </h2>
31
43
  <div className={(isMain ? 'grid-cols-4' : 'grid-cols-3 ') + ' mt-10 grid gap-5 max-xl:hidden'}>
@@ -33,7 +45,7 @@ const ViewMoreSection = ({
33
45
  return <ViewMorePCItem key={index} item={item} index={index} initialData={initialData} />;
34
46
  })}
35
47
  </div>
36
- <div className={'mt-[20px] grid max-xl:grid-cols-1 max-xs:mt-0 xl:hidden'}>
48
+ <div className={'mt-[20px] grid max-xl:grid-cols-1 max-[700px]:mt-0 xl:hidden'}>
37
49
  {view_more_list.map((item, index) => {
38
50
  return <ViewMoreTabItem key={index} item={item} index={index} initialData={initialData} />;
39
51
  })}
@@ -136,24 +148,17 @@ const ViewMorePCItem = ({
136
148
  'mt-10 text-[32px] font-[800] leading-none transition-colors duration-500 max-3xl:mt-8 max-3xl:text-[30px]'
137
149
  }
138
150
  >
139
- {router.locale === 'en' ? (
140
- <span className={'line-clamp-1 text-[0.9em]'}>{item.title}</span>
141
- ) : (
142
- item.title
143
- )}
151
+ {item.title}
144
152
  </h3>
145
153
  <p
146
154
  className={
147
155
  'mt-6 line-clamp-2 min-h-[62px] text-[24px] font-[600] leading-[1.3] max-3xl:mt-4 max-3xl:text-[22px]'
148
156
  }
149
157
  >
150
- {router.locale === 'en' ? <span className={'text-[0.9em]'}>{item.subTitle}</span> : item.subTitle}
158
+ {item.subTitle}
151
159
  </p>
152
160
  <p
153
- className={
154
- 'mt-6 line-clamp-4 font-[400] leading-[1.4] max-3xl:mt-4 max-3xl:text-[18px] ' +
155
- (router.locale === 'en' ? 'text-[18px]' : 'text-[20px]')
156
- }
161
+ className={'mt-6 line-clamp-4 text-[20px] font-[400] leading-[1.4] max-3xl:mt-4 max-3xl:text-[18px] '}
157
162
  dangerouslySetInnerHTML={{
158
163
  __html: replaceInitialData(
159
164
  item.description.replace(
@@ -185,6 +190,7 @@ const ViewMorePCItem = ({
185
190
  src={imagePath + `/strength_new/arrow.webp`}
186
191
  alt={'강점'}
187
192
  fill
193
+ sizes={'(max-width: 1500px) 15px, 17px'}
188
194
  className={'object-contain'}
189
195
  quality={100}
190
196
  />
@@ -212,14 +218,14 @@ const ViewMoreTabItem = ({
212
218
  <Link
213
219
  href={`/strength/${item.url}`}
214
220
  className={
215
- 'group flex w-full gap-10 border-b border-solid border-black py-10 tracking-[-0.04em] ' +
221
+ 'group flex w-full items-center gap-10 border-b border-solid border-black py-10 tracking-[-0.04em] ' +
216
222
  'max-md:gap-8 ' +
217
223
  'max-[700px]:flex-col max-[700px]:gap-6 max-[700px]:pb-5 ' +
218
224
  'xl:hidden ' +
219
225
  (hidden ? '!hidden' : '')
220
226
  }
221
227
  >
222
- <div className={'relative h-fit w-fit max-[700px]:w-full'}>
228
+ <div className={'relative h-full w-fit max-[700px]:w-full'}>
223
229
  <div
224
230
  className={
225
231
  'absolute right-1/2 top-1/2 z-20 h-[40px] w-[62px] -translate-y-1/2 translate-x-1/2 opacity-70 mix-blend-overlay '
@@ -235,8 +241,9 @@ const ViewMoreTabItem = ({
235
241
  </div>
236
242
  <div
237
243
  className={
238
- 'relative h-[128px] w-[260px] shrink-0 ' +
239
- 'max-lg:h-[148px] max-md:w-[220px] ' +
244
+ 'relative h-[150px] w-[260px] shrink-0 ' +
245
+ 'max-xl:h-full ' +
246
+ 'max-md:w-[220px] ' +
240
247
  'max-[700px]:h-[100px] max-[700px]:w-full'
241
248
  }
242
249
  >
@@ -244,15 +251,24 @@ const ViewMoreTabItem = ({
244
251
  src={`${imagePath}/strength_new/viewmore_tab_${index + 1}.webp`}
245
252
  alt={'강점'}
246
253
  fill
254
+ quality={100}
247
255
  sizes="(max-width: 700px) 95vw, (max-width: 1280px) 260px, 33vw"
248
- className={'object-cover'}
256
+ className={'object-cover max-[700px]:hidden '}
257
+ />
258
+ <Image
259
+ src={`${imagePath}/strength_new/viewmore_mo_${index + 1}.webp`}
260
+ alt={'강점'}
261
+ fill
262
+ quality={100}
263
+ sizes="(max-width: 700px) 95vw, (max-width: 1280px) 260px, 33vw"
264
+ className={'[700px]:hidden object-cover'}
249
265
  />
250
266
  </div>
251
267
  </div>
252
- <div className={'flex flex-col gap-4 max-xs:gap-[10px]'}>
268
+ <div className={'flex flex-col gap-4 max-[700px]:gap-[10px]'}>
253
269
  <div className={'flex justify-between'}>
254
270
  <h3
255
- className={'text-[24px] font-[800] leading-none max-md:text-[22px] max-xs:text-[20px]'}
271
+ className={'text-[24px] font-[800] leading-none max-md:text-[22px] max-[700px]:text-[20px]'}
256
272
  style={{ color: item.color }}
257
273
  >
258
274
  {item.title}
@@ -278,7 +294,7 @@ const ViewMoreTabItem = ({
278
294
  </span>
279
295
  </div>
280
296
  </div>
281
- <p className={'text-[20px] font-[600] leading-[1.3] max-xs:mt-[10px]'}>{item.subTitle}</p>
297
+ <p className={'text-[20px] font-[600] leading-[1.3] max-[700px]:mt-[10px]'}>{item.subTitle}</p>
282
298
  <p
283
299
  className={'text-[16px] font-[400] leading-[1.4] '}
284
300
  dangerouslySetInnerHTML={{
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { IInitialDataTypes } from '../../../../common';
3
+ declare const CustomerSection: ({ customer_list, initialData }: {
4
+ customer_list: {
5
+ title: string;
6
+ desc: string;
7
+ list: {
8
+ title: string;
9
+ desc: string;
10
+ }[];
11
+ }[];
12
+ initialData: IInitialDataTypes;
13
+ }) => React.JSX.Element;
14
+ export default CustomerSection;