@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
@@ -0,0 +1,522 @@
1
+ import Image from 'next/image';
2
+ import React, { useEffect, useState } from 'react';
3
+ import Link from 'next/link';
4
+ import { useRouter } from 'next/navigation';
5
+ import ItemNumber from '../common/ItemNumber';
6
+ import { IInitialDataTypes } from '../../../../common';
7
+ import useBrowser from '../../../../hook/useBrowser';
8
+ import { replaceInitialData } from '../../../../../lib';
9
+ const InfraSection = ({
10
+ infra_list,
11
+ initialData
12
+ }: {
13
+ infra_list: {
14
+ title: string;
15
+ desc: string;
16
+ list: string[];
17
+ img: string;
18
+ view_more_list: {
19
+ label: string;
20
+ url: string;
21
+ }[];
22
+ }[];
23
+ initialData: IInitialDataTypes;
24
+ }) => {
25
+ return (
26
+ <section
27
+ className={
28
+ 'w-full border-b border-solid border-[#5368C4] pt-[100px] tracking-[-0.04em] max-xl:pt-20 max-sm:pt-10 '
29
+ }
30
+ >
31
+ {infra_list.map((item, index) => {
32
+ const Component = index % 2 === 0 ? RightTextItem : LeftTextItem;
33
+ return <Component item={item} key={index} index={index} initialData={initialData} />;
34
+ })}
35
+ </section>
36
+ );
37
+ };
38
+ export default InfraSection;
39
+
40
+ const ViewMoreBtn = ({ label, url }: { label: string; url: string }) => {
41
+ const imagePath: string = process.env.NEXT_PUBLIC_S3_URL + '';
42
+ const router = useRouter();
43
+ return (
44
+ <Link
45
+ href={url}
46
+ target={'_blank'}
47
+ className={
48
+ 'group flex h-[66px] w-[240px] items-center justify-center gap-[10px] rounded-[10px] border border-solid border-[#5368C4] bg-white text-[24px] font-[800] leading-none text-[#5368C4] ' +
49
+ 'lg:transition-[background-color,color] lg:duration-500 lg:hover:bg-[#5368C4] lg:hover:text-white ' +
50
+ 'max-5xl:text-[22px] ' +
51
+ 'max-xl:h-10 max-xl:w-[140px] max-xl:gap-[14px] max-xl:rounded-[5px] max-xl:text-[16px] ' +
52
+ 'max-md:gap-2 ' +
53
+ 'max-xs:h-11 max-xs:w-full max-xs:justify-between max-xs:px-5'
54
+ }
55
+ >
56
+ {label}
57
+
58
+ <span
59
+ className={
60
+ 'relative flex h-6 w-6 items-center justify-center rounded-full border border-solid border-[#5368C4] bg-[#5368C4] ' +
61
+ 'lg:transition-[border-color] lg:duration-500 lg:group-hover:border-white ' +
62
+ 'max-xl:h-5 max-xl:w-5 '
63
+ }
64
+ >
65
+ <Image
66
+ src={imagePath + `/strength_new/infra_arrow.webp`}
67
+ alt={'강점'}
68
+ width={14}
69
+ height={12}
70
+ className={'h-auto w-[12px] max-xl:w-[10px]'}
71
+ quality={100}
72
+ />
73
+ </span>
74
+ </Link>
75
+ );
76
+ };
77
+
78
+ const RightTextItem = ({
79
+ item,
80
+ index,
81
+ initialData
82
+ }: {
83
+ item: {
84
+ title: string;
85
+ desc: string;
86
+ list: string[];
87
+ img: string;
88
+ view_more_list: {
89
+ label: string;
90
+ url: string;
91
+ }[];
92
+ };
93
+ index: number;
94
+ initialData: IInitialDataTypes;
95
+ }) => {
96
+ const imagePath: string = process.env.NEXT_PUBLIC_S3_URL + '';
97
+ const { width } = useBrowser(true);
98
+ const [padding, setPadding] = useState<number>(0);
99
+ const router = useRouter();
100
+
101
+ const handleSetPadding = () => {
102
+ if (typeof window != 'undefined') {
103
+ const widthBrowser = width != 0 ? width : window.innerWidth;
104
+
105
+ if (widthBrowser > 2119) {
106
+ setPadding((widthBrowser - 1920 + 80) / 2);
107
+ } else if (widthBrowser < 2120 && widthBrowser > 1919) {
108
+ setPadding((widthBrowser - 1920 + 280) / 2);
109
+ }
110
+ }
111
+ };
112
+
113
+ useEffect(() => {
114
+ handleSetPadding();
115
+ }, [width]);
116
+
117
+ return (
118
+ <div
119
+ className={
120
+ 'w-full pl-[calc((100%-1920px+80px)/2)] ' +
121
+ 'max-[2120px]:pl-[calc((100%-1920px+280px)/2)] ' +
122
+ 'max-full:pl-[140px] ' +
123
+ 'max-3xl:pl-20 ' +
124
+ 'max-lg:pl-[60px] ' +
125
+ 'max-sm:pl-5 ' +
126
+ (index != 0 ? 'mt-[-100px] max-3xl:mt-[-80px] max-xl:mt-[-50px] max-sm:mt-[-20px]' : '')
127
+ }
128
+ >
129
+ <div className={'relative h-full w-full '}>
130
+ {/*원*/}
131
+ <div
132
+ className={
133
+ 'absolute left-0 top-0 h-[400px] w-[400px] overflow-hidden rounded-full border border-solid border-[#5368C4] ' +
134
+ 'max-3xl:h-[300px] max-3xl:w-[300px] ' +
135
+ 'max-xl:h-[200px] max-xl:w-[200px] ' +
136
+ 'max-sm:h-[180px] max-sm:w-[180px]'
137
+ }
138
+ >
139
+ {/*이미지*/}
140
+ <span
141
+ className={
142
+ 'absolute bottom-0 right-0 block h-[299px] w-[279px] overflow-hidden ' +
143
+ 'max-3xl:h-[219px] max-3xl:w-[199px] max-3xl:rounded-tl-[100px] ' +
144
+ 'max-xl:h-[149px] max-xl:w-[139px] max-xl:rounded-tl-[50px] ' +
145
+ 'max-sm:h-[159px] max-sm:w-[159px] max-sm:rounded-tl-[100px]'
146
+ }
147
+ >
148
+ <Image
149
+ src={imagePath + `/strength_new/infra_${item.img}.webp`}
150
+ alt={'강점'}
151
+ fill
152
+ sizes="(max-width: 640px) 160px, (max-width: 1280px) 139px, 279px"
153
+ className={'object-contain object-left max-3xl:scale-110 max-lg:hidden'}
154
+ quality={100}
155
+ />
156
+ <Image
157
+ src={imagePath + `/strength_new/infra_tab_${item.img}.webp`}
158
+ alt={'강점'}
159
+ fill
160
+ sizes="(max-width: 640px) 160px, (max-width: 1280px) 139px, 279px"
161
+ className={'object-contain object-left max-sm:hidden lg:hidden'}
162
+ quality={100}
163
+ />
164
+ <Image
165
+ src={imagePath + `/strength_new/infra_mo_${item.img}.webp`}
166
+ alt={'강점'}
167
+ fill
168
+ sizes="(max-width: 640px) 160px, (max-width: 1280px) 139px, 279px"
169
+ className={'object-contain object-left sm:hidden'}
170
+ quality={100}
171
+ />
172
+ </span>
173
+ </div>
174
+
175
+ {/*내용 박스 > 원 위에*/}
176
+ <div
177
+ className={
178
+ 'relative w-full pl-[120px] pt-[100px] ' +
179
+ 'max-3xl:pl-[100px] max-3xl:pt-20 ' +
180
+ 'max-xl:pl-[60px] max-xl:pt-[50px] ' +
181
+ 'max-sm:pl-5 max-sm:pt-5'
182
+ }
183
+ >
184
+ {/*보더*/}
185
+ <div
186
+ className={
187
+ 'relative w-full rounded-tl-[100px] border-l border-t border-solid border-l-[#5368C4] border-t-[#5368C4] pb-[60px] pl-[280px] ' +
188
+ 'max-3xl:pb-[80px] max-3xl:pl-[200px] ' +
189
+ 'max-xl:rounded-tl-[50px] max-xl:pb-[50px] max-xl:pl-[140px] ' +
190
+ 'max-md:pl-10 max-md:pt-[140px] ' +
191
+ (index != 0 ? 'max-sm:pb-0 ' : 'max-sm:pb-5 ') +
192
+ 'max-sm:rounded-tl-[100px] max-sm:pl-5 max-sm:pt-[160px] '
193
+ }
194
+ >
195
+ {/*글자 내용*/}
196
+ <div
197
+ style={width > 1919 ? { paddingRight: padding + 120 } : {}}
198
+ className={
199
+ 'relative flex min-h-[360px] w-full flex-col gap-10 pb-[60px] pl-[120px] pt-[60px] max-full:pr-[260px] ' +
200
+ 'max-5xl:pl-[100px] ' +
201
+ 'max-3xl:pl-20 max-3xl:pr-[180px] ' +
202
+ 'max-xl:min-h-[228px] max-xl:gap-5 max-xl:p-10 max-xl:pr-[140px] ' +
203
+ 'max-lg:pr-[120px] ' +
204
+ 'max-md:gap-[30px] ' +
205
+ 'max-sm:pb-[60px] max-sm:pl-0 max-sm:pr-10 max-sm:pt-5 '
206
+ }
207
+ >
208
+ <h2
209
+ className={
210
+ 'whitespace-pre-wrap text-[36px] font-[800] leading-[1.3] ' +
211
+ 'max-5xl:text-[34px] ' +
212
+ 'max-3xl:text-[32px] ' +
213
+ 'max-xl:text-[24px] ' +
214
+ 'max-md:text-right '
215
+ }
216
+ dangerouslySetInnerHTML={{
217
+ __html: replaceInitialData(
218
+ item.title.replace(
219
+ '(*consult_date*)',
220
+ `<span class='text-[20px] font-medium'>(*consult_date*)</span>`
221
+ ),
222
+ initialData
223
+ )
224
+ }}
225
+ ></h2>
226
+ <p
227
+ className={
228
+ 'relative z-10 text-[24px] font-[400] leading-[1.4] ' +
229
+ 'max-5xl:text-[22px] ' +
230
+ 'max-3xl:text-[20px] ' +
231
+ 'max-xl:text-[16px]'
232
+ }
233
+ >
234
+ <span
235
+ className={'relative z-20 sm:whitespace-pre-wrap'}
236
+ dangerouslySetInnerHTML={{ __html: replaceInitialData(item.desc, initialData) }}
237
+ ></span>
238
+
239
+ <ItemNumber
240
+ index={index}
241
+ className={'right-0 max-md:top-[-160px] max-sm:top-[-150px] md:hidden'}
242
+ />
243
+ </p>
244
+
245
+ <div
246
+ className={
247
+ 'relative flex flex-col gap-[25px] border-y border-solid border-[#F6F6F6] py-10 ' +
248
+ 'max-xl:gap-[22px] max-xl:py-5 ' +
249
+ 'max-md:gap-[30px] max-md:py-[30px]'
250
+ }
251
+ >
252
+ <ItemNumber
253
+ index={index}
254
+ className={
255
+ 'right-0 top-[-227px] max-3xl:top-[-177px] max-xl:top-[-125px] max-md:hidden'
256
+ }
257
+ />
258
+
259
+ {item.list?.map((li, li_index) => {
260
+ return (
261
+ <li
262
+ className={
263
+ 'flex items-center gap-[10px] text-[24px] leading-[1.4] ' +
264
+ 'max-5xl:text-[22px] ' +
265
+ 'max-3xl:text-[20px] ' +
266
+ 'max-xl:items-start max-xl:text-[16px] max-xl:leading-none ' +
267
+ 'max-md2:items-start max-md2:leading-[1.2] ' +
268
+ 'max-md:gap-2'
269
+ }
270
+ key={li_index}
271
+ >
272
+ <span
273
+ className={
274
+ 'block h-6 w-6 shrink-0 rounded-full bg-[#5368C4] ' +
275
+ 'max-3xl:h-5 max-3xl:w-5 ' +
276
+ 'max-xl:h-4 max-xl:w-4 ' +
277
+ 'max-md2:mt-[2px]'
278
+ }
279
+ ></span>
280
+ <span
281
+ className={
282
+ 'tracking-[-0.96px] max-5xl:tracking-[-0.88px] max-3xl:tracking-[-0.8px] max-xl:tracking-[-0.64px] '
283
+ }
284
+ dangerouslySetInnerHTML={{ __html: li }}
285
+ ></span>
286
+ </li>
287
+ );
288
+ })}
289
+ </div>
290
+
291
+ <div className={'flex w-full gap-5 max-lg:gap-[10px] ' + 'max-xs:flex-col'}>
292
+ {item.view_more_list.map(li => {
293
+ return <ViewMoreBtn label={li.label} url={li.url} key={li.url} />;
294
+ })}
295
+ </div>
296
+ </div>
297
+ </div>
298
+ </div>
299
+ </div>
300
+ </div>
301
+ );
302
+ };
303
+
304
+ const LeftTextItem = ({
305
+ item,
306
+ index,
307
+ initialData
308
+ }: {
309
+ item: {
310
+ title: string;
311
+ desc: string;
312
+ list: string[];
313
+ img: string;
314
+ view_more_list: {
315
+ label: string;
316
+ url: string;
317
+ }[];
318
+ };
319
+ index: number;
320
+ initialData: IInitialDataTypes;
321
+ }) => {
322
+ const imagePath: string = process.env.NEXT_PUBLIC_S3_URL + '';
323
+ const { width } = useBrowser(true);
324
+ const [padding, setPadding] = useState<number>(0);
325
+ const router = useRouter();
326
+
327
+ const handleSetPadding = () => {
328
+ if (typeof window != 'undefined') {
329
+ const widthBrowser = width != 0 ? width : window.innerWidth;
330
+
331
+ if (widthBrowser > 2119) {
332
+ setPadding((widthBrowser - 1920 + 80) / 2);
333
+ } else if (widthBrowser < 2120 && widthBrowser > 1919) {
334
+ setPadding((widthBrowser - 1920 + 280) / 2);
335
+ }
336
+ }
337
+ };
338
+
339
+ useEffect(() => {
340
+ handleSetPadding();
341
+ }, [width]);
342
+
343
+ return (
344
+ <div
345
+ className={
346
+ 'mt-[-100px] w-full pr-[calc((100%-1920px+80px)/2)] ' +
347
+ 'max-[2120px]:pr-[calc((100%-1920px+280px)/2)] ' +
348
+ 'max-full:pr-[140px] ' +
349
+ 'max-3xl:mt-[-80px] max-3xl:pr-20 ' +
350
+ 'max-xl:mt-[-50px] ' +
351
+ 'max-lg:pr-[60px] ' +
352
+ 'max-sm:mt-[-20px] max-sm:pr-5'
353
+ }
354
+ >
355
+ <div className={'relative h-full w-full '}>
356
+ {/*원*/}
357
+ <div
358
+ className={
359
+ 'absolute right-0 top-0 h-[400px] w-[400px] overflow-hidden rounded-full border border-solid border-[#5368C4] ' +
360
+ 'max-3xl:h-[300px] max-3xl:w-[300px] ' +
361
+ 'max-xl:h-[200px] max-xl:w-[200px] ' +
362
+ 'max-sm:h-[180px] max-sm:w-[180px]'
363
+ }
364
+ >
365
+ {/*이미지*/}
366
+ <span
367
+ className={
368
+ 'absolute bottom-0 left-0 block h-[299px] w-[279px] overflow-hidden ' +
369
+ 'max-3xl:h-[219px] max-3xl:w-[199px] max-3xl:rounded-tr-[100px] ' +
370
+ 'max-xl:h-[149px] max-xl:w-[139px] max-xl:rounded-tr-[50px] ' +
371
+ 'max-sm:h-[159px] max-sm:w-[159px] max-sm:rounded-tr-[100px]'
372
+ }
373
+ >
374
+ <Image
375
+ src={imagePath + `/strength_new/infra_${item.img}.webp`}
376
+ alt={'강점'}
377
+ fill
378
+ sizes="(max-width: 640px) 160px, (max-width: 1280px) 139px, 279px"
379
+ className={'object-contain object-left max-3xl:scale-110 max-lg:hidden'}
380
+ quality={100}
381
+ />
382
+ <Image
383
+ src={imagePath + `/strength_new/infra_tab_${item.img}.webp`}
384
+ alt={'강점'}
385
+ fill
386
+ sizes="(max-width: 640px) 160px, (max-width: 1280px) 139px, 279px"
387
+ className={'object-contain object-left max-sm:hidden lg:hidden'}
388
+ quality={100}
389
+ />
390
+ <Image
391
+ src={imagePath + `/strength_new/infra_mo_${item.img}.webp`}
392
+ alt={'강점'}
393
+ fill
394
+ sizes="(max-width: 640px) 160px, (max-width: 1280px) 139px, 279px"
395
+ className={'object-contain object-left sm:hidden'}
396
+ quality={100}
397
+ />
398
+ </span>
399
+ </div>
400
+
401
+ {/*내용*/}
402
+ <div
403
+ className={
404
+ 'relative w-full pr-[120px] pt-[100px] ' +
405
+ 'max-3xl:pr-[100px] max-3xl:pt-20 ' +
406
+ 'max-xl:pr-[60px] max-xl:pt-[50px] ' +
407
+ 'max-sm:pr-5 max-sm:pt-5'
408
+ }
409
+ >
410
+ {/*보더*/}
411
+ <div
412
+ style={width > 1919 ? { paddingLeft: padding } : {}}
413
+ className={
414
+ 'relative w-full rounded-tr-[100px] border-r border-t border-solid border-r-[#5368C4] border-t-[#5368C4] pb-[100px] pr-[280px] ' +
415
+ 'max-full:pl-[140px] ' +
416
+ 'max-3xl:pl-20 max-3xl:pr-[200px] ' +
417
+ 'max-xl:rounded-tr-[50px] max-xl:pb-[50px] max-xl:pr-[140px] ' +
418
+ 'max-lg:pl-[60px] ' +
419
+ 'max-md:pr-10 max-md:pt-[140px] ' +
420
+ 'max-sm:rounded-tr-[100px] max-sm:!pl-5 max-sm:pb-5 max-sm:pr-0 max-sm:pt-[160px]'
421
+ }
422
+ >
423
+ {/*글자내용*/}
424
+ <div
425
+ className={
426
+ 'relative flex min-h-[360px] w-full flex-col gap-10 px-[120px] pb-[60px] pt-[60px] ' +
427
+ 'max-5xl:pr-[100px] ' +
428
+ 'max-3xl:pl-[100px] ' +
429
+ 'max-xl:min-h-[228px] max-xl:gap-5 max-xl:p-10 max-xl:pl-[60px] ' +
430
+ 'max-md:gap-[30px] ' +
431
+ 'max-sm:p-5 max-sm:pb-[60px] '
432
+ }
433
+ >
434
+ <h2
435
+ className={
436
+ 'whitespace-pre-wrap text-[36px] font-[800] leading-[1.3] ' +
437
+ 'max-5xl:text-[34px] ' +
438
+ 'max-3xl:text-[32px] ' +
439
+ 'max-xl:text-[24px] '
440
+ }
441
+ dangerouslySetInnerHTML={{
442
+ __html: replaceInitialData(
443
+ item.title.replace(
444
+ '*consult_date*',
445
+ `<span class='text-[20px]'>*consult_date*</span>`
446
+ ),
447
+ initialData
448
+ )
449
+ }}
450
+ ></h2>
451
+ <p
452
+ className={
453
+ 'relative z-20 text-[24px] font-[400] leading-[1.4] sm:whitespace-pre-wrap ' +
454
+ 'max-5xl:text-[22px] ' +
455
+ 'max-3xl:text-[20px] ' +
456
+ 'max-xl:text-[16px]'
457
+ }
458
+ dangerouslySetInnerHTML={{ __html: replaceInitialData(item.desc, initialData) }}
459
+ ></p>
460
+
461
+ <ItemNumber
462
+ index={index}
463
+ className={'max-md:left-[60px] max-md:top-[-60px] max-sm:left-5 md:hidden '}
464
+ />
465
+
466
+ <div
467
+ className={
468
+ 'relative flex flex-col gap-[25px] border-y border-solid border-[#F6F6F6] py-10 ' +
469
+ 'max-xl:gap-[22px] max-xl:py-5 ' +
470
+ 'max-md:gap-[30px] max-md:py-[30px]'
471
+ }
472
+ >
473
+ <ItemNumber
474
+ index={index}
475
+ className={
476
+ ' right-0 top-[-227px] max-3xl:top-[-177px] max-xl:top-[-125px] max-md:hidden '
477
+ }
478
+ />
479
+
480
+ {item.list?.map((li, li_index) => {
481
+ return (
482
+ <li
483
+ className={
484
+ 'flex items-center gap-[10px] text-[24px] leading-[1.4] ' +
485
+ 'max-5xl:text-[22px] ' +
486
+ 'max-3xl:text-[20px] ' +
487
+ 'max-xl:items-start max-xl:text-[16px] max-xl:leading-none ' +
488
+ 'max-md2:items-start max-md2:leading-[1.2]'
489
+ }
490
+ key={li_index}
491
+ >
492
+ <span
493
+ className={
494
+ 'block h-6 w-6 shrink-0 rounded-full bg-[#5368C4] ' +
495
+ 'max-3xl:h-5 max-3xl:w-5 ' +
496
+ 'max-xl:h-4 max-xl:w-4 ' +
497
+ 'max-md2:mt-[2px]'
498
+ }
499
+ ></span>
500
+ <span
501
+ className={
502
+ 'tracking-[-0.96px] max-5xl:tracking-[-0.88px] max-3xl:tracking-[-0.8px] max-xl:tracking-[-0.64px] '
503
+ }
504
+ dangerouslySetInnerHTML={{ __html: li }}
505
+ ></span>
506
+ </li>
507
+ );
508
+ })}
509
+ </div>
510
+
511
+ <div className={'flex w-full gap-5 max-lg:gap-[10px] ' + 'max-xs:flex-col'}>
512
+ {item.view_more_list.map(li => {
513
+ return <ViewMoreBtn label={li.label} url={li.url} key={li.url} />;
514
+ })}
515
+ </div>
516
+ </div>
517
+ </div>
518
+ </div>
519
+ </div>
520
+ </div>
521
+ );
522
+ };
@@ -4,17 +4,24 @@ import Link from 'next/link';
4
4
  import Wrapper from '../../../../Layout/Wrapper';
5
5
  const IntroSection = ({ data }) => {
6
6
  const imagePath = process.env.NEXT_PUBLIC_S3_URL + '';
7
- return (<section className={'relative w-full py-[100px] max-lg:py-20 max-xs:py-10'}>
7
+ return (<section className={'relative w-full pt-[100px] max-xl:pt-20 max-sm:pt-10'}>
8
8
  <Wrapper>
9
9
  <div className={'mx-auto flex max-w-[1400px] flex-col gap-10 text-[24px] font-[400] leading-[1.8] tracking-[-0.04em] ' +
10
10
  'max-3xl:text-[22px] ' +
11
- 'max-lg:text-[20px] ' +
12
- 'max-xs:text-[16px]'}>
13
- <p dangerouslySetInnerHTML={{ __html: data.p_1 }}/>
14
- <p dangerouslySetInnerHTML={{ __html: data.p_2 }}/>
11
+ 'max-xl:text-[20px] ' +
12
+ 'max-md:text-[18px] ' +
13
+ 'max-sm:gap-5 max-sm:text-[16px] max-sm:leading-[1.6]'}>
14
+ <div className={'flex flex-col gap-10 max-xl:gap-5'}>
15
+ <p dangerouslySetInnerHTML={{ __html: data.p_1 }}/>
16
+ <p dangerouslySetInnerHTML={{ __html: data.p_2 }}/>
17
+ </div>
15
18
 
16
- <div className={'relative flex w-full flex-col py-10 max-xs:pt-0'}>
17
- <div className={'flex w-[54.5%] flex-col gap-10 max-3xl:w-[60%] max-lg:w-[50.8%] max-xs:w-full max-xs:gap-5'}>
19
+ <div className={'relative flex w-full flex-col py-5 max-xl:py-0 max-xs:pt-0'}>
20
+ <div className={'flex w-[54.5%] flex-col gap-10 ' +
21
+ 'max-3xl:w-[60%] ' +
22
+ 'max-xl:w-[65.5%] max-xl:gap-5 ' +
23
+ 'max-[850px]:w-full ' +
24
+ 'max-sm:gap-5'}>
18
25
  <p dangerouslySetInnerHTML={{ __html: data.p_3 }}/>
19
26
  <p dangerouslySetInnerHTML={{ __html: data.p_4 }}/>
20
27
 
@@ -24,14 +31,15 @@ const IntroSection = ({ data }) => {
24
31
  </div>
25
32
 
26
33
  {/*오른쪽 이미지*/}
27
- <div className={'absolute right-0 top-0 z-[-1] h-full w-[840px] max-xs:hidden'}>
28
- <Image src={imagePath + '/strength_new/main_intro.webp'} alt={'강점'} fill className={'object-contain object-right'} quality={100}/>
34
+ <div className={'absolute right-0 top-0 z-[-1] h-full w-[840px] max-xl:w-[510px] max-[850px]:hidden'}>
35
+ <Image src={imagePath + '/strength_new/main_intro.webp'} alt={'강점'} fill sizes={'840px'} className={'object-contain object-right max-xl:hidden'} quality={100}/>
36
+ <Image src={imagePath + '/strength_new/main_intro_tab.webp'} alt={'강점'} fill sizes={'510px'} className={'object-cover object-right xl:hidden'} quality={100}/>
29
37
  </div>
30
38
  </div>
31
39
  </div>
32
40
  </Wrapper>
33
- <div className={'relative h-[200px] w-full xs:hidden'}>
34
- <Image src={imagePath + '/strength_new/main_intro_mo.webp'} alt={'강점'} fill className={'object-cover'} quality={100}/>
41
+ <div className={'relative hidden h-[364px] w-full max-[850px]:block max-sm:h-[200px]'}>
42
+ <Image src={imagePath + '/strength_new/main_intro_mo.webp'} alt={'강점'} fill className={'object-cover object-top'} quality={100}/>
35
43
  </div>
36
44
  </section>);
37
45
  };
@@ -7,23 +7,30 @@ import Wrapper from '../../../../Layout/Wrapper';
7
7
  const IntroSection = ({ data }: { data: IMainPageDataTypes }) => {
8
8
  const imagePath: string = process.env.NEXT_PUBLIC_S3_URL + '';
9
9
  return (
10
- <section className={'relative w-full py-[100px] max-lg:py-20 max-xs:py-10'}>
10
+ <section className={'relative w-full pt-[100px] max-xl:pt-20 max-sm:pt-10'}>
11
11
  <Wrapper>
12
12
  <div
13
13
  className={
14
14
  'mx-auto flex max-w-[1400px] flex-col gap-10 text-[24px] font-[400] leading-[1.8] tracking-[-0.04em] ' +
15
15
  'max-3xl:text-[22px] ' +
16
- 'max-lg:text-[20px] ' +
17
- 'max-xs:text-[16px]'
16
+ 'max-xl:text-[20px] ' +
17
+ 'max-md:text-[18px] ' +
18
+ 'max-sm:gap-5 max-sm:text-[16px] max-sm:leading-[1.6]'
18
19
  }
19
20
  >
20
- <p dangerouslySetInnerHTML={{ __html: data.p_1 }} />
21
- <p dangerouslySetInnerHTML={{ __html: data.p_2 }} />
21
+ <div className={'flex flex-col gap-10 max-xl:gap-5'}>
22
+ <p dangerouslySetInnerHTML={{ __html: data.p_1 }} />
23
+ <p dangerouslySetInnerHTML={{ __html: data.p_2 }} />
24
+ </div>
22
25
 
23
- <div className={'relative flex w-full flex-col py-10 max-xs:pt-0'}>
26
+ <div className={'relative flex w-full flex-col py-5 max-xl:py-0 max-xs:pt-0'}>
24
27
  <div
25
28
  className={
26
- 'flex w-[54.5%] flex-col gap-10 max-3xl:w-[60%] max-lg:w-[50.8%] max-xs:w-full max-xs:gap-5'
29
+ 'flex w-[54.5%] flex-col gap-10 ' +
30
+ 'max-3xl:w-[60%] ' +
31
+ 'max-xl:w-[65.5%] max-xl:gap-5 ' +
32
+ 'max-[850px]:w-full ' +
33
+ 'max-sm:gap-5'
27
34
  }
28
35
  >
29
36
  <p dangerouslySetInnerHTML={{ __html: data.p_3 }} />
@@ -37,24 +44,37 @@ const IntroSection = ({ data }: { data: IMainPageDataTypes }) => {
37
44
  </div>
38
45
 
39
46
  {/*오른쪽 이미지*/}
40
- <div className={'absolute right-0 top-0 z-[-1] h-full w-[840px] max-xs:hidden'}>
47
+ <div
48
+ className={
49
+ 'absolute right-0 top-0 z-[-1] h-full w-[840px] max-xl:w-[510px] max-[850px]:hidden'
50
+ }
51
+ >
41
52
  <Image
42
53
  src={imagePath + '/strength_new/main_intro.webp'}
43
54
  alt={'강점'}
44
55
  fill
45
- className={'object-contain object-right'}
56
+ sizes={'840px'}
57
+ className={'object-contain object-right max-xl:hidden'}
58
+ quality={100}
59
+ />
60
+ <Image
61
+ src={imagePath + '/strength_new/main_intro_tab.webp'}
62
+ alt={'강점'}
63
+ fill
64
+ sizes={'510px'}
65
+ className={'object-cover object-right xl:hidden'}
46
66
  quality={100}
47
67
  />
48
68
  </div>
49
69
  </div>
50
70
  </div>
51
71
  </Wrapper>
52
- <div className={'relative h-[200px] w-full xs:hidden'}>
72
+ <div className={'relative hidden h-[364px] w-full max-[850px]:block max-sm:h-[200px]'}>
53
73
  <Image
54
74
  src={imagePath + '/strength_new/main_intro_mo.webp'}
55
75
  alt={'강점'}
56
76
  fill
57
- className={'object-cover'}
77
+ className={'object-cover object-top'}
58
78
  quality={100}
59
79
  />
60
80
  </div>