@daeryun/dr_components 1.0.29 → 1.0.31
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.
- package/dist/asset/images/strength_new/logo.svg +37 -0
- package/dist/cjs/tsconfig-cjs.tsbuildinfo +1 -1
- package/dist/components/common/types/strength_new/index.d.ts +48 -6
- package/dist/components/common/types/strength_new/index.ts +51 -6
- package/dist/components/page/Choice/Choice.jsx +1 -1
- package/dist/components/page/Choice/Choice.tsx +1 -1
- package/dist/components/page/StrengthNew/StrengthCustomer.d.ts +8 -0
- package/dist/components/page/StrengthNew/StrengthCustomer.jsx +15 -0
- package/dist/components/page/StrengthNew/StrengthCustomer.tsx +36 -0
- package/dist/components/page/StrengthNew/StrengthInfra.d.ts +8 -0
- package/dist/components/page/StrengthNew/StrengthInfra.jsx +13 -0
- package/dist/components/page/StrengthNew/StrengthInfra.tsx +34 -0
- package/dist/components/page/StrengthNew/StrengthPeople.jsx +1 -1
- package/dist/components/page/StrengthNew/StrengthPeople.tsx +3 -3
- package/dist/components/page/StrengthNew/StrengthSystem.jsx +1 -1
- package/dist/components/page/StrengthNew/StrengthSystem.tsx +3 -3
- package/dist/components/page/StrengthNew/components/common/BannerSection.jsx +38 -37
- package/dist/components/page/StrengthNew/components/common/BannerSection.tsx +41 -41
- package/dist/components/page/StrengthNew/components/common/ItemNumber.d.ts +6 -0
- package/dist/components/page/StrengthNew/components/common/ItemNumber.jsx +12 -0
- package/dist/components/page/StrengthNew/components/common/ItemNumber.tsx +19 -0
- package/dist/components/page/StrengthNew/components/common/LawyerSection.jsx +35 -32
- package/dist/components/page/StrengthNew/components/common/LawyerSection.tsx +70 -52
- package/dist/components/page/StrengthNew/components/common/ViewMoreSection.jsx +26 -19
- package/dist/components/page/StrengthNew/components/common/ViewMoreSection.tsx +43 -27
- package/dist/components/page/StrengthNew/components/customer/CustomerSection.d.ts +14 -0
- package/dist/components/page/StrengthNew/components/customer/CustomerSection.jsx +237 -0
- package/dist/components/page/StrengthNew/components/customer/CustomerSection.tsx +489 -0
- package/dist/components/page/StrengthNew/components/customer/DaeryunSection.d.ts +9 -0
- package/dist/components/page/StrengthNew/components/customer/DaeryunSection.jsx +85 -0
- package/dist/components/page/StrengthNew/components/customer/DaeryunSection.tsx +203 -0
- package/dist/components/page/StrengthNew/components/infra/InfraSection.d.ts +16 -0
- package/dist/components/page/StrengthNew/components/infra/InfraSection.jsx +254 -0
- package/dist/components/page/StrengthNew/components/infra/InfraSection.tsx +522 -0
- package/dist/components/page/StrengthNew/components/main/IntroSection.jsx +19 -11
- package/dist/components/page/StrengthNew/components/main/IntroSection.tsx +31 -11
- package/dist/components/page/StrengthNew/components/people/PeopleSection.jsx +81 -67
- package/dist/components/page/StrengthNew/components/people/PeopleSection.tsx +117 -80
- package/dist/components/page/StrengthNew/components/system/SystemSection.jsx +127 -99
- package/dist/components/page/StrengthNew/components/system/SystemSection.tsx +182 -108
- package/dist/styles/globals.css +1023 -186
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,489 @@
|
|
|
1
|
+
import Image from 'next/image';
|
|
2
|
+
import React, { useEffect, useState } from 'react';
|
|
3
|
+
import ItemNumber from '../common/ItemNumber';
|
|
4
|
+
import { IInitialDataTypes } from '../../../../common';
|
|
5
|
+
import useBrowser from '../../../../hook/useBrowser';
|
|
6
|
+
import { replaceInitialData } from '../../../../../lib';
|
|
7
|
+
|
|
8
|
+
const CustomerSection = ({
|
|
9
|
+
customer_list,
|
|
10
|
+
initialData
|
|
11
|
+
}: {
|
|
12
|
+
customer_list: {
|
|
13
|
+
title: string;
|
|
14
|
+
desc: string;
|
|
15
|
+
list: {
|
|
16
|
+
title: string;
|
|
17
|
+
desc: string;
|
|
18
|
+
}[];
|
|
19
|
+
}[];
|
|
20
|
+
initialData: IInitialDataTypes;
|
|
21
|
+
}) => {
|
|
22
|
+
return (
|
|
23
|
+
<section className={'w-full border-b border-solid border-[#0A422C] tracking-[-0.04em] '}>
|
|
24
|
+
{customer_list.map((item, index) => {
|
|
25
|
+
const Component = index % 2 === 0 ? RightTextItem : LeftTextItem;
|
|
26
|
+
return <Component item={item} key={index} index={index} initialData={initialData} />;
|
|
27
|
+
})}
|
|
28
|
+
</section>
|
|
29
|
+
);
|
|
30
|
+
};
|
|
31
|
+
export default CustomerSection;
|
|
32
|
+
|
|
33
|
+
const RightTextItem = ({
|
|
34
|
+
item,
|
|
35
|
+
index,
|
|
36
|
+
initialData
|
|
37
|
+
}: {
|
|
38
|
+
item: {
|
|
39
|
+
title: string;
|
|
40
|
+
desc: string;
|
|
41
|
+
list: {
|
|
42
|
+
title: string;
|
|
43
|
+
desc: string;
|
|
44
|
+
}[];
|
|
45
|
+
};
|
|
46
|
+
index: number;
|
|
47
|
+
initialData: IInitialDataTypes;
|
|
48
|
+
}) => {
|
|
49
|
+
const imagePath: string = process.env.NEXT_PUBLIC_S3_URL + '';
|
|
50
|
+
const { width } = useBrowser(true);
|
|
51
|
+
const [padding, setPadding] = useState<number>(0);
|
|
52
|
+
|
|
53
|
+
const handleSetPadding = () => {
|
|
54
|
+
if (typeof window != 'undefined') {
|
|
55
|
+
const widthBrowser = width != 0 ? width : window.innerWidth;
|
|
56
|
+
|
|
57
|
+
if (widthBrowser > 2119) {
|
|
58
|
+
setPadding((widthBrowser - 1920 + 80) / 2);
|
|
59
|
+
} else if (widthBrowser < 2120 && widthBrowser > 1919) {
|
|
60
|
+
setPadding((widthBrowser - 1920 + 280) / 2);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
useEffect(() => {
|
|
66
|
+
handleSetPadding();
|
|
67
|
+
}, [width]);
|
|
68
|
+
|
|
69
|
+
return (
|
|
70
|
+
<div
|
|
71
|
+
className={
|
|
72
|
+
'w-full pl-[calc((100%-1920px+80px)/2)] ' +
|
|
73
|
+
'max-[2120px]:pl-[calc((100%-1920px+280px)/2)] ' +
|
|
74
|
+
'max-full:pl-[140px] ' +
|
|
75
|
+
'max-3xl:pl-20 ' +
|
|
76
|
+
'max-lg:pl-[60px] ' +
|
|
77
|
+
'max-sm:pl-5 ' +
|
|
78
|
+
(index != 0 ? 'mt-[-100px] max-3xl:mt-[-80px] max-xl:mt-[-50px] max-sm:mt-[-20px]' : '')
|
|
79
|
+
}
|
|
80
|
+
>
|
|
81
|
+
<div className={'relative h-full w-full '}>
|
|
82
|
+
{/*원*/}
|
|
83
|
+
<div
|
|
84
|
+
className={
|
|
85
|
+
'absolute left-0 top-0 h-[400px] w-[400px] overflow-hidden rounded-full border border-solid border-[#0A422C] ' +
|
|
86
|
+
'max-3xl:h-[300px] max-3xl:w-[300px] ' +
|
|
87
|
+
'max-xl:h-[200px] max-xl:w-[200px] ' +
|
|
88
|
+
'max-sm:h-[180px] max-sm:w-[180px]'
|
|
89
|
+
}
|
|
90
|
+
>
|
|
91
|
+
{/*이미지*/}
|
|
92
|
+
<span
|
|
93
|
+
className={
|
|
94
|
+
'absolute bottom-0 right-0 block h-[299px] w-[279px] overflow-hidden ' +
|
|
95
|
+
'max-3xl:h-[219px] max-3xl:w-[199px] max-3xl:rounded-tl-[100px] ' +
|
|
96
|
+
'max-xl:h-[149px] max-xl:w-[139px] max-xl:rounded-tl-[50px] ' +
|
|
97
|
+
'max-sm:h-[159px] max-sm:w-[159px] max-sm:rounded-tl-[100px]'
|
|
98
|
+
}
|
|
99
|
+
>
|
|
100
|
+
<Image
|
|
101
|
+
src={imagePath + `/strength_new/customer_${index + 1}.webp`}
|
|
102
|
+
alt={'강점'}
|
|
103
|
+
fill
|
|
104
|
+
sizes="(max-width: 640px) 160px, (max-width: 1280px) 139px, 279px"
|
|
105
|
+
className={'object-contain object-left max-3xl:scale-110 max-lg:hidden'}
|
|
106
|
+
quality={100}
|
|
107
|
+
/>
|
|
108
|
+
<Image
|
|
109
|
+
src={imagePath + `/strength_new/customer_tab_${index + 1}.webp`}
|
|
110
|
+
alt={'강점'}
|
|
111
|
+
fill
|
|
112
|
+
sizes="(max-width: 640px) 160px, (max-width: 1280px) 139px, 279px"
|
|
113
|
+
className={'object-contain object-left max-sm:hidden lg:hidden'}
|
|
114
|
+
quality={100}
|
|
115
|
+
/>
|
|
116
|
+
<Image
|
|
117
|
+
src={imagePath + `/strength_new/customer_mo_${index + 1}.webp`}
|
|
118
|
+
alt={'강점'}
|
|
119
|
+
fill
|
|
120
|
+
sizes="(max-width: 640px) 160px, (max-width: 1280px) 139px, 279px"
|
|
121
|
+
className={'object-contain object-left sm:hidden'}
|
|
122
|
+
quality={100}
|
|
123
|
+
/>
|
|
124
|
+
</span>
|
|
125
|
+
</div>
|
|
126
|
+
|
|
127
|
+
{/*내용 박스 > 원 위에*/}
|
|
128
|
+
<div
|
|
129
|
+
className={
|
|
130
|
+
'relative w-full pl-[120px] pt-[100px] ' +
|
|
131
|
+
'max-3xl:pl-[100px] max-3xl:pt-20 ' +
|
|
132
|
+
'max-xl:pl-[60px] max-xl:pt-[50px] ' +
|
|
133
|
+
'max-sm:pl-5 max-sm:pt-5'
|
|
134
|
+
}
|
|
135
|
+
>
|
|
136
|
+
{/*보더*/}
|
|
137
|
+
<div
|
|
138
|
+
className={
|
|
139
|
+
'relative w-full rounded-tl-[100px] border-l border-t border-solid border-l-[#0A422C] border-t-[#0A422C] pb-[60px] pl-[280px] ' +
|
|
140
|
+
'max-3xl:pb-[80px] max-3xl:pl-[200px] ' +
|
|
141
|
+
'max-xl:rounded-tl-[50px] max-xl:pb-[50px] max-xl:pl-[140px] ' +
|
|
142
|
+
'max-md:pl-10 max-md:pt-[140px] ' +
|
|
143
|
+
'max-sm:rounded-tl-[100px] max-sm:pb-5 max-sm:pl-5 max-sm:pt-[160px] '
|
|
144
|
+
}
|
|
145
|
+
>
|
|
146
|
+
{/*글자 내용*/}
|
|
147
|
+
<div
|
|
148
|
+
style={width > 1919 ? { paddingRight: padding + 120 } : {}}
|
|
149
|
+
className={
|
|
150
|
+
'relative flex min-h-[360px] w-full flex-col gap-10 pb-[100px] pl-[120px] pt-[60px] max-full:pr-[260px] ' +
|
|
151
|
+
'max-5xl:pl-[100px] ' +
|
|
152
|
+
'max-3xl:pl-20 max-3xl:pr-[180px] ' +
|
|
153
|
+
'max-xl:min-h-[228px] max-xl:gap-5 max-xl:p-10 max-xl:pr-[140px] ' +
|
|
154
|
+
'max-lg:pr-[120px] ' +
|
|
155
|
+
'max-md:gap-[30px] ' +
|
|
156
|
+
'max-sm:pb-10 max-sm:pl-0 max-sm:pr-10 max-sm:pt-5 '
|
|
157
|
+
}
|
|
158
|
+
>
|
|
159
|
+
<h2
|
|
160
|
+
className={
|
|
161
|
+
'whitespace-pre-wrap text-[36px] font-[800] leading-[1.3] ' +
|
|
162
|
+
'max-5xl:text-[34px] ' +
|
|
163
|
+
'max-3xl:text-[32px] ' +
|
|
164
|
+
'max-xl:text-[24px] ' +
|
|
165
|
+
'max-md:text-right '
|
|
166
|
+
}
|
|
167
|
+
dangerouslySetInnerHTML={{
|
|
168
|
+
__html: replaceInitialData(
|
|
169
|
+
item.title.replace(
|
|
170
|
+
'(*consult_date*)',
|
|
171
|
+
`<span class='text-[20px] font-medium'>(*consult_date*)</span>`
|
|
172
|
+
),
|
|
173
|
+
initialData
|
|
174
|
+
)
|
|
175
|
+
}}
|
|
176
|
+
></h2>
|
|
177
|
+
|
|
178
|
+
<p
|
|
179
|
+
className={
|
|
180
|
+
'relative z-10 text-[24px] font-[400] leading-[1.4] ' +
|
|
181
|
+
'max-5xl:text-[22px] ' +
|
|
182
|
+
'max-3xl:text-[20px] ' +
|
|
183
|
+
'max-xl:text-[16px]'
|
|
184
|
+
}
|
|
185
|
+
>
|
|
186
|
+
<span
|
|
187
|
+
className={'relative z-20 whitespace-pre-wrap'}
|
|
188
|
+
dangerouslySetInnerHTML={{ __html: replaceInitialData(item.desc, initialData) }}
|
|
189
|
+
></span>
|
|
190
|
+
{/*회색 숫자 768부터 노출*/}
|
|
191
|
+
<ItemNumber
|
|
192
|
+
index={index}
|
|
193
|
+
className={
|
|
194
|
+
'right-0 top-[-115px] max-md:top-[-169px] max-sm:top-[-161px] md:hidden '
|
|
195
|
+
}
|
|
196
|
+
/>
|
|
197
|
+
</p>
|
|
198
|
+
|
|
199
|
+
<div
|
|
200
|
+
className={
|
|
201
|
+
'relative flex flex-col gap-10 border-t border-solid border-[#F6F6F6] pt-10 ' +
|
|
202
|
+
'max-xl:gap-5 max-xl:pt-5 ' +
|
|
203
|
+
'max-md:gap-[30px] max-md:pt-[30px]'
|
|
204
|
+
}
|
|
205
|
+
>
|
|
206
|
+
{/*회색 숫자 768이상 노출*/}
|
|
207
|
+
<ItemNumber
|
|
208
|
+
index={index}
|
|
209
|
+
className={
|
|
210
|
+
'right-0 top-[-191px] max-3xl:top-[-146px] max-xl:top-[-127px] max-md:hidden'
|
|
211
|
+
}
|
|
212
|
+
/>
|
|
213
|
+
|
|
214
|
+
{item.list?.map((li, li_index) => {
|
|
215
|
+
return (
|
|
216
|
+
<li
|
|
217
|
+
className={'flex gap-5 max-[850px]:flex-col max-[850px]:gap-[6px]'}
|
|
218
|
+
key={li_index}
|
|
219
|
+
>
|
|
220
|
+
<span className={'flex gap-[10px] max-sm:gap-2'}>
|
|
221
|
+
<span
|
|
222
|
+
className={
|
|
223
|
+
'mt-[5px] block h-6 w-6 shrink-0 rounded-full bg-[#0A422C] ' +
|
|
224
|
+
'max-3xl:h-5 max-3xl:w-5 ' +
|
|
225
|
+
'max-xl:h-4 max-xl:w-4 ' +
|
|
226
|
+
'max-sm:mt-[6px]'
|
|
227
|
+
}
|
|
228
|
+
/>
|
|
229
|
+
|
|
230
|
+
<p
|
|
231
|
+
className={
|
|
232
|
+
'w-[366px] text-[24px] font-[700] leading-[1.4] text-[#0A422C] ' +
|
|
233
|
+
'max-5xl:w-[310px] max-5xl:text-[22px] ' +
|
|
234
|
+
'max-3xl:text-[20px] ' +
|
|
235
|
+
(index === 0 ? 'max-xl:w-[194px] ' : 'max-xl:w-[150px] ') +
|
|
236
|
+
' max-xl:text-[16px] ' +
|
|
237
|
+
'max-[850px]:w-fit ' +
|
|
238
|
+
'max-[850px]:text-[20px]'
|
|
239
|
+
}
|
|
240
|
+
dangerouslySetInnerHTML={{
|
|
241
|
+
__html: replaceInitialData(li.title, initialData)
|
|
242
|
+
}}
|
|
243
|
+
/>
|
|
244
|
+
</span>
|
|
245
|
+
|
|
246
|
+
<p
|
|
247
|
+
className={
|
|
248
|
+
'text-[20px] leading-[1.4] max-3xl:text-[18px] max-xl:text-[16px] max-[850px]:pl-[26px] '
|
|
249
|
+
}
|
|
250
|
+
dangerouslySetInnerHTML={{ __html: li.desc }}
|
|
251
|
+
></p>
|
|
252
|
+
</li>
|
|
253
|
+
);
|
|
254
|
+
})}
|
|
255
|
+
</div>
|
|
256
|
+
</div>
|
|
257
|
+
</div>
|
|
258
|
+
</div>
|
|
259
|
+
</div>
|
|
260
|
+
</div>
|
|
261
|
+
);
|
|
262
|
+
};
|
|
263
|
+
|
|
264
|
+
const LeftTextItem = ({
|
|
265
|
+
item,
|
|
266
|
+
index,
|
|
267
|
+
initialData
|
|
268
|
+
}: {
|
|
269
|
+
item: {
|
|
270
|
+
title: string;
|
|
271
|
+
desc: string;
|
|
272
|
+
list: {
|
|
273
|
+
title: string;
|
|
274
|
+
desc: string;
|
|
275
|
+
}[];
|
|
276
|
+
};
|
|
277
|
+
index: number;
|
|
278
|
+
initialData: IInitialDataTypes;
|
|
279
|
+
}) => {
|
|
280
|
+
const imagePath: string = process.env.NEXT_PUBLIC_S3_URL + '';
|
|
281
|
+
const { width } = useBrowser(true);
|
|
282
|
+
const [padding, setPadding] = useState<number>(0);
|
|
283
|
+
|
|
284
|
+
const handleSetPadding = () => {
|
|
285
|
+
if (typeof window != 'undefined') {
|
|
286
|
+
const widthBrowser = width != 0 ? width : window.innerWidth;
|
|
287
|
+
|
|
288
|
+
if (widthBrowser > 2119) {
|
|
289
|
+
setPadding((widthBrowser - 1920 + 80) / 2);
|
|
290
|
+
} else if (widthBrowser < 2120 && widthBrowser > 1919) {
|
|
291
|
+
setPadding((widthBrowser - 1920 + 280) / 2);
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
};
|
|
295
|
+
|
|
296
|
+
useEffect(() => {
|
|
297
|
+
handleSetPadding();
|
|
298
|
+
}, [width]);
|
|
299
|
+
|
|
300
|
+
return (
|
|
301
|
+
<div
|
|
302
|
+
className={
|
|
303
|
+
'mt-[-100px] w-full pr-[calc((100%-1920px+80px)/2)] ' +
|
|
304
|
+
'max-[2120px]:pr-[calc((100%-1920px+280px)/2)] ' +
|
|
305
|
+
'max-full:pr-[140px] ' +
|
|
306
|
+
'max-3xl:mt-[-80px] max-3xl:pr-20 ' +
|
|
307
|
+
'max-xl:mt-[-50px] ' +
|
|
308
|
+
'max-lg:pr-[60px] ' +
|
|
309
|
+
'max-sm:mt-[-20px] max-sm:pr-5'
|
|
310
|
+
}
|
|
311
|
+
>
|
|
312
|
+
<div className={'relative h-full w-full '}>
|
|
313
|
+
{/*원*/}
|
|
314
|
+
<div
|
|
315
|
+
className={
|
|
316
|
+
'absolute right-0 top-0 h-[400px] w-[400px] overflow-hidden rounded-full border border-solid border-[#0A422C] ' +
|
|
317
|
+
'max-3xl:h-[300px] max-3xl:w-[300px] ' +
|
|
318
|
+
'max-xl:h-[200px] max-xl:w-[200px] ' +
|
|
319
|
+
'max-sm:h-[180px] max-sm:w-[180px]'
|
|
320
|
+
}
|
|
321
|
+
>
|
|
322
|
+
{/*이미지*/}
|
|
323
|
+
<span
|
|
324
|
+
className={
|
|
325
|
+
'absolute bottom-0 left-0 block h-[299px] w-[279px] overflow-hidden ' +
|
|
326
|
+
'max-3xl:h-[219px] max-3xl:w-[199px] max-3xl:rounded-tr-[100px] ' +
|
|
327
|
+
'max-xl:h-[149px] max-xl:w-[139px] max-xl:rounded-tr-[50px] ' +
|
|
328
|
+
'max-sm:h-[159px] max-sm:w-[159px] max-sm:rounded-tr-[100px]'
|
|
329
|
+
}
|
|
330
|
+
>
|
|
331
|
+
<Image
|
|
332
|
+
src={imagePath + `/strength_new/customer_${index + 1}.webp`}
|
|
333
|
+
alt={'강점'}
|
|
334
|
+
fill
|
|
335
|
+
sizes="(max-width: 640px) 160px, (max-width: 1280px) 139px, 279px"
|
|
336
|
+
className={'object-contain object-left max-3xl:scale-110 max-lg:hidden'}
|
|
337
|
+
quality={100}
|
|
338
|
+
/>
|
|
339
|
+
<Image
|
|
340
|
+
src={imagePath + `/strength_new/customer_tab_${index + 1}.webp`}
|
|
341
|
+
alt={'강점'}
|
|
342
|
+
fill
|
|
343
|
+
sizes="(max-width: 640px) 160px, (max-width: 1280px) 139px, 279px"
|
|
344
|
+
className={'object-contain object-left max-sm:hidden lg:hidden'}
|
|
345
|
+
quality={100}
|
|
346
|
+
/>
|
|
347
|
+
<Image
|
|
348
|
+
src={imagePath + `/strength_new/customer_mo_${index + 1}.webp`}
|
|
349
|
+
alt={'강점'}
|
|
350
|
+
fill
|
|
351
|
+
sizes="(max-width: 640px) 160px, (max-width: 1280px) 139px, 279px"
|
|
352
|
+
className={'object-contain object-left sm:hidden'}
|
|
353
|
+
quality={100}
|
|
354
|
+
/>
|
|
355
|
+
</span>
|
|
356
|
+
</div>
|
|
357
|
+
|
|
358
|
+
{/*내용*/}
|
|
359
|
+
<div
|
|
360
|
+
className={
|
|
361
|
+
'relative w-full pr-[120px] pt-[100px] ' +
|
|
362
|
+
'max-3xl:pr-[100px] max-3xl:pt-20 ' +
|
|
363
|
+
'max-xl:pr-[60px] max-xl:pt-[50px] ' +
|
|
364
|
+
'max-sm:pr-5 max-sm:pt-5'
|
|
365
|
+
}
|
|
366
|
+
>
|
|
367
|
+
{/*보더*/}
|
|
368
|
+
<div
|
|
369
|
+
style={width > 1919 ? { paddingLeft: padding } : {}}
|
|
370
|
+
className={
|
|
371
|
+
'relative w-full rounded-tr-[100px] border-r border-t border-solid border-r-[#0A422C] border-t-[#0A422C] pb-[100px] pr-[280px] ' +
|
|
372
|
+
'max-full:pl-[140px] ' +
|
|
373
|
+
'max-3xl:pl-20 max-3xl:pr-[200px] ' +
|
|
374
|
+
'max-xl:rounded-tr-[50px] max-xl:pb-[50px] max-xl:pr-[140px] ' +
|
|
375
|
+
'max-lg:pl-[60px] ' +
|
|
376
|
+
'max-md:pr-10 max-md:pt-[140px] ' +
|
|
377
|
+
'max-sm:rounded-tr-[100px] max-sm:pb-5 max-sm:pl-5 max-sm:pr-0 max-sm:pt-[160px]'
|
|
378
|
+
}
|
|
379
|
+
>
|
|
380
|
+
{/*글자내용*/}
|
|
381
|
+
<div
|
|
382
|
+
className={
|
|
383
|
+
'relative flex min-h-[360px] w-full flex-col gap-10 px-[120px] pb-[60px] pt-[60px] ' +
|
|
384
|
+
'max-5xl:pr-[100px] ' +
|
|
385
|
+
'max-3xl:pl-[100px] ' +
|
|
386
|
+
'max-xl:min-h-[228px] max-xl:gap-5 max-xl:p-10 max-xl:pl-[60px] ' +
|
|
387
|
+
'max-md:gap-[30px] ' +
|
|
388
|
+
'max-sm:p-5 max-sm:pb-10 '
|
|
389
|
+
}
|
|
390
|
+
>
|
|
391
|
+
<h2
|
|
392
|
+
className={
|
|
393
|
+
'whitespace-pre-wrap text-[36px] font-[800] leading-[1.3] ' +
|
|
394
|
+
'max-5xl:text-[34px] ' +
|
|
395
|
+
'max-3xl:text-[32px] ' +
|
|
396
|
+
'max-xl:text-[24px] '
|
|
397
|
+
}
|
|
398
|
+
dangerouslySetInnerHTML={{
|
|
399
|
+
__html: replaceInitialData(
|
|
400
|
+
item.title.replace(
|
|
401
|
+
'*consult_date*',
|
|
402
|
+
`<span class='text-[20px]'>*consult_date*</span>`
|
|
403
|
+
),
|
|
404
|
+
initialData
|
|
405
|
+
)
|
|
406
|
+
}}
|
|
407
|
+
></h2>
|
|
408
|
+
<p
|
|
409
|
+
className={
|
|
410
|
+
'relative z-10 whitespace-pre-wrap text-[24px] font-[400] leading-[1.4] ' +
|
|
411
|
+
'max-5xl:text-[22px] ' +
|
|
412
|
+
'max-3xl:text-[20px] ' +
|
|
413
|
+
'max-xl:text-[16px]'
|
|
414
|
+
}
|
|
415
|
+
dangerouslySetInnerHTML={{ __html: replaceInitialData(item.desc, initialData) }}
|
|
416
|
+
></p>
|
|
417
|
+
{/*회색 숫자 768부터 노출*/}
|
|
418
|
+
<ItemNumber
|
|
419
|
+
index={index}
|
|
420
|
+
className={
|
|
421
|
+
'max-md:left-[60px] max-md:top-[-70px] max-sm:left-5 max-sm:top-[-80px] md:hidden'
|
|
422
|
+
}
|
|
423
|
+
/>
|
|
424
|
+
|
|
425
|
+
<div
|
|
426
|
+
className={
|
|
427
|
+
'relative flex flex-col gap-10 border-t border-solid border-[#F6F6F6] pt-10 ' +
|
|
428
|
+
'max-xl:gap-5 max-xl:pt-5 ' +
|
|
429
|
+
'max-md:gap-[30px] max-md:pt-[30px]'
|
|
430
|
+
}
|
|
431
|
+
>
|
|
432
|
+
<ItemNumber
|
|
433
|
+
index={index}
|
|
434
|
+
className={
|
|
435
|
+
'right-0 top-[-191px] max-3xl:top-[-146px] max-xl:top-[-127px] max-md:hidden'
|
|
436
|
+
}
|
|
437
|
+
/>
|
|
438
|
+
{/*회색 숫자 768이상 노출*/}
|
|
439
|
+
|
|
440
|
+
{item.list?.map((li, li_index) => {
|
|
441
|
+
return (
|
|
442
|
+
<li
|
|
443
|
+
className={'flex gap-5 max-[850px]:flex-col max-[850px]:gap-[6px]'}
|
|
444
|
+
key={li_index}
|
|
445
|
+
>
|
|
446
|
+
<span className={'flex gap-[10px] max-sm:gap-2'}>
|
|
447
|
+
<span
|
|
448
|
+
className={
|
|
449
|
+
'mt-[5px] block h-6 w-6 shrink-0 rounded-full bg-[#0A422C] ' +
|
|
450
|
+
'max-3xl:h-5 max-3xl:w-5 ' +
|
|
451
|
+
'max-xl:h-4 max-xl:w-4 ' +
|
|
452
|
+
'max-sm:mt-[6px]'
|
|
453
|
+
}
|
|
454
|
+
/>
|
|
455
|
+
<span
|
|
456
|
+
className={
|
|
457
|
+
'w-[366px] text-[24px] font-[700] leading-[1.4] text-[#0A422C] ' +
|
|
458
|
+
'max-5xl:w-[310px] max-5xl:text-[22px] ' +
|
|
459
|
+
'max-3xl:text-[20px] ' +
|
|
460
|
+
'max-xl:w-[124px] max-xl:text-[16px] ' +
|
|
461
|
+
'max-[850px]:w-fit ' +
|
|
462
|
+
'max-[850px]:text-[20px]'
|
|
463
|
+
}
|
|
464
|
+
dangerouslySetInnerHTML={{
|
|
465
|
+
__html: li.title.replace(
|
|
466
|
+
'(2025년 7월 기준)',
|
|
467
|
+
`<span class='text-[16px] text-black font-[400] block max-xl:text-[12px]'>(2025년 7월 기준)</span>`
|
|
468
|
+
)
|
|
469
|
+
}}
|
|
470
|
+
/>
|
|
471
|
+
</span>
|
|
472
|
+
|
|
473
|
+
<span
|
|
474
|
+
className={
|
|
475
|
+
'text-[20px] leading-[1.4] max-3xl:text-[18px] max-xl:text-[16px] max-[850px]:pl-[26px]'
|
|
476
|
+
}
|
|
477
|
+
dangerouslySetInnerHTML={{ __html: li.desc }}
|
|
478
|
+
></span>
|
|
479
|
+
</li>
|
|
480
|
+
);
|
|
481
|
+
})}
|
|
482
|
+
</div>
|
|
483
|
+
</div>
|
|
484
|
+
</div>
|
|
485
|
+
</div>
|
|
486
|
+
</div>
|
|
487
|
+
</div>
|
|
488
|
+
);
|
|
489
|
+
};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import Image from 'next/image';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Logo from '../../../../../asset/images/strength_new/logo.svg';
|
|
4
|
+
import { useRouter } from 'next/navigation';
|
|
5
|
+
import Wrapper from '../../../../Layout/Wrapper';
|
|
6
|
+
const DaeryunSection = ({ main_list, main_title }) => {
|
|
7
|
+
const imagePath = process.env.NEXT_PUBLIC_S3_URL + '';
|
|
8
|
+
const router = useRouter();
|
|
9
|
+
const Circle = ({ className, text, engText }) => {
|
|
10
|
+
return (<div className={'h-[200px] w-[200px] rounded-full bg-white ' +
|
|
11
|
+
'max-3xl:h-[160px] max-3xl:w-[160px] ' +
|
|
12
|
+
'max-xl:h-[126px] max-xl:w-[126px] ' +
|
|
13
|
+
'max-sm:h-[88px] max-sm:w-[88px] ' +
|
|
14
|
+
className}>
|
|
15
|
+
<span className={'absolute left-1/2 top-1/2 flex h-[184px] w-[184px] -translate-x-1/2 -translate-y-1/2 flex-col items-center justify-center gap-2 rounded-full border border-solid border-[#0A422C] ' +
|
|
16
|
+
'max-3xl:h-[150px] max-3xl:w-[150px] ' +
|
|
17
|
+
'max-xl:h-[116px] max-xl:w-[116px] ' +
|
|
18
|
+
'max-sm:h-[81px] max-sm:w-[81px] max-sm:gap-1'}>
|
|
19
|
+
<span className={'pt-[10px] text-[24px] font-[700] leading-none tracking-[0px] text-[#0A422C] max-3xl:text-[18px] max-xl:text-[14px] max-sm:pt-1 max-sm:text-[10px]'}>
|
|
20
|
+
{engText.toUpperCase()}
|
|
21
|
+
</span>
|
|
22
|
+
|
|
23
|
+
<span className={'text-[20px] leading-none tracking-[0px] text-black max-3xl:text-[18px] max-xl:text-[16px] max-sm:text-[14px]'}>
|
|
24
|
+
{text}
|
|
25
|
+
</span>
|
|
26
|
+
</span>
|
|
27
|
+
</div>);
|
|
28
|
+
};
|
|
29
|
+
return (<section className={'overflow-hidden py-[100px] tracking-[-0.04em] max-xl:py-20 max-sm:py-10'}>
|
|
30
|
+
<Wrapper className={'relative w-full overflow-hidden max-md:!px-0'}>
|
|
31
|
+
<div className={'relative flex h-[700px] w-full justify-center pt-[60px] ' +
|
|
32
|
+
'max-3xl:h-[565px] max-3xl:pt-[50px] ' +
|
|
33
|
+
'max-xl:h-[440px] max-xl:pt-10 ' +
|
|
34
|
+
'max-sm:h-[320px] max-sm:pt-[28px] '}>
|
|
35
|
+
{/*배경*/}
|
|
36
|
+
<Image src={imagePath + `/strength_new/customer_bg_1.webp`} className={'object-cover max-xl:hidden'} alt={'강점'} fill quality={100}/>
|
|
37
|
+
<Image src={imagePath + `/strength_new/customer_bg_1_tab.webp`} className={'object-cover xl:hidden'} alt={'강점'} fill quality={100}/>
|
|
38
|
+
{/*중앙 흰색 원*/}
|
|
39
|
+
<div className={'relative flex h-[500px] w-[500px] items-center justify-center rounded-full bg-white bg-opacity-60 ' +
|
|
40
|
+
'max-3xl:h-[400px] max-3xl:w-[400px] ' +
|
|
41
|
+
'max-xl:h-[320px] max-xl:w-[320px] ' +
|
|
42
|
+
'max-sm:h-[224px] max-sm:w-[224px]'}>
|
|
43
|
+
{/*3개 흰색 원*/}
|
|
44
|
+
<div className={'absolute left-1/2 top-[25px] h-[575px] w-[634px] -translate-x-1/2 ' +
|
|
45
|
+
'max-3xl:h-[450px] max-3xl:w-[500px] ' +
|
|
46
|
+
'max-xl:top-5 max-xl:h-[362px] max-xl:w-[400px] ' +
|
|
47
|
+
'max-sm:top-4 max-sm:h-[253px] max-sm:w-[280px]'}>
|
|
48
|
+
<Circle className={'absolute'} text={main_list[0].text} engText={main_list[0].engText}/>
|
|
49
|
+
<Circle className={'absolute bottom-0 left-1/2 -translate-x-1/2'} text={main_list[1].text} engText={main_list[1].engText}/>
|
|
50
|
+
<Circle className={'absolute right-0'} text={main_list[2].text} engText={main_list[2].engText}/>
|
|
51
|
+
</div>
|
|
52
|
+
|
|
53
|
+
{/*초록색 선*/}
|
|
54
|
+
<div className={'absolute left-1/2 top-5 h-[430px] w-[460px] -translate-x-1/2 ' +
|
|
55
|
+
'max-3xl:top-0 max-3xl:h-[400px] max-3xl:w-[400px] ' +
|
|
56
|
+
'max-xl:h-[320px] max-xl:w-[320px] ' +
|
|
57
|
+
'max-sm:h-[224px] max-sm:w-[224px]'}>
|
|
58
|
+
<Image src={imagePath + `/strength_new/arrow_circle.webp`} className={'object-contain max-3xl:hidden'} alt={'강점'} fill sizes={'(max-width: 640px) 224px, (max-width: 1280px) 320px, (max-width: 1500px) 400px, 460px'} quality={100}/>
|
|
59
|
+
<Image src={imagePath + `/strength_new/arrow_circle_tab.webp`} className={'object-contain 3xl:hidden'} alt={'강점'} fill sizes={'(max-width: 640px) 224px, (max-width: 1280px) 320px, (max-width: 1500px) 400px, 460px'} quality={100}/>
|
|
60
|
+
</div>
|
|
61
|
+
|
|
62
|
+
{/*글자 & 로고*/}
|
|
63
|
+
<div className={'flex flex-col'}>
|
|
64
|
+
<span className={'border-b border-solid border-black pb-6 text-center text-[24px] leading-none max-3xl:pb-5 max-3xl:text-[20px] max-xl:pb-[10px] max-xl:text-[16px] max-sm:pb-2 max-sm:text-[14px]'} dangerouslySetInnerHTML={{ __html: main_title }}></span>
|
|
65
|
+
<span className={'relative mt-5 block h-12 w-[311px] ' +
|
|
66
|
+
'max-3xl:h-[40px] max-3xl:w-[250px] ' +
|
|
67
|
+
'max-xl:mt-[10px] max-xl:h-[27px] max-xl:w-[180px] ' +
|
|
68
|
+
'max-sm:mt-2 max-sm:h-[21px] max-sm:w-[140px]'}>
|
|
69
|
+
<Logo />
|
|
70
|
+
</span>
|
|
71
|
+
</div>
|
|
72
|
+
</div>
|
|
73
|
+
{/*대륜마크*/}
|
|
74
|
+
<div className={'absolute bottom-[-35px] right-[-100px] h-[282px] w-[444px] ' +
|
|
75
|
+
'max-3xl:bottom-[-25px] max-3xl:right-[-70px] max-3xl:h-[220px] max-3xl:w-[350px] ' +
|
|
76
|
+
'max-xl:bottom-[-11px] max-xl:right-[-52px] max-xl:h-[150px] max-xl:w-[236px] ' +
|
|
77
|
+
'max-sm:bottom-[0px] max-sm:right-[0px] max-sm:h-[100px] max-sm:w-[158px] '}>
|
|
78
|
+
<Image src={imagePath + `/strength_new/mark.webp`} className={'object-contain max-sm:hidden'} alt={'강점'} fill sizes={'(max-width: 640px) 158px, (max-width: 1280px) 236px, (max-width: 1500px) 350px, 444px'} quality={100}/>
|
|
79
|
+
<Image src={imagePath + `/strength_new/mark_mo.webp`} className={'object-contain object-right sm:hidden'} alt={'강점'} fill sizes={'(max-width: 640px) 158px, (max-width: 1280px) 236px, (max-width: 1500px) 350px, 444px'} quality={100}/>
|
|
80
|
+
</div>
|
|
81
|
+
</div>
|
|
82
|
+
</Wrapper>
|
|
83
|
+
</section>);
|
|
84
|
+
};
|
|
85
|
+
export default DaeryunSection;
|