@daeryun/dr_components 1.0.30 → 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.
Files changed (41) hide show
  1. package/dist/asset/images/strength_new/logo.svg +37 -0
  2. package/dist/cjs/tsconfig-cjs.tsbuildinfo +1 -1
  3. package/dist/components/common/types/strength_new/index.d.ts +48 -6
  4. package/dist/components/common/types/strength_new/index.ts +51 -6
  5. package/dist/components/page/StrengthNew/StrengthCustomer.d.ts +8 -0
  6. package/dist/components/page/StrengthNew/StrengthCustomer.jsx +15 -0
  7. package/dist/components/page/StrengthNew/StrengthCustomer.tsx +36 -0
  8. package/dist/components/page/StrengthNew/StrengthInfra.d.ts +8 -0
  9. package/dist/components/page/StrengthNew/StrengthInfra.jsx +13 -0
  10. package/dist/components/page/StrengthNew/StrengthInfra.tsx +34 -0
  11. package/dist/components/page/StrengthNew/StrengthPeople.jsx +1 -1
  12. package/dist/components/page/StrengthNew/StrengthPeople.tsx +3 -3
  13. package/dist/components/page/StrengthNew/StrengthSystem.jsx +1 -1
  14. package/dist/components/page/StrengthNew/StrengthSystem.tsx +3 -3
  15. package/dist/components/page/StrengthNew/components/common/BannerSection.jsx +38 -37
  16. package/dist/components/page/StrengthNew/components/common/BannerSection.tsx +41 -41
  17. package/dist/components/page/StrengthNew/components/common/ItemNumber.d.ts +6 -0
  18. package/dist/components/page/StrengthNew/components/common/ItemNumber.jsx +12 -0
  19. package/dist/components/page/StrengthNew/components/common/ItemNumber.tsx +19 -0
  20. package/dist/components/page/StrengthNew/components/common/LawyerSection.jsx +35 -32
  21. package/dist/components/page/StrengthNew/components/common/LawyerSection.tsx +70 -52
  22. package/dist/components/page/StrengthNew/components/common/ViewMoreSection.jsx +26 -19
  23. package/dist/components/page/StrengthNew/components/common/ViewMoreSection.tsx +43 -27
  24. package/dist/components/page/StrengthNew/components/customer/CustomerSection.d.ts +14 -0
  25. package/dist/components/page/StrengthNew/components/customer/CustomerSection.jsx +237 -0
  26. package/dist/components/page/StrengthNew/components/customer/CustomerSection.tsx +489 -0
  27. package/dist/components/page/StrengthNew/components/customer/DaeryunSection.d.ts +9 -0
  28. package/dist/components/page/StrengthNew/components/customer/DaeryunSection.jsx +85 -0
  29. package/dist/components/page/StrengthNew/components/customer/DaeryunSection.tsx +203 -0
  30. package/dist/components/page/StrengthNew/components/infra/InfraSection.d.ts +16 -0
  31. package/dist/components/page/StrengthNew/components/infra/InfraSection.jsx +254 -0
  32. package/dist/components/page/StrengthNew/components/infra/InfraSection.tsx +522 -0
  33. package/dist/components/page/StrengthNew/components/main/IntroSection.jsx +19 -11
  34. package/dist/components/page/StrengthNew/components/main/IntroSection.tsx +31 -11
  35. package/dist/components/page/StrengthNew/components/people/PeopleSection.jsx +81 -67
  36. package/dist/components/page/StrengthNew/components/people/PeopleSection.tsx +117 -80
  37. package/dist/components/page/StrengthNew/components/system/SystemSection.jsx +127 -99
  38. package/dist/components/page/StrengthNew/components/system/SystemSection.tsx +182 -108
  39. package/dist/styles/globals.css +1023 -186
  40. package/dist/tsconfig.tsbuildinfo +1 -1
  41. package/package.json +1 -1
@@ -0,0 +1,203 @@
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
+
7
+ const DaeryunSection = ({
8
+ main_list,
9
+ main_title
10
+ }: {
11
+ main_list: {
12
+ text: string;
13
+ engText: string;
14
+ }[];
15
+ main_title: string;
16
+ }) => {
17
+ const imagePath: string = process.env.NEXT_PUBLIC_S3_URL + '';
18
+ const router = useRouter();
19
+
20
+ const Circle = ({ className, text, engText }: { className: string; engText: string; text: string }) => {
21
+ return (
22
+ <div
23
+ className={
24
+ 'h-[200px] w-[200px] rounded-full bg-white ' +
25
+ 'max-3xl:h-[160px] max-3xl:w-[160px] ' +
26
+ 'max-xl:h-[126px] max-xl:w-[126px] ' +
27
+ 'max-sm:h-[88px] max-sm:w-[88px] ' +
28
+ className
29
+ }
30
+ >
31
+ <span
32
+ className={
33
+ '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] ' +
34
+ 'max-3xl:h-[150px] max-3xl:w-[150px] ' +
35
+ 'max-xl:h-[116px] max-xl:w-[116px] ' +
36
+ 'max-sm:h-[81px] max-sm:w-[81px] max-sm:gap-1'
37
+ }
38
+ >
39
+ <span
40
+ className={
41
+ '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]'
42
+ }
43
+ >
44
+ {engText.toUpperCase()}
45
+ </span>
46
+
47
+ <span
48
+ className={
49
+ 'text-[20px] leading-none tracking-[0px] text-black max-3xl:text-[18px] max-xl:text-[16px] max-sm:text-[14px]'
50
+ }
51
+ >
52
+ {text}
53
+ </span>
54
+ </span>
55
+ </div>
56
+ );
57
+ };
58
+
59
+ return (
60
+ <section className={'overflow-hidden py-[100px] tracking-[-0.04em] max-xl:py-20 max-sm:py-10'}>
61
+ <Wrapper className={'relative w-full overflow-hidden max-md:!px-0'}>
62
+ <div
63
+ className={
64
+ 'relative flex h-[700px] w-full justify-center pt-[60px] ' +
65
+ 'max-3xl:h-[565px] max-3xl:pt-[50px] ' +
66
+ 'max-xl:h-[440px] max-xl:pt-10 ' +
67
+ 'max-sm:h-[320px] max-sm:pt-[28px] '
68
+ }
69
+ >
70
+ {/*배경*/}
71
+ <Image
72
+ src={imagePath + `/strength_new/customer_bg_1.webp`}
73
+ className={'object-cover max-xl:hidden'}
74
+ alt={'강점'}
75
+ fill
76
+ quality={100}
77
+ />
78
+ <Image
79
+ src={imagePath + `/strength_new/customer_bg_1_tab.webp`}
80
+ className={'object-cover xl:hidden'}
81
+ alt={'강점'}
82
+ fill
83
+ quality={100}
84
+ />
85
+ {/*중앙 흰색 원*/}
86
+ <div
87
+ className={
88
+ 'relative flex h-[500px] w-[500px] items-center justify-center rounded-full bg-white bg-opacity-60 ' +
89
+ 'max-3xl:h-[400px] max-3xl:w-[400px] ' +
90
+ 'max-xl:h-[320px] max-xl:w-[320px] ' +
91
+ 'max-sm:h-[224px] max-sm:w-[224px]'
92
+ }
93
+ >
94
+ {/*3개 흰색 원*/}
95
+ <div
96
+ className={
97
+ 'absolute left-1/2 top-[25px] h-[575px] w-[634px] -translate-x-1/2 ' +
98
+ 'max-3xl:h-[450px] max-3xl:w-[500px] ' +
99
+ 'max-xl:top-5 max-xl:h-[362px] max-xl:w-[400px] ' +
100
+ 'max-sm:top-4 max-sm:h-[253px] max-sm:w-[280px]'
101
+ }
102
+ >
103
+ <Circle className={'absolute'} text={main_list[0].text} engText={main_list[0].engText} />
104
+ <Circle
105
+ className={'absolute bottom-0 left-1/2 -translate-x-1/2'}
106
+ text={main_list[1].text}
107
+ engText={main_list[1].engText}
108
+ />
109
+ <Circle
110
+ className={'absolute right-0'}
111
+ text={main_list[2].text}
112
+ engText={main_list[2].engText}
113
+ />
114
+ </div>
115
+
116
+ {/*초록색 선*/}
117
+ <div
118
+ className={
119
+ 'absolute left-1/2 top-5 h-[430px] w-[460px] -translate-x-1/2 ' +
120
+ 'max-3xl:top-0 max-3xl:h-[400px] max-3xl:w-[400px] ' +
121
+ 'max-xl:h-[320px] max-xl:w-[320px] ' +
122
+ 'max-sm:h-[224px] max-sm:w-[224px]'
123
+ }
124
+ >
125
+ <Image
126
+ src={imagePath + `/strength_new/arrow_circle.webp`}
127
+ className={'object-contain max-3xl:hidden'}
128
+ alt={'강점'}
129
+ fill
130
+ sizes={
131
+ '(max-width: 640px) 224px, (max-width: 1280px) 320px, (max-width: 1500px) 400px, 460px'
132
+ }
133
+ quality={100}
134
+ />
135
+ <Image
136
+ src={imagePath + `/strength_new/arrow_circle_tab.webp`}
137
+ className={'object-contain 3xl:hidden'}
138
+ alt={'강점'}
139
+ fill
140
+ sizes={
141
+ '(max-width: 640px) 224px, (max-width: 1280px) 320px, (max-width: 1500px) 400px, 460px'
142
+ }
143
+ quality={100}
144
+ />
145
+ </div>
146
+
147
+ {/*글자 & 로고*/}
148
+ <div className={'flex flex-col'}>
149
+ <span
150
+ className={
151
+ '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]'
152
+ }
153
+ dangerouslySetInnerHTML={{ __html: main_title }}
154
+ ></span>
155
+ <span
156
+ className={
157
+ 'relative mt-5 block h-12 w-[311px] ' +
158
+ 'max-3xl:h-[40px] max-3xl:w-[250px] ' +
159
+ 'max-xl:mt-[10px] max-xl:h-[27px] max-xl:w-[180px] ' +
160
+ 'max-sm:mt-2 max-sm:h-[21px] max-sm:w-[140px]'
161
+ }
162
+ >
163
+ <Logo />
164
+ </span>
165
+ </div>
166
+ </div>
167
+ {/*대륜마크*/}
168
+ <div
169
+ className={
170
+ 'absolute bottom-[-35px] right-[-100px] h-[282px] w-[444px] ' +
171
+ 'max-3xl:bottom-[-25px] max-3xl:right-[-70px] max-3xl:h-[220px] max-3xl:w-[350px] ' +
172
+ 'max-xl:bottom-[-11px] max-xl:right-[-52px] max-xl:h-[150px] max-xl:w-[236px] ' +
173
+ 'max-sm:bottom-[0px] max-sm:right-[0px] max-sm:h-[100px] max-sm:w-[158px] '
174
+ }
175
+ >
176
+ <Image
177
+ src={imagePath + `/strength_new/mark.webp`}
178
+ className={'object-contain max-sm:hidden'}
179
+ alt={'강점'}
180
+ fill
181
+ sizes={
182
+ '(max-width: 640px) 158px, (max-width: 1280px) 236px, (max-width: 1500px) 350px, 444px'
183
+ }
184
+ quality={100}
185
+ />
186
+ <Image
187
+ src={imagePath + `/strength_new/mark_mo.webp`}
188
+ className={'object-contain object-right sm:hidden'}
189
+ alt={'강점'}
190
+ fill
191
+ sizes={
192
+ '(max-width: 640px) 158px, (max-width: 1280px) 236px, (max-width: 1500px) 350px, 444px'
193
+ }
194
+ quality={100}
195
+ />
196
+ </div>
197
+ </div>
198
+ </Wrapper>
199
+ </section>
200
+ );
201
+ };
202
+
203
+ export default DaeryunSection;
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import { IInitialDataTypes } from '../../../../common';
3
+ declare const InfraSection: ({ infra_list, initialData }: {
4
+ infra_list: {
5
+ title: string;
6
+ desc: string;
7
+ list: string[];
8
+ img: string;
9
+ view_more_list: {
10
+ label: string;
11
+ url: string;
12
+ }[];
13
+ }[];
14
+ initialData: IInitialDataTypes;
15
+ }) => React.JSX.Element;
16
+ export default InfraSection;
@@ -0,0 +1,254 @@
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 useBrowser from '../../../../hook/useBrowser';
7
+ import { replaceInitialData } from '../../../../../lib';
8
+ const InfraSection = ({ infra_list, initialData }) => {
9
+ return (<section className={'w-full border-b border-solid border-[#5368C4] pt-[100px] tracking-[-0.04em] max-xl:pt-20 max-sm:pt-10 '}>
10
+ {infra_list.map((item, index) => {
11
+ const Component = index % 2 === 0 ? RightTextItem : LeftTextItem;
12
+ return <Component item={item} key={index} index={index} initialData={initialData}/>;
13
+ })}
14
+ </section>);
15
+ };
16
+ export default InfraSection;
17
+ const ViewMoreBtn = ({ label, url }) => {
18
+ const imagePath = process.env.NEXT_PUBLIC_S3_URL + '';
19
+ const router = useRouter();
20
+ return (<Link href={url} target={'_blank'} className={'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] ' +
21
+ 'lg:transition-[background-color,color] lg:duration-500 lg:hover:bg-[#5368C4] lg:hover:text-white ' +
22
+ 'max-5xl:text-[22px] ' +
23
+ 'max-xl:h-10 max-xl:w-[140px] max-xl:gap-[14px] max-xl:rounded-[5px] max-xl:text-[16px] ' +
24
+ 'max-md:gap-2 ' +
25
+ 'max-xs:h-11 max-xs:w-full max-xs:justify-between max-xs:px-5'}>
26
+ {label}
27
+
28
+ <span className={'relative flex h-6 w-6 items-center justify-center rounded-full border border-solid border-[#5368C4] bg-[#5368C4] ' +
29
+ 'lg:transition-[border-color] lg:duration-500 lg:group-hover:border-white ' +
30
+ 'max-xl:h-5 max-xl:w-5 '}>
31
+ <Image src={imagePath + `/strength_new/infra_arrow.webp`} alt={'강점'} width={14} height={12} className={'h-auto w-[12px] max-xl:w-[10px]'} quality={100}/>
32
+ </span>
33
+ </Link>);
34
+ };
35
+ const RightTextItem = ({ item, index, initialData }) => {
36
+ var _a;
37
+ const imagePath = process.env.NEXT_PUBLIC_S3_URL + '';
38
+ const { width } = useBrowser(true);
39
+ const [padding, setPadding] = useState(0);
40
+ const router = useRouter();
41
+ const handleSetPadding = () => {
42
+ if (typeof window != 'undefined') {
43
+ const widthBrowser = width != 0 ? width : window.innerWidth;
44
+ if (widthBrowser > 2119) {
45
+ setPadding((widthBrowser - 1920 + 80) / 2);
46
+ }
47
+ else if (widthBrowser < 2120 && widthBrowser > 1919) {
48
+ setPadding((widthBrowser - 1920 + 280) / 2);
49
+ }
50
+ }
51
+ };
52
+ useEffect(() => {
53
+ handleSetPadding();
54
+ }, [width]);
55
+ return (<div className={'w-full pl-[calc((100%-1920px+80px)/2)] ' +
56
+ 'max-[2120px]:pl-[calc((100%-1920px+280px)/2)] ' +
57
+ 'max-full:pl-[140px] ' +
58
+ 'max-3xl:pl-20 ' +
59
+ 'max-lg:pl-[60px] ' +
60
+ 'max-sm:pl-5 ' +
61
+ (index != 0 ? 'mt-[-100px] max-3xl:mt-[-80px] max-xl:mt-[-50px] max-sm:mt-[-20px]' : '')}>
62
+ <div className={'relative h-full w-full '}>
63
+ {/*원*/}
64
+ <div className={'absolute left-0 top-0 h-[400px] w-[400px] overflow-hidden rounded-full border border-solid border-[#5368C4] ' +
65
+ 'max-3xl:h-[300px] max-3xl:w-[300px] ' +
66
+ 'max-xl:h-[200px] max-xl:w-[200px] ' +
67
+ 'max-sm:h-[180px] max-sm:w-[180px]'}>
68
+ {/*이미지*/}
69
+ <span className={'absolute bottom-0 right-0 block h-[299px] w-[279px] overflow-hidden ' +
70
+ 'max-3xl:h-[219px] max-3xl:w-[199px] max-3xl:rounded-tl-[100px] ' +
71
+ 'max-xl:h-[149px] max-xl:w-[139px] max-xl:rounded-tl-[50px] ' +
72
+ 'max-sm:h-[159px] max-sm:w-[159px] max-sm:rounded-tl-[100px]'}>
73
+ <Image src={imagePath + `/strength_new/infra_${item.img}.webp`} alt={'강점'} fill sizes="(max-width: 640px) 160px, (max-width: 1280px) 139px, 279px" className={'object-contain object-left max-3xl:scale-110 max-lg:hidden'} quality={100}/>
74
+ <Image src={imagePath + `/strength_new/infra_tab_${item.img}.webp`} alt={'강점'} fill sizes="(max-width: 640px) 160px, (max-width: 1280px) 139px, 279px" className={'object-contain object-left max-sm:hidden lg:hidden'} quality={100}/>
75
+ <Image src={imagePath + `/strength_new/infra_mo_${item.img}.webp`} alt={'강점'} fill sizes="(max-width: 640px) 160px, (max-width: 1280px) 139px, 279px" className={'object-contain object-left sm:hidden'} quality={100}/>
76
+ </span>
77
+ </div>
78
+
79
+ {/*내용 박스 > 원 위에*/}
80
+ <div className={'relative w-full pl-[120px] pt-[100px] ' +
81
+ 'max-3xl:pl-[100px] max-3xl:pt-20 ' +
82
+ 'max-xl:pl-[60px] max-xl:pt-[50px] ' +
83
+ 'max-sm:pl-5 max-sm:pt-5'}>
84
+ {/*보더*/}
85
+ <div className={'relative w-full rounded-tl-[100px] border-l border-t border-solid border-l-[#5368C4] border-t-[#5368C4] pb-[60px] pl-[280px] ' +
86
+ 'max-3xl:pb-[80px] max-3xl:pl-[200px] ' +
87
+ 'max-xl:rounded-tl-[50px] max-xl:pb-[50px] max-xl:pl-[140px] ' +
88
+ 'max-md:pl-10 max-md:pt-[140px] ' +
89
+ (index != 0 ? 'max-sm:pb-0 ' : 'max-sm:pb-5 ') +
90
+ 'max-sm:rounded-tl-[100px] max-sm:pl-5 max-sm:pt-[160px] '}>
91
+ {/*글자 내용*/}
92
+ <div style={width > 1919 ? { paddingRight: padding + 120 } : {}} className={'relative flex min-h-[360px] w-full flex-col gap-10 pb-[60px] pl-[120px] pt-[60px] max-full:pr-[260px] ' +
93
+ 'max-5xl:pl-[100px] ' +
94
+ 'max-3xl:pl-20 max-3xl:pr-[180px] ' +
95
+ 'max-xl:min-h-[228px] max-xl:gap-5 max-xl:p-10 max-xl:pr-[140px] ' +
96
+ 'max-lg:pr-[120px] ' +
97
+ 'max-md:gap-[30px] ' +
98
+ 'max-sm:pb-[60px] max-sm:pl-0 max-sm:pr-10 max-sm:pt-5 '}>
99
+ <h2 className={'whitespace-pre-wrap text-[36px] font-[800] leading-[1.3] ' +
100
+ 'max-5xl:text-[34px] ' +
101
+ 'max-3xl:text-[32px] ' +
102
+ 'max-xl:text-[24px] ' +
103
+ 'max-md:text-right '} dangerouslySetInnerHTML={{
104
+ __html: replaceInitialData(item.title.replace('(*consult_date*)', `<span class='text-[20px] font-medium'>(*consult_date*)</span>`), initialData)
105
+ }}></h2>
106
+ <p className={'relative z-10 text-[24px] font-[400] leading-[1.4] ' +
107
+ 'max-5xl:text-[22px] ' +
108
+ 'max-3xl:text-[20px] ' +
109
+ 'max-xl:text-[16px]'}>
110
+ <span className={'relative z-20 sm:whitespace-pre-wrap'} dangerouslySetInnerHTML={{ __html: replaceInitialData(item.desc, initialData) }}></span>
111
+
112
+ <ItemNumber index={index} className={'right-0 max-md:top-[-160px] max-sm:top-[-150px] md:hidden'}/>
113
+ </p>
114
+
115
+ <div className={'relative flex flex-col gap-[25px] border-y border-solid border-[#F6F6F6] py-10 ' +
116
+ 'max-xl:gap-[22px] max-xl:py-5 ' +
117
+ 'max-md:gap-[30px] max-md:py-[30px]'}>
118
+ <ItemNumber index={index} className={'right-0 top-[-227px] max-3xl:top-[-177px] max-xl:top-[-125px] max-md:hidden'}/>
119
+
120
+ {(_a = item.list) === null || _a === void 0 ? void 0 : _a.map((li, li_index) => {
121
+ return (<li className={'flex items-center gap-[10px] text-[24px] leading-[1.4] ' +
122
+ 'max-5xl:text-[22px] ' +
123
+ 'max-3xl:text-[20px] ' +
124
+ 'max-xl:items-start max-xl:text-[16px] max-xl:leading-none ' +
125
+ 'max-md2:items-start max-md2:leading-[1.2] ' +
126
+ 'max-md:gap-2'} key={li_index}>
127
+ <span className={'block h-6 w-6 shrink-0 rounded-full bg-[#5368C4] ' +
128
+ 'max-3xl:h-5 max-3xl:w-5 ' +
129
+ 'max-xl:h-4 max-xl:w-4 ' +
130
+ 'max-md2:mt-[2px]'}></span>
131
+ <span className={'tracking-[-0.96px] max-5xl:tracking-[-0.88px] max-3xl:tracking-[-0.8px] max-xl:tracking-[-0.64px] '} dangerouslySetInnerHTML={{ __html: li }}></span>
132
+ </li>);
133
+ })}
134
+ </div>
135
+
136
+ <div className={'flex w-full gap-5 max-lg:gap-[10px] ' + 'max-xs:flex-col'}>
137
+ {item.view_more_list.map(li => {
138
+ return <ViewMoreBtn label={li.label} url={li.url} key={li.url}/>;
139
+ })}
140
+ </div>
141
+ </div>
142
+ </div>
143
+ </div>
144
+ </div>
145
+ </div>);
146
+ };
147
+ const LeftTextItem = ({ item, index, initialData }) => {
148
+ var _a;
149
+ const imagePath = process.env.NEXT_PUBLIC_S3_URL + '';
150
+ const { width } = useBrowser(true);
151
+ const [padding, setPadding] = useState(0);
152
+ const router = useRouter();
153
+ const handleSetPadding = () => {
154
+ if (typeof window != 'undefined') {
155
+ const widthBrowser = width != 0 ? width : window.innerWidth;
156
+ if (widthBrowser > 2119) {
157
+ setPadding((widthBrowser - 1920 + 80) / 2);
158
+ }
159
+ else if (widthBrowser < 2120 && widthBrowser > 1919) {
160
+ setPadding((widthBrowser - 1920 + 280) / 2);
161
+ }
162
+ }
163
+ };
164
+ useEffect(() => {
165
+ handleSetPadding();
166
+ }, [width]);
167
+ return (<div className={'mt-[-100px] w-full pr-[calc((100%-1920px+80px)/2)] ' +
168
+ 'max-[2120px]:pr-[calc((100%-1920px+280px)/2)] ' +
169
+ 'max-full:pr-[140px] ' +
170
+ 'max-3xl:mt-[-80px] max-3xl:pr-20 ' +
171
+ 'max-xl:mt-[-50px] ' +
172
+ 'max-lg:pr-[60px] ' +
173
+ 'max-sm:mt-[-20px] max-sm:pr-5'}>
174
+ <div className={'relative h-full w-full '}>
175
+ {/*원*/}
176
+ <div className={'absolute right-0 top-0 h-[400px] w-[400px] overflow-hidden rounded-full border border-solid border-[#5368C4] ' +
177
+ 'max-3xl:h-[300px] max-3xl:w-[300px] ' +
178
+ 'max-xl:h-[200px] max-xl:w-[200px] ' +
179
+ 'max-sm:h-[180px] max-sm:w-[180px]'}>
180
+ {/*이미지*/}
181
+ <span className={'absolute bottom-0 left-0 block h-[299px] w-[279px] overflow-hidden ' +
182
+ 'max-3xl:h-[219px] max-3xl:w-[199px] max-3xl:rounded-tr-[100px] ' +
183
+ 'max-xl:h-[149px] max-xl:w-[139px] max-xl:rounded-tr-[50px] ' +
184
+ 'max-sm:h-[159px] max-sm:w-[159px] max-sm:rounded-tr-[100px]'}>
185
+ <Image src={imagePath + `/strength_new/infra_${item.img}.webp`} alt={'강점'} fill sizes="(max-width: 640px) 160px, (max-width: 1280px) 139px, 279px" className={'object-contain object-left max-3xl:scale-110 max-lg:hidden'} quality={100}/>
186
+ <Image src={imagePath + `/strength_new/infra_tab_${item.img}.webp`} alt={'강점'} fill sizes="(max-width: 640px) 160px, (max-width: 1280px) 139px, 279px" className={'object-contain object-left max-sm:hidden lg:hidden'} quality={100}/>
187
+ <Image src={imagePath + `/strength_new/infra_mo_${item.img}.webp`} alt={'강점'} fill sizes="(max-width: 640px) 160px, (max-width: 1280px) 139px, 279px" className={'object-contain object-left sm:hidden'} quality={100}/>
188
+ </span>
189
+ </div>
190
+
191
+ {/*내용*/}
192
+ <div className={'relative w-full pr-[120px] pt-[100px] ' +
193
+ 'max-3xl:pr-[100px] max-3xl:pt-20 ' +
194
+ 'max-xl:pr-[60px] max-xl:pt-[50px] ' +
195
+ 'max-sm:pr-5 max-sm:pt-5'}>
196
+ {/*보더*/}
197
+ <div style={width > 1919 ? { paddingLeft: padding } : {}} className={'relative w-full rounded-tr-[100px] border-r border-t border-solid border-r-[#5368C4] border-t-[#5368C4] pb-[100px] pr-[280px] ' +
198
+ 'max-full:pl-[140px] ' +
199
+ 'max-3xl:pl-20 max-3xl:pr-[200px] ' +
200
+ 'max-xl:rounded-tr-[50px] max-xl:pb-[50px] max-xl:pr-[140px] ' +
201
+ 'max-lg:pl-[60px] ' +
202
+ 'max-md:pr-10 max-md:pt-[140px] ' +
203
+ 'max-sm:rounded-tr-[100px] max-sm:!pl-5 max-sm:pb-5 max-sm:pr-0 max-sm:pt-[160px]'}>
204
+ {/*글자내용*/}
205
+ <div className={'relative flex min-h-[360px] w-full flex-col gap-10 px-[120px] pb-[60px] pt-[60px] ' +
206
+ 'max-5xl:pr-[100px] ' +
207
+ 'max-3xl:pl-[100px] ' +
208
+ 'max-xl:min-h-[228px] max-xl:gap-5 max-xl:p-10 max-xl:pl-[60px] ' +
209
+ 'max-md:gap-[30px] ' +
210
+ 'max-sm:p-5 max-sm:pb-[60px] '}>
211
+ <h2 className={'whitespace-pre-wrap text-[36px] font-[800] leading-[1.3] ' +
212
+ 'max-5xl:text-[34px] ' +
213
+ 'max-3xl:text-[32px] ' +
214
+ 'max-xl:text-[24px] '} dangerouslySetInnerHTML={{
215
+ __html: replaceInitialData(item.title.replace('*consult_date*', `<span class='text-[20px]'>*consult_date*</span>`), initialData)
216
+ }}></h2>
217
+ <p className={'relative z-20 text-[24px] font-[400] leading-[1.4] sm:whitespace-pre-wrap ' +
218
+ 'max-5xl:text-[22px] ' +
219
+ 'max-3xl:text-[20px] ' +
220
+ 'max-xl:text-[16px]'} dangerouslySetInnerHTML={{ __html: replaceInitialData(item.desc, initialData) }}></p>
221
+
222
+ <ItemNumber index={index} className={'max-md:left-[60px] max-md:top-[-60px] max-sm:left-5 md:hidden '}/>
223
+
224
+ <div className={'relative flex flex-col gap-[25px] border-y border-solid border-[#F6F6F6] py-10 ' +
225
+ 'max-xl:gap-[22px] max-xl:py-5 ' +
226
+ 'max-md:gap-[30px] max-md:py-[30px]'}>
227
+ <ItemNumber index={index} className={' right-0 top-[-227px] max-3xl:top-[-177px] max-xl:top-[-125px] max-md:hidden '}/>
228
+
229
+ {(_a = item.list) === null || _a === void 0 ? void 0 : _a.map((li, li_index) => {
230
+ return (<li className={'flex items-center gap-[10px] text-[24px] leading-[1.4] ' +
231
+ 'max-5xl:text-[22px] ' +
232
+ 'max-3xl:text-[20px] ' +
233
+ 'max-xl:items-start max-xl:text-[16px] max-xl:leading-none ' +
234
+ 'max-md2:items-start max-md2:leading-[1.2]'} key={li_index}>
235
+ <span className={'block h-6 w-6 shrink-0 rounded-full bg-[#5368C4] ' +
236
+ 'max-3xl:h-5 max-3xl:w-5 ' +
237
+ 'max-xl:h-4 max-xl:w-4 ' +
238
+ 'max-md2:mt-[2px]'}></span>
239
+ <span className={'tracking-[-0.96px] max-5xl:tracking-[-0.88px] max-3xl:tracking-[-0.8px] max-xl:tracking-[-0.64px] '} dangerouslySetInnerHTML={{ __html: li }}></span>
240
+ </li>);
241
+ })}
242
+ </div>
243
+
244
+ <div className={'flex w-full gap-5 max-lg:gap-[10px] ' + 'max-xs:flex-col'}>
245
+ {item.view_more_list.map(li => {
246
+ return <ViewMoreBtn label={li.label} url={li.url} key={li.url}/>;
247
+ })}
248
+ </div>
249
+ </div>
250
+ </div>
251
+ </div>
252
+ </div>
253
+ </div>);
254
+ };