@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
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import Image from 'next/image';
|
|
2
2
|
import React, { useEffect, useState } from 'react';
|
|
3
|
+
import ItemNumber from '../common/ItemNumber';
|
|
4
|
+
import { useRouter } from 'next/navigation';
|
|
3
5
|
import { ISystemPageDataTypes } from '../../../../common/types/strength_new';
|
|
4
6
|
import useBrowser from '../../../../hook/useBrowser';
|
|
5
7
|
|
|
6
8
|
const SystemSection = ({ data }: { data: ISystemPageDataTypes }) => {
|
|
7
9
|
return (
|
|
8
|
-
<section
|
|
10
|
+
<section
|
|
11
|
+
className={
|
|
12
|
+
'w-full border-b border-solid border-[#5674AE] pt-[100px] tracking-[-0.04em] max-xl:pt-20 max-sm:pt-10'
|
|
13
|
+
}
|
|
14
|
+
>
|
|
9
15
|
<RightTextItem //@ts-ignore
|
|
10
16
|
item={data.system_list[0]}
|
|
11
17
|
index={0}
|
|
@@ -44,33 +50,41 @@ const RightTextItem = ({
|
|
|
44
50
|
const imagePath: string = process.env.NEXT_PUBLIC_S3_URL + '';
|
|
45
51
|
const { width } = useBrowser(true);
|
|
46
52
|
const [padding, setPadding] = useState<number>(0);
|
|
53
|
+
const router = useRouter();
|
|
47
54
|
|
|
48
55
|
const ConsultBox = ({ title, desc }: { title: string; desc: string }) => {
|
|
49
56
|
return (
|
|
50
57
|
<span
|
|
51
58
|
className={
|
|
52
|
-
'flex
|
|
59
|
+
'flex w-full max-w-[260px] flex-col items-center justify-center break-keep rounded-[10px] bg-[#5674AE0D] px-3 text-center text-[20px] leading-[1.4] ' +
|
|
53
60
|
'max-3xl:text-[18px] ' +
|
|
54
|
-
'max-xl:h-[62px] max-xl:max-w-[173px] max-xl:text-[14px] ' +
|
|
55
|
-
'max-md:h-[86px] max-md:max-w-[unset] max-md:whitespace-pre-wrap '
|
|
61
|
+
'max-xl:h-[62px] max-xl:max-w-[173px] max-xl:px-1 max-xl:text-[14px] ' +
|
|
62
|
+
'max-md:h-[86px] max-md:max-w-[unset] max-md:gap-1 max-md:whitespace-pre-wrap ' +
|
|
63
|
+
'h-[102px] '
|
|
56
64
|
}
|
|
57
65
|
>
|
|
58
66
|
<span className={'text-[24px] font-[700] max-5xl:text-[22px] max-3xl:text-[20px] max-xl:text-[16px]'}>
|
|
59
|
-
{title}
|
|
67
|
+
{title}
|
|
60
68
|
</span>
|
|
61
|
-
{desc}
|
|
69
|
+
<span className={'max-md:flex max-md:h-[40px] max-md:items-center'}>{desc}</span>
|
|
62
70
|
</span>
|
|
63
71
|
);
|
|
64
72
|
};
|
|
65
73
|
|
|
66
|
-
|
|
67
|
-
if (
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
setPadding((
|
|
74
|
+
const handleSetPadding = () => {
|
|
75
|
+
if (typeof window != 'undefined') {
|
|
76
|
+
const widthBrowser = width != 0 ? width : window.innerWidth;
|
|
77
|
+
|
|
78
|
+
if (widthBrowser > 2119) {
|
|
79
|
+
setPadding((widthBrowser - 1920 + 80) / 2);
|
|
80
|
+
} else if (widthBrowser < 2120 && widthBrowser > 1919) {
|
|
81
|
+
setPadding((widthBrowser - 1920 + 280) / 2);
|
|
72
82
|
}
|
|
73
83
|
}
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
useEffect(() => {
|
|
87
|
+
handleSetPadding();
|
|
74
88
|
}, [width]);
|
|
75
89
|
|
|
76
90
|
return (
|
|
@@ -82,20 +96,26 @@ const RightTextItem = ({
|
|
|
82
96
|
'max-3xl:pl-20 ' +
|
|
83
97
|
'max-lg:pl-[60px] ' +
|
|
84
98
|
'max-sm:pl-5 ' +
|
|
85
|
-
(index != 0 ? 'mt-[-100px] max-xl:mt-[-50px] max-sm:mt-[-20px]' : '')
|
|
99
|
+
(index != 0 ? 'mt-[-100px] max-3xl:mt-[-80px] max-xl:mt-[-50px] max-sm:mt-[-20px]' : '')
|
|
86
100
|
}
|
|
87
101
|
>
|
|
88
102
|
<div className={'relative h-full w-full '}>
|
|
89
103
|
{/*원*/}
|
|
90
104
|
<div
|
|
91
105
|
className={
|
|
92
|
-
'absolute left-0 top-0 h-[400px] w-[400px] overflow-hidden rounded-full border border-solid border-[#5674AE]
|
|
106
|
+
'absolute left-0 top-0 h-[400px] w-[400px] overflow-hidden rounded-full border border-solid border-[#5674AE] ' +
|
|
107
|
+
'max-3xl:h-[300px] max-3xl:w-[300px] ' +
|
|
108
|
+
'max-xl:h-[200px] max-xl:w-[200px] ' +
|
|
109
|
+
'max-sm:h-[180px] max-sm:w-[180px]'
|
|
93
110
|
}
|
|
94
111
|
>
|
|
95
112
|
{/*이미지*/}
|
|
96
113
|
<span
|
|
97
114
|
className={
|
|
98
|
-
'absolute bottom-0 right-0 block h-[299px] w-[279px] overflow-hidden
|
|
115
|
+
'absolute bottom-0 right-0 block h-[299px] w-[279px] overflow-hidden ' +
|
|
116
|
+
'max-3xl:h-[219px] max-3xl:w-[199px] max-3xl:rounded-tl-[100px] ' +
|
|
117
|
+
'max-xl:h-[149px] max-xl:w-[139px] max-xl:rounded-tl-[50px] ' +
|
|
118
|
+
'max-sm:h-[159px] max-sm:w-[159px] max-sm:rounded-tl-[100px]'
|
|
99
119
|
}
|
|
100
120
|
>
|
|
101
121
|
<Image
|
|
@@ -103,7 +123,15 @@ const RightTextItem = ({
|
|
|
103
123
|
alt={'강점'}
|
|
104
124
|
fill
|
|
105
125
|
sizes="(max-width: 640px) 160px, (max-width: 1280px) 139px, 279px"
|
|
106
|
-
className={'object-contain object-right max-
|
|
126
|
+
className={'object-contain object-right max-3xl:scale-110 max-lg:hidden'}
|
|
127
|
+
quality={100}
|
|
128
|
+
/>
|
|
129
|
+
<Image
|
|
130
|
+
src={imagePath + `/strength_new/system_tab_${index + 1}.webp`}
|
|
131
|
+
alt={'강점'}
|
|
132
|
+
fill
|
|
133
|
+
sizes="(max-width: 640px) 160px, (max-width: 1280px) 139px, 279px"
|
|
134
|
+
className={'object-contain object-right max-sm:hidden lg:hidden'}
|
|
107
135
|
quality={100}
|
|
108
136
|
/>
|
|
109
137
|
<Image
|
|
@@ -121,6 +149,7 @@ const RightTextItem = ({
|
|
|
121
149
|
<div
|
|
122
150
|
className={
|
|
123
151
|
'relative w-full pl-[120px] pt-[100px] ' +
|
|
152
|
+
'max-3xl:pl-[100px] max-3xl:pt-20 ' +
|
|
124
153
|
'max-xl:pl-[60px] max-xl:pt-[50px] ' +
|
|
125
154
|
'max-sm:pl-5 max-sm:pt-5'
|
|
126
155
|
}
|
|
@@ -129,21 +158,23 @@ const RightTextItem = ({
|
|
|
129
158
|
<div
|
|
130
159
|
className={
|
|
131
160
|
'relative w-full rounded-tl-[100px] border-l border-t border-solid border-l-[#5674AE] border-t-[#5674AE] pb-[100px] pl-[280px] ' +
|
|
132
|
-
'max-
|
|
161
|
+
'max-3xl:pb-[80px] max-3xl:pl-[200px] ' +
|
|
162
|
+
'max-xl:rounded-tl-[50px] max-xl:pb-[50px] max-xl:pl-[140px] ' +
|
|
133
163
|
'max-md:pl-10 max-md:pt-[140px] ' +
|
|
134
|
-
'max-sm:pb-5 max-sm:pl-5 max-sm:pt-[160px] '
|
|
164
|
+
'max-sm:rounded-tl-[100px] max-sm:pb-5 max-sm:pl-5 max-sm:pt-[160px] '
|
|
135
165
|
}
|
|
136
166
|
>
|
|
137
167
|
{/*글자 내용*/}
|
|
138
168
|
<div
|
|
139
|
-
style={{ paddingRight: padding + 120 }}
|
|
169
|
+
style={width > 1919 ? { paddingRight: padding + 120 } : {}}
|
|
140
170
|
className={
|
|
141
|
-
'relative flex min-h-[360px] w-full flex-col gap-10 pb-[
|
|
142
|
-
'max-
|
|
143
|
-
'max-
|
|
144
|
-
'max-
|
|
145
|
-
|
|
146
|
-
'max-
|
|
171
|
+
'relative flex min-h-[360px] w-full flex-col gap-10 pb-[60px] pl-[120px] pt-[60px] max-full:pr-[260px] ' +
|
|
172
|
+
'max-5xl:pl-[100px] ' +
|
|
173
|
+
'max-3xl:pl-20 max-3xl:pr-[180px] ' +
|
|
174
|
+
'max-xl:min-h-[228px] max-xl:gap-5 max-xl:p-10 max-xl:pr-[140px] ' +
|
|
175
|
+
'max-lg:pr-[120px] ' +
|
|
176
|
+
'max-md:gap-[30px] ' +
|
|
177
|
+
'max-sm:pb-10 max-sm:pl-0 max-sm:pr-10 max-sm:pt-5 '
|
|
147
178
|
}
|
|
148
179
|
>
|
|
149
180
|
<h2
|
|
@@ -152,12 +183,11 @@ const RightTextItem = ({
|
|
|
152
183
|
'max-5xl:text-[34px] ' +
|
|
153
184
|
'max-3xl:text-[32px] ' +
|
|
154
185
|
'max-xl:text-[24px] ' +
|
|
155
|
-
'max-md:text-right '
|
|
156
|
-
'max-sm:text-[20px]'
|
|
186
|
+
'max-md:text-right '
|
|
157
187
|
}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
188
|
+
dangerouslySetInnerHTML={{ __html: item.title }}
|
|
189
|
+
/>
|
|
190
|
+
|
|
161
191
|
<p
|
|
162
192
|
className={
|
|
163
193
|
'relative z-10 whitespace-pre-wrap text-[24px] font-[400] leading-[1.4] ' +
|
|
@@ -166,45 +196,45 @@ const RightTextItem = ({
|
|
|
166
196
|
'max-xl:text-[16px]'
|
|
167
197
|
}
|
|
168
198
|
>
|
|
169
|
-
|
|
170
|
-
|
|
199
|
+
<span
|
|
200
|
+
className={'relative z-20'}
|
|
201
|
+
dangerouslySetInnerHTML={{ __html: item.desc }}
|
|
202
|
+
></span>
|
|
203
|
+
<ItemNumber
|
|
204
|
+
index={index}
|
|
171
205
|
className={
|
|
172
|
-
'
|
|
173
|
-
'max-3xl:top-[-130px] max-3xl:text-[150px] ' +
|
|
174
|
-
'max-xl:top-[-95px] max-xl:text-[120px] ' +
|
|
175
|
-
'max-md2:text-[100px] ' +
|
|
176
|
-
'max-md:top-[-190px] ' +
|
|
177
|
-
'max-sm:top-[-176px] max-sm:text-[80px]'
|
|
206
|
+
'right-0 top-[-160px] max-3xl:top-[-130px] max-xl:top-[-95px] max-md:top-[-190px] max-sm:top-[-192px] '
|
|
178
207
|
}
|
|
179
|
-
|
|
180
|
-
0{index + 1}
|
|
181
|
-
</p>
|
|
208
|
+
/>
|
|
182
209
|
</p>
|
|
183
210
|
|
|
184
211
|
<div
|
|
185
212
|
className={
|
|
186
|
-
'flex flex-col gap-[60px] border-t border-solid border-[#F6F6F6] pt-10
|
|
213
|
+
'flex flex-col gap-[60px] border-t border-solid border-[#F6F6F6] pt-10 ' +
|
|
214
|
+
'max-xl:gap-[30px] max-xl:pt-5 ' +
|
|
215
|
+
'max-md:gap-10 max-md:pt-[30px]'
|
|
187
216
|
}
|
|
188
217
|
>
|
|
189
218
|
{item.list?.map((li, index) => {
|
|
190
219
|
return (
|
|
191
220
|
<div
|
|
192
221
|
className={
|
|
193
|
-
'flex gap-10 max-5xl:gap-8 max-3xl:gap-7 max-xl:gap-5 max-
|
|
222
|
+
'flex gap-10 max-5xl:gap-8 max-3xl:gap-7 max-xl:gap-5 max-md2:flex-col max-md2:gap-[10px]'
|
|
194
223
|
}
|
|
195
224
|
key={index}
|
|
196
225
|
>
|
|
197
226
|
<h3
|
|
198
227
|
className={
|
|
199
|
-
'flex h-fit w-[200px] shrink-0 items-center gap-[10px] text-[24px] font-bold leading-
|
|
228
|
+
'flex h-fit w-[200px] shrink-0 items-center gap-[10px] text-[24px] font-bold leading-[1.4] text-[#5674AE] ' +
|
|
200
229
|
'max-5xl:w-[170px] max-5xl:text-[22px] ' +
|
|
201
230
|
'max-3xl:w-[160px] max-3xl:text-[20px] ' +
|
|
202
|
-
'max-xl:w-[120px] max-xl:text-[16px]'
|
|
231
|
+
'max-xl:w-[120px] max-xl:text-[16px] ' +
|
|
232
|
+
'max-md:w-fit max-md:text-[20px]'
|
|
203
233
|
}
|
|
204
234
|
>
|
|
205
235
|
<span
|
|
206
236
|
className={
|
|
207
|
-
'block h-6 w-6 rounded-full bg-[#5674AE] ' +
|
|
237
|
+
'block h-6 w-6 shrink-0 rounded-full bg-[#5674AE] ' +
|
|
208
238
|
'max-5xl:h-[22px] max-5xl:w-[22px] ' +
|
|
209
239
|
'max-3xl:h-5 max-3xl:w-5 ' +
|
|
210
240
|
'max-xl:h-4 max-xl:w-4'
|
|
@@ -224,7 +254,7 @@ const RightTextItem = ({
|
|
|
224
254
|
>
|
|
225
255
|
{li.list[0]}
|
|
226
256
|
</p>
|
|
227
|
-
<div className={'mb-5 flex items-center gap-5 max-lg:gap-[10px]'}>
|
|
257
|
+
<div className={'mb-5 flex items-center gap-5 max-lg:gap-[10px] '}>
|
|
228
258
|
<ConsultBox
|
|
229
259
|
title={consult_step.consult_step_1_title}
|
|
230
260
|
desc={consult_step.consult_step_1_desc}
|
|
@@ -236,14 +266,22 @@ const RightTextItem = ({
|
|
|
236
266
|
desc={consult_step.consult_step_2_desc}
|
|
237
267
|
/>
|
|
238
268
|
</div>
|
|
239
|
-
<ul className="text-[20px] leading-[1.8] max-3xl:text-[18px] max-xl:text-[16px]">
|
|
269
|
+
<ul className="flex flex-col text-[20px] leading-[1.8] max-3xl:text-[18px] max-xl:gap-[3px] max-xl:text-[16px] max-xl:leading-[1.4]">
|
|
240
270
|
{li.list.slice(1, -1).map((l, l_index) => {
|
|
241
|
-
return
|
|
271
|
+
return (
|
|
272
|
+
<li
|
|
273
|
+
key={l_index}
|
|
274
|
+
className={'flex gap-[13px] max-xl:gap-[10px]'}
|
|
275
|
+
>
|
|
276
|
+
<span>•</span>
|
|
277
|
+
{l}
|
|
278
|
+
</li>
|
|
279
|
+
);
|
|
242
280
|
})}
|
|
243
281
|
</ul>
|
|
244
282
|
<p
|
|
245
283
|
className={
|
|
246
|
-
'mt-[10px] text-[20px] leading-[1.8] max-3xl:text-[18px] max-xl:text-[16px]'
|
|
284
|
+
'mt-[10px] text-[20px] leading-[1.8] max-3xl:text-[18px] max-xl:mt-5 max-xl:text-[16px] max-xl:leading-[1.4]'
|
|
247
285
|
}
|
|
248
286
|
>
|
|
249
287
|
{li.list.slice(-1)[0]}
|
|
@@ -256,24 +294,31 @@ const RightTextItem = ({
|
|
|
256
294
|
'mb-5 text-[24px] font-[600] leading-[1.4] ' +
|
|
257
295
|
'max-5xl:text-[22px] ' +
|
|
258
296
|
'max-3xl:text-[20px] ' +
|
|
259
|
-
'max-xl:
|
|
297
|
+
'max-xl:text-[16px] ' +
|
|
298
|
+
'max-md:mb-[10px]'
|
|
260
299
|
}
|
|
261
300
|
>
|
|
262
301
|
{li.list[0]}
|
|
263
302
|
</p>
|
|
264
|
-
<ul className="text-[20px] leading-[1.8] max-3xl:text-[18px] max-xl:text-[16px]">
|
|
303
|
+
<ul className="flex flex-col text-[20px] leading-[1.8] max-3xl:text-[18px] max-xl:gap-[10px] max-xl:text-[16px] max-xl:leading-[1.2]">
|
|
265
304
|
{li.list.slice(1).map((l, l_index) => {
|
|
266
305
|
return (
|
|
267
306
|
<li
|
|
268
307
|
key={l_index}
|
|
269
|
-
className={
|
|
308
|
+
className={
|
|
309
|
+
'flex items-center gap-[10px] max-xl:gap-1'
|
|
310
|
+
}
|
|
270
311
|
>
|
|
271
312
|
<span
|
|
272
313
|
className={
|
|
273
|
-
'flex h-6 w-6 items-center justify-center rounded-full border border-solid border-[#5674AE] text-[16px] font-bold text-[#5674AE]'
|
|
314
|
+
'flex h-6 w-6 shrink-0 items-center justify-center rounded-full border border-solid border-[#5674AE] text-center text-[16px] font-bold leading-none text-[#5674AE] ' +
|
|
315
|
+
'max-xl:h-5 max-xl:w-5 max-xl:text-[12px] ' +
|
|
316
|
+
'max-md:h-4 max-md:w-4'
|
|
274
317
|
}
|
|
275
318
|
>
|
|
276
|
-
{
|
|
319
|
+
<span className={'xl:translate-y-[-1px]'}>
|
|
320
|
+
{l_index + 1}
|
|
321
|
+
</span>
|
|
277
322
|
</span>{' '}
|
|
278
323
|
{l}
|
|
279
324
|
</li>
|
|
@@ -288,14 +333,23 @@ const RightTextItem = ({
|
|
|
288
333
|
'mb-5 text-[24px] font-[600] leading-[1.4] ' +
|
|
289
334
|
'max-5xl:text-[22px] ' +
|
|
290
335
|
'max-3xl:text-[20px] ' +
|
|
291
|
-
'
|
|
336
|
+
' max-xl:text-[16px] ' +
|
|
337
|
+
'max-md:mb-[10px]'
|
|
292
338
|
}
|
|
293
339
|
>
|
|
294
340
|
{li.list[0]}
|
|
295
341
|
</p>
|
|
296
|
-
<ul className="text-[20px] leading-[1.8] max-3xl:text-[18px] max-xl:text-[16px]">
|
|
342
|
+
<ul className="flex flex-col pl-4 text-[20px] leading-[1.8] max-3xl:text-[18px] max-xl:gap-[4px] max-xl:pl-[11px] max-xl:text-[16px] max-xl:leading-[1.4]">
|
|
297
343
|
{li.list.slice(1).map((l, l_index) => {
|
|
298
|
-
return
|
|
344
|
+
return (
|
|
345
|
+
<li
|
|
346
|
+
key={l_index}
|
|
347
|
+
className={'flex gap-[13px] max-xl:gap-[10px]'}
|
|
348
|
+
>
|
|
349
|
+
<span>•</span>
|
|
350
|
+
{l}
|
|
351
|
+
</li>
|
|
352
|
+
);
|
|
299
353
|
})}
|
|
300
354
|
</ul>
|
|
301
355
|
</div>
|
|
@@ -327,14 +381,20 @@ const LeftTextItem = ({
|
|
|
327
381
|
const { width } = useBrowser(true);
|
|
328
382
|
const [padding, setPadding] = useState<number>(0);
|
|
329
383
|
|
|
330
|
-
|
|
331
|
-
if (
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
setPadding((
|
|
384
|
+
const handleSetPadding = () => {
|
|
385
|
+
if (typeof window != 'undefined') {
|
|
386
|
+
const widthBrowser = width != 0 ? width : window.innerWidth;
|
|
387
|
+
|
|
388
|
+
if (widthBrowser > 2119) {
|
|
389
|
+
setPadding((widthBrowser - 1920 + 80) / 2);
|
|
390
|
+
} else if (widthBrowser < 2120 && widthBrowser > 1919) {
|
|
391
|
+
setPadding((widthBrowser - 1920 + 280) / 2);
|
|
336
392
|
}
|
|
337
393
|
}
|
|
394
|
+
};
|
|
395
|
+
|
|
396
|
+
useEffect(() => {
|
|
397
|
+
handleSetPadding();
|
|
338
398
|
}, [width]);
|
|
339
399
|
|
|
340
400
|
return (
|
|
@@ -343,7 +403,7 @@ const LeftTextItem = ({
|
|
|
343
403
|
'mt-[-100px] w-full pr-[calc((100%-1920px+80px)/2)] ' +
|
|
344
404
|
'max-[2120px]:pr-[calc((100%-1920px+280px)/2)] ' +
|
|
345
405
|
'max-full:pr-[140px] ' +
|
|
346
|
-
'max-3xl:pr-20 ' +
|
|
406
|
+
'max-3xl:mt-[-80px] max-3xl:pr-20 ' +
|
|
347
407
|
'max-xl:mt-[-50px] ' +
|
|
348
408
|
'max-lg:pr-[60px] ' +
|
|
349
409
|
'max-sm:mt-[-20px] max-sm:pr-5'
|
|
@@ -354,6 +414,7 @@ const LeftTextItem = ({
|
|
|
354
414
|
<div
|
|
355
415
|
className={
|
|
356
416
|
'absolute right-0 top-0 h-[400px] w-[400px] overflow-hidden rounded-full border border-solid border-[#5674AE] ' +
|
|
417
|
+
'max-3xl:h-[300px] max-3xl:w-[300px] ' +
|
|
357
418
|
'max-xl:h-[200px] max-xl:w-[200px] ' +
|
|
358
419
|
'max-sm:h-[180px] max-sm:w-[180px]'
|
|
359
420
|
}
|
|
@@ -361,7 +422,10 @@ const LeftTextItem = ({
|
|
|
361
422
|
{/*이미지*/}
|
|
362
423
|
<span
|
|
363
424
|
className={
|
|
364
|
-
'absolute bottom-0 left-0 block h-[299px] w-[279px] overflow-hidden
|
|
425
|
+
'absolute bottom-0 left-0 block h-[299px] w-[279px] overflow-hidden ' +
|
|
426
|
+
'max-3xl:h-[219px] max-3xl:w-[199px] max-3xl:rounded-tr-[100px] ' +
|
|
427
|
+
'max-xl:h-[149px] max-xl:w-[139px] max-xl:rounded-tr-[50px] ' +
|
|
428
|
+
'max-sm:h-[159px] max-sm:w-[159px] max-sm:rounded-tr-[100px]'
|
|
365
429
|
}
|
|
366
430
|
>
|
|
367
431
|
<Image
|
|
@@ -369,7 +433,15 @@ const LeftTextItem = ({
|
|
|
369
433
|
alt={'강점'}
|
|
370
434
|
fill
|
|
371
435
|
sizes="(max-width: 640px) 160px, (max-width: 1280px) 139px, 279px"
|
|
372
|
-
className={'object-contain object-left max-
|
|
436
|
+
className={'object-contain object-left max-lg:hidden'}
|
|
437
|
+
quality={100}
|
|
438
|
+
/>
|
|
439
|
+
<Image
|
|
440
|
+
src={imagePath + `/strength_new/system_tab_${index + 1}.webp`}
|
|
441
|
+
alt={'강점'}
|
|
442
|
+
fill
|
|
443
|
+
sizes="(max-width: 640px) 160px, (max-width: 1280px) 139px, 279px"
|
|
444
|
+
className={'object-contain object-left max-sm:hidden lg:hidden'}
|
|
373
445
|
quality={100}
|
|
374
446
|
/>
|
|
375
447
|
<Image
|
|
@@ -387,30 +459,33 @@ const LeftTextItem = ({
|
|
|
387
459
|
<div
|
|
388
460
|
className={
|
|
389
461
|
'relative w-full pr-[120px] pt-[100px] ' +
|
|
462
|
+
'max-3xl:pr-[100px] max-3xl:pt-20 ' +
|
|
390
463
|
'max-xl:pr-[60px] max-xl:pt-[50px] ' +
|
|
391
464
|
'max-sm:pr-5 max-sm:pt-5'
|
|
392
465
|
}
|
|
393
466
|
>
|
|
394
467
|
{/*보더*/}
|
|
395
468
|
<div
|
|
396
|
-
style={{ paddingLeft: padding }}
|
|
469
|
+
style={width > 1919 ? { paddingLeft: padding } : {}}
|
|
397
470
|
className={
|
|
398
471
|
'relative w-full rounded-tr-[100px] border-r border-t border-solid border-r-[#5674AE] border-t-[#5674AE] pb-[100px] pr-[280px] ' +
|
|
399
|
-
'max-full
|
|
400
|
-
'max-3xl
|
|
401
|
-
'max-xl:pb-[50px] max-xl:pr-[140px] ' +
|
|
402
|
-
'max-lg
|
|
472
|
+
'max-full:pl-[140px] ' +
|
|
473
|
+
'max-3xl:pl-20 max-3xl:pr-[200px] ' +
|
|
474
|
+
'max-xl:rounded-tr-[50px] max-xl:pb-[50px] max-xl:pr-[140px] ' +
|
|
475
|
+
'max-lg:pl-[60px] ' +
|
|
403
476
|
'max-md:pr-10 max-md:pt-[140px] ' +
|
|
404
|
-
'max-sm
|
|
477
|
+
'max-sm:rounded-tr-[100px] max-sm:pb-5 max-sm:pl-5 max-sm:pr-0 max-sm:pt-[160px]'
|
|
405
478
|
}
|
|
406
479
|
>
|
|
407
480
|
{/*글자내용*/}
|
|
408
481
|
<div
|
|
409
482
|
className={
|
|
410
|
-
'relative flex min-h-[360px] w-full flex-col gap-10 px-[120px] pb-[
|
|
411
|
-
'max-
|
|
483
|
+
'relative flex min-h-[360px] w-full flex-col gap-10 px-[120px] pb-[60px] pt-[60px] ' +
|
|
484
|
+
'max-5xl:pr-[100px] ' +
|
|
485
|
+
'max-3xl:pl-[100px] ' +
|
|
412
486
|
'max-xl:min-h-[228px] max-xl:gap-5 max-xl:p-10 max-xl:pl-[60px] ' +
|
|
413
|
-
'max-
|
|
487
|
+
'max-md:gap-[30px] ' +
|
|
488
|
+
'max-sm:p-5 max-sm:pb-10 '
|
|
414
489
|
}
|
|
415
490
|
>
|
|
416
491
|
<h2
|
|
@@ -418,12 +493,10 @@ const LeftTextItem = ({
|
|
|
418
493
|
'whitespace-pre-wrap text-[36px] font-[800] leading-[1.3] ' +
|
|
419
494
|
'max-5xl:text-[34px] ' +
|
|
420
495
|
'max-3xl:text-[32px] ' +
|
|
421
|
-
'max-xl:text-[24px] '
|
|
422
|
-
'max-sm:text-[20px]'
|
|
496
|
+
'max-xl:text-[24px] '
|
|
423
497
|
}
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
</h2>
|
|
498
|
+
dangerouslySetInnerHTML={{ __html: item.title }}
|
|
499
|
+
/>
|
|
427
500
|
<p
|
|
428
501
|
className={
|
|
429
502
|
'relative z-10 whitespace-pre-wrap text-[24px] font-[400] leading-[1.4] ' +
|
|
@@ -431,46 +504,44 @@ const LeftTextItem = ({
|
|
|
431
504
|
'max-3xl:text-[20px] ' +
|
|
432
505
|
'max-xl:text-[16px]'
|
|
433
506
|
}
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
507
|
+
dangerouslySetInnerHTML={{ __html: item.desc }}
|
|
508
|
+
/>
|
|
509
|
+
<ItemNumber
|
|
510
|
+
index={index}
|
|
438
511
|
className={
|
|
439
|
-
'
|
|
440
|
-
'max-3xl:top-[40px] max-3xl:text-[150px] ' +
|
|
441
|
-
'max-xl:right-10 max-xl:top-8 max-xl:text-[120px] ' +
|
|
442
|
-
'max-md2:text-[100px] ' +
|
|
443
|
-
'max-md:left-[60px] max-md:top-[-65px] ' +
|
|
444
|
-
'max-sm:left-5 max-sm:top-[-80px] max-sm:text-[80px]'
|
|
512
|
+
'right-[120px] top-[30px] max-3xl:top-[40px] max-xl:right-10 max-xl:top-8 max-md:left-[60px] max-md:top-[-66px] max-sm:left-5 max-sm:top-[-80px] '
|
|
445
513
|
}
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
</p>{' '}
|
|
514
|
+
/>
|
|
515
|
+
|
|
449
516
|
<div
|
|
450
517
|
className={
|
|
451
|
-
'flex flex-col
|
|
518
|
+
'flex flex-col border-y border-solid border-[#F6F6F6] py-10 max-xl:py-5 max-md:py-[30px]'
|
|
452
519
|
}
|
|
453
520
|
>
|
|
454
|
-
<ul>
|
|
521
|
+
<ul className={'flex flex-col gap-[20px] max-xl:gap-4'}>
|
|
455
522
|
{item.list.slice(0, -1).map((li, key) => {
|
|
456
523
|
return (
|
|
457
524
|
<li
|
|
458
525
|
className={
|
|
459
|
-
'flex gap-[10px]
|
|
526
|
+
'flex gap-[10px] text-[24px] leading-[1.4] ' +
|
|
460
527
|
'max-5xl:text-[22px] ' +
|
|
461
528
|
'max-3xl:text-[20px] ' +
|
|
462
|
-
'max-xl:text-[16px]'
|
|
529
|
+
'max-xl:text-[16px] max-xl:leading-none'
|
|
463
530
|
}
|
|
464
531
|
key={key}
|
|
465
532
|
>
|
|
466
533
|
<span
|
|
467
534
|
className={
|
|
468
|
-
'mt-[
|
|
535
|
+
'mt-[6px] block h-6 w-6 shrink-0 rounded-full bg-[#5674AE] ' +
|
|
536
|
+
'max-5xl:mt-[5px] ' +
|
|
469
537
|
'max-3xl:h-5 max-3xl:w-5 ' +
|
|
470
|
-
'max-xl:h-4 max-xl:w-4'
|
|
538
|
+
'max-xl:mt-[3px] max-xl:h-4 max-xl:w-4'
|
|
471
539
|
}
|
|
472
|
-
|
|
473
|
-
|
|
540
|
+
/>
|
|
541
|
+
<span
|
|
542
|
+
className={'leading-[1.4] '}
|
|
543
|
+
dangerouslySetInnerHTML={{ __html: li }}
|
|
544
|
+
/>
|
|
474
545
|
</li>
|
|
475
546
|
);
|
|
476
547
|
})}
|
|
@@ -478,14 +549,17 @@ const LeftTextItem = ({
|
|
|
478
549
|
</div>
|
|
479
550
|
<div
|
|
480
551
|
className={
|
|
481
|
-
'flex
|
|
552
|
+
'flex w-full items-center justify-center whitespace-pre-wrap break-keep rounded-[10px] bg-[#5674AE0D] px-5 py-10 text-center text-[24px] leading-[1.8] ' +
|
|
482
553
|
'max-5xl:text-[22px] ' +
|
|
483
|
-
'max-
|
|
484
|
-
'max-
|
|
554
|
+
'max-[1750px]:whitespace-normal ' +
|
|
555
|
+
'max-3xl:whitespace-pre-wrap max-3xl:text-[20px] ' +
|
|
556
|
+
'max-[1350px]:whitespace-normal ' +
|
|
557
|
+
'max-xl:whitespace-pre-wrap max-xl:p-5 max-xl:text-[16px] max-xl:leading-[1.4] ' +
|
|
558
|
+
'max-[980px]:whitespace-normal ' +
|
|
559
|
+
'max-md:break-all max-md:text-left'
|
|
485
560
|
}
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
</div>
|
|
561
|
+
dangerouslySetInnerHTML={{ __html: `<p>${item.list.slice(-1)[0]}</p>` }}
|
|
562
|
+
/>
|
|
489
563
|
</div>
|
|
490
564
|
</div>
|
|
491
565
|
</div>
|