@daeryun/dr_components 1.0.8 → 1.0.10
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/components/Footer/FooterV2.jsx +1 -1
- package/dist/components/Footer/FooterV2.tsx +1 -1
- package/dist/components/Footer/_backup/index.jsx +1 -1
- package/dist/components/Footer/_backup/index.tsx +1 -1
- package/dist/components/Footer/index.jsx +1 -1
- package/dist/components/Footer/index.tsx +1 -1
- package/dist/components/common/types/strength_new/index.d.ts +65 -0
- package/dist/components/common/types/strength_new/index.js +1 -0
- package/dist/components/common/types/strength_new/index.ts +68 -0
- package/dist/components/page/StrengthNew/StrengthNew.d.ts +8 -0
- package/dist/components/page/StrengthNew/StrengthNew.jsx +11 -0
- package/dist/components/page/StrengthNew/StrengthNew.tsx +28 -0
- package/dist/components/page/StrengthNew/StrengthPeople.d.ts +8 -0
- package/dist/components/page/StrengthNew/StrengthPeople.jsx +13 -0
- package/dist/components/page/StrengthNew/StrengthPeople.tsx +34 -0
- package/dist/components/page/StrengthNew/StrengthSystem.d.ts +8 -0
- package/dist/components/page/StrengthNew/StrengthSystem.jsx +13 -0
- package/dist/components/page/StrengthNew/StrengthSystem.tsx +35 -0
- package/dist/components/page/StrengthNew/components/common/BannerSection.d.ts +13 -0
- package/dist/components/page/StrengthNew/components/common/BannerSection.jsx +111 -0
- package/dist/components/page/StrengthNew/components/common/BannerSection.tsx +231 -0
- package/dist/components/page/StrengthNew/components/common/LawyerSection.d.ts +12 -0
- package/dist/components/page/StrengthNew/components/common/LawyerSection.jsx +82 -0
- package/dist/components/page/StrengthNew/components/common/LawyerSection.tsx +193 -0
- package/dist/components/page/StrengthNew/components/common/ViewMoreSection.d.ts +9 -0
- package/dist/components/page/StrengthNew/components/common/ViewMoreSection.jsx +141 -0
- package/dist/components/page/StrengthNew/components/common/ViewMoreSection.tsx +297 -0
- package/dist/components/page/StrengthNew/components/main/IntroSection.d.ts +6 -0
- package/dist/components/page/StrengthNew/components/main/IntroSection.jsx +66 -0
- package/dist/components/page/StrengthNew/components/main/IntroSection.tsx +115 -0
- package/dist/components/page/StrengthNew/components/people/PeopleSection.d.ts +10 -0
- package/dist/components/page/StrengthNew/components/people/PeopleSection.jsx +166 -0
- package/dist/components/page/StrengthNew/components/people/PeopleSection.tsx +324 -0
- package/dist/components/page/StrengthNew/components/system/SystemSection.d.ts +6 -0
- package/dist/components/page/StrengthNew/components/system/SystemSection.jsx +270 -0
- package/dist/components/page/StrengthNew/components/system/SystemSection.tsx +495 -0
- package/dist/components/page/SuccessNew/components/FieldCase.jsx +5 -2
- package/dist/components/page/SuccessNew/components/FieldCase.tsx +5 -2
- package/dist/styles/globals.css +1091 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
import Image from 'next/image';
|
|
2
|
+
import React, { useEffect, useState } from 'react';
|
|
3
|
+
import useBrowser from '../../../../hook/useBrowser';
|
|
4
|
+
const SystemSection = ({ data }) => {
|
|
5
|
+
return (<section className={'w-full pt-[100px] tracking-[-0.04em] max-lg:pt-10'}>
|
|
6
|
+
<RightTextItem //@ts-ignore
|
|
7
|
+
item={data.system_list[0]} index={0} consult_step={{
|
|
8
|
+
consult_step_1_title: data.consult_step_1_title,
|
|
9
|
+
consult_step_1_desc: data.consult_step_1_desc,
|
|
10
|
+
consult_step_2_title: data.consult_step_2_title,
|
|
11
|
+
consult_step_2_desc: data.consult_step_2_desc
|
|
12
|
+
}}/>
|
|
13
|
+
{/*@ts-ignore*/}
|
|
14
|
+
<LeftTextItem index={1} item={data.system_list[1]}/>
|
|
15
|
+
</section>);
|
|
16
|
+
};
|
|
17
|
+
export default SystemSection;
|
|
18
|
+
const RightTextItem = ({ item, consult_step, index }) => {
|
|
19
|
+
var _a;
|
|
20
|
+
const imagePath = process.env.NEXT_PUBLIC_S3_URL + '';
|
|
21
|
+
const { width } = useBrowser(true);
|
|
22
|
+
const [padding, setPadding] = useState(0);
|
|
23
|
+
const ConsultBox = ({ title, desc }) => {
|
|
24
|
+
return (<span className={'flex h-[102px] 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] ' +
|
|
25
|
+
'max-3xl:text-[18px] ' +
|
|
26
|
+
'max-xl:h-[62px] max-xl:max-w-[173px] max-xl:text-[14px] ' +
|
|
27
|
+
'max-md:h-[86px] max-md:max-w-[unset] max-md:whitespace-pre-wrap '}>
|
|
28
|
+
<span className={'text-[24px] font-[700] max-5xl:text-[22px] max-3xl:text-[20px] max-xl:text-[16px]'}>
|
|
29
|
+
{title}{' '}
|
|
30
|
+
</span>
|
|
31
|
+
{desc}
|
|
32
|
+
</span>);
|
|
33
|
+
};
|
|
34
|
+
useEffect(() => {
|
|
35
|
+
if (width != 0) {
|
|
36
|
+
if (width > 2119) {
|
|
37
|
+
setPadding((width - 1920 + 80) / 2);
|
|
38
|
+
}
|
|
39
|
+
else if (width < 2120 && width > 1920) {
|
|
40
|
+
setPadding((width - 1920 + 280) / 2);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}, [width]);
|
|
44
|
+
return (<div className={'w-full pl-[calc((100%-1920px+80px)/2)] ' +
|
|
45
|
+
'max-[2120px]:pl-[calc((100%-1920px+280px)/2)] ' +
|
|
46
|
+
'max-full:pl-[140px] ' +
|
|
47
|
+
'max-3xl:pl-20 ' +
|
|
48
|
+
'max-lg:pl-[60px] ' +
|
|
49
|
+
'max-sm:pl-5 ' +
|
|
50
|
+
(index != 0 ? 'mt-[-100px] max-xl:mt-[-50px] max-sm:mt-[-20px]' : '')}>
|
|
51
|
+
<div className={'relative h-full w-full '}>
|
|
52
|
+
{/*원*/}
|
|
53
|
+
<div className={'absolute left-0 top-0 h-[400px] w-[400px] overflow-hidden rounded-full border border-solid border-[#5674AE] max-xl:h-[200px] max-xl:w-[200px] max-sm:h-[180px] max-sm:w-[180px]'}>
|
|
54
|
+
{/*이미지*/}
|
|
55
|
+
<span className={'absolute bottom-0 right-0 block h-[299px] w-[279px] overflow-hidden max-xl:h-[149px] max-xl:w-[139px] max-xl:rounded-tl-[100px] max-sm:h-[160px] max-sm:w-[160px]'}>
|
|
56
|
+
<Image src={imagePath + `/strength_new/system_${index + 1}.webp`} alt={'강점'} fill sizes="(max-width: 640px) 160px, (max-width: 1280px) 139px, 279px" className={'object-contain object-right max-sm:hidden'} quality={100}/>
|
|
57
|
+
<Image src={imagePath + `/strength_new/system_mo_${index + 1}.webp`} alt={'강점'} fill sizes="(max-width: 640px) 160px, (max-width: 1280px) 139px, 279px" className={'object-contain object-right sm:hidden'} quality={100}/>
|
|
58
|
+
</span>
|
|
59
|
+
</div>
|
|
60
|
+
|
|
61
|
+
{/*내용 박스 > 원 위에*/}
|
|
62
|
+
<div className={'relative w-full pl-[120px] pt-[100px] ' +
|
|
63
|
+
'max-xl:pl-[60px] max-xl:pt-[50px] ' +
|
|
64
|
+
'max-sm:pl-5 max-sm:pt-5'}>
|
|
65
|
+
{/*보더*/}
|
|
66
|
+
<div className={'relative w-full rounded-tl-[100px] border-l border-t border-solid border-l-[#5674AE] border-t-[#5674AE] pb-[100px] pl-[280px] ' +
|
|
67
|
+
'max-xl:pb-[50px] max-xl:pl-[140px] ' +
|
|
68
|
+
'max-md:pl-10 max-md:pt-[140px] ' +
|
|
69
|
+
'max-sm:pb-5 max-sm:pl-5 max-sm:pt-[160px] '}>
|
|
70
|
+
{/*글자 내용*/}
|
|
71
|
+
<div style={{ paddingRight: padding + 120 }} className={'relative flex min-h-[360px] w-full flex-col gap-10 pb-[65px] pl-[120px] pt-[60px] ' +
|
|
72
|
+
'max-3xl:gap-7 max-3xl:!pr-[200px] max-3xl:pl-20 ' +
|
|
73
|
+
'max-xl:min-h-[228px] max-xl:gap-5 max-xl:p-10 max-xl:!pr-[140px] ' +
|
|
74
|
+
'max-lg:!pr-[120px] ' +
|
|
75
|
+
// 'max-md:text-right ' +
|
|
76
|
+
'max-sm:p-5 max-sm:!pr-10 max-sm:pb-10 '}>
|
|
77
|
+
<h2 className={'whitespace-pre-wrap text-[36px] font-[800] leading-[1.3] ' +
|
|
78
|
+
'max-5xl:text-[34px] ' +
|
|
79
|
+
'max-3xl:text-[32px] ' +
|
|
80
|
+
'max-xl:text-[24px] ' +
|
|
81
|
+
'max-md:text-right ' +
|
|
82
|
+
'max-sm:text-[20px]'}>
|
|
83
|
+
{item.title}
|
|
84
|
+
</h2>
|
|
85
|
+
<p className={'relative z-10 whitespace-pre-wrap text-[24px] font-[400] leading-[1.4] ' +
|
|
86
|
+
'max-5xl:text-[22px] ' +
|
|
87
|
+
'max-3xl:text-[20px] ' +
|
|
88
|
+
'max-xl:text-[16px]'}>
|
|
89
|
+
{item.desc}
|
|
90
|
+
<p className={'absolute right-0 top-[-160px] z-0 text-[200px] font-[900] leading-none text-[#E7E7E7] opacity-25 ' +
|
|
91
|
+
'max-3xl:top-[-130px] max-3xl:text-[150px] ' +
|
|
92
|
+
'max-xl:top-[-95px] max-xl:text-[120px] ' +
|
|
93
|
+
'max-md2:text-[100px] ' +
|
|
94
|
+
'max-md:top-[-190px] ' +
|
|
95
|
+
'max-sm:top-[-176px] max-sm:text-[80px]'}>
|
|
96
|
+
0{index + 1}
|
|
97
|
+
</p>
|
|
98
|
+
</p>
|
|
99
|
+
|
|
100
|
+
<div className={'flex flex-col gap-[60px] border-t border-solid border-[#F6F6F6] pt-10 max-xl:pt-5 max-lg:gap-[30px]'}>
|
|
101
|
+
{(_a = item.list) === null || _a === void 0 ? void 0 : _a.map((li, index) => {
|
|
102
|
+
return (<div className={'flex gap-10 max-5xl:gap-8 max-3xl:gap-7 max-xl:gap-5 max-md:flex-col max-md:gap-[10px]'} key={index}>
|
|
103
|
+
<h3 className={'flex h-fit w-[200px] shrink-0 items-center gap-[10px] text-[24px] font-bold leading-none text-[#5674AE] ' +
|
|
104
|
+
'max-5xl:w-[170px] max-5xl:text-[22px] ' +
|
|
105
|
+
'max-3xl:w-[160px] max-3xl:text-[20px] ' +
|
|
106
|
+
'max-xl:w-[120px] max-xl:text-[16px]'}>
|
|
107
|
+
<span className={'block h-6 w-6 rounded-full bg-[#5674AE] ' +
|
|
108
|
+
'max-5xl:h-[22px] max-5xl:w-[22px] ' +
|
|
109
|
+
'max-3xl:h-5 max-3xl:w-5 ' +
|
|
110
|
+
'max-xl:h-4 max-xl:w-4'}/>
|
|
111
|
+
{li.title}
|
|
112
|
+
</h3>
|
|
113
|
+
{index === 0 ? (<div>
|
|
114
|
+
<p className={'mb-5 text-[24px] font-[600] leading-[1.4] ' +
|
|
115
|
+
'max-5xl:text-[22px] ' +
|
|
116
|
+
'max-3xl:text-[20px] ' +
|
|
117
|
+
'max-xl:text-[16px] '}>
|
|
118
|
+
{li.list[0]}
|
|
119
|
+
</p>
|
|
120
|
+
<div className={'mb-5 flex items-center gap-5 max-lg:gap-[10px]'}>
|
|
121
|
+
<ConsultBox title={consult_step.consult_step_1_title} desc={consult_step.consult_step_1_desc}/>
|
|
122
|
+
|
|
123
|
+
<span className={'shrink-0 text-[24px]'}>=</span>
|
|
124
|
+
<ConsultBox title={consult_step.consult_step_2_title} desc={consult_step.consult_step_2_desc}/>
|
|
125
|
+
</div>
|
|
126
|
+
<ul className="text-[20px] leading-[1.8] max-3xl:text-[18px] max-xl:text-[16px]">
|
|
127
|
+
{li.list.slice(1, -1).map((l, l_index) => {
|
|
128
|
+
return <li key={l_index}>• {l}</li>;
|
|
129
|
+
})}
|
|
130
|
+
</ul>
|
|
131
|
+
<p className={'mt-[10px] text-[20px] leading-[1.8] max-3xl:text-[18px] max-xl:text-[16px]'}>
|
|
132
|
+
{li.list.slice(-1)[0]}
|
|
133
|
+
</p>
|
|
134
|
+
</div>) : index === 1 ? (<div>
|
|
135
|
+
<p className={'mb-5 text-[24px] font-[600] leading-[1.4] ' +
|
|
136
|
+
'max-5xl:text-[22px] ' +
|
|
137
|
+
'max-3xl:text-[20px] ' +
|
|
138
|
+
'max-xl:mb-[10px] max-xl:text-[16px]'}>
|
|
139
|
+
{li.list[0]}
|
|
140
|
+
</p>
|
|
141
|
+
<ul className="text-[20px] leading-[1.8] max-3xl:text-[18px] max-xl:text-[16px]">
|
|
142
|
+
{li.list.slice(1).map((l, l_index) => {
|
|
143
|
+
return (<li key={l_index} className={'flex items-center gap-[10px]'}>
|
|
144
|
+
<span className={'flex h-6 w-6 items-center justify-center rounded-full border border-solid border-[#5674AE] text-[16px] font-bold text-[#5674AE]'}>
|
|
145
|
+
{l_index + 1}
|
|
146
|
+
</span>{' '}
|
|
147
|
+
{l}
|
|
148
|
+
</li>);
|
|
149
|
+
})}
|
|
150
|
+
</ul>
|
|
151
|
+
</div>) : (<div>
|
|
152
|
+
<p className={'mb-5 text-[24px] font-[600] leading-[1.4] ' +
|
|
153
|
+
'max-5xl:text-[22px] ' +
|
|
154
|
+
'max-3xl:text-[20px] ' +
|
|
155
|
+
'max-xl:mb-[10px] max-xl:text-[16px] '}>
|
|
156
|
+
{li.list[0]}
|
|
157
|
+
</p>
|
|
158
|
+
<ul className="text-[20px] leading-[1.8] max-3xl:text-[18px] max-xl:text-[16px]">
|
|
159
|
+
{li.list.slice(1).map((l, l_index) => {
|
|
160
|
+
return <li key={l_index}>• {l}</li>;
|
|
161
|
+
})}
|
|
162
|
+
</ul>
|
|
163
|
+
</div>)}
|
|
164
|
+
</div>);
|
|
165
|
+
})}
|
|
166
|
+
</div>
|
|
167
|
+
</div>
|
|
168
|
+
</div>
|
|
169
|
+
</div>
|
|
170
|
+
</div>
|
|
171
|
+
</div>);
|
|
172
|
+
};
|
|
173
|
+
const LeftTextItem = ({ item, index }) => {
|
|
174
|
+
const imagePath = process.env.NEXT_PUBLIC_S3_URL + '';
|
|
175
|
+
const { width } = useBrowser(true);
|
|
176
|
+
const [padding, setPadding] = useState(0);
|
|
177
|
+
useEffect(() => {
|
|
178
|
+
if (width != 0) {
|
|
179
|
+
if (width > 2119) {
|
|
180
|
+
setPadding((width - 1920 + 80) / 2);
|
|
181
|
+
}
|
|
182
|
+
else if (width < 2120 && width > 1920) {
|
|
183
|
+
setPadding((width - 1920 + 280) / 2);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}, [width]);
|
|
187
|
+
return (<div className={'mt-[-100px] w-full pr-[calc((100%-1920px+80px)/2)] ' +
|
|
188
|
+
'max-[2120px]:pr-[calc((100%-1920px+280px)/2)] ' +
|
|
189
|
+
'max-full:pr-[140px] ' +
|
|
190
|
+
'max-3xl:pr-20 ' +
|
|
191
|
+
'max-xl:mt-[-50px] ' +
|
|
192
|
+
'max-lg:pr-[60px] ' +
|
|
193
|
+
'max-sm:mt-[-20px] max-sm:pr-5'}>
|
|
194
|
+
<div className={'relative h-full w-full '}>
|
|
195
|
+
{/*원*/}
|
|
196
|
+
<div className={'absolute right-0 top-0 h-[400px] w-[400px] overflow-hidden rounded-full border border-solid border-[#5674AE] ' +
|
|
197
|
+
'max-xl:h-[200px] max-xl:w-[200px] ' +
|
|
198
|
+
'max-sm:h-[180px] max-sm:w-[180px]'}>
|
|
199
|
+
{/*이미지*/}
|
|
200
|
+
<span className={'absolute bottom-0 left-0 block h-[299px] w-[279px] overflow-hidden max-xl:h-[149px] max-xl:w-[139px] max-xl:rounded-tr-[100px] max-sm:h-[160px] max-sm:w-[160px]'}>
|
|
201
|
+
<Image src={imagePath + `/strength_new/system_${index + 1}.webp`} alt={'강점'} fill sizes="(max-width: 640px) 160px, (max-width: 1280px) 139px, 279px" className={'object-contain object-left max-sm:hidden'} quality={100}/>
|
|
202
|
+
<Image src={imagePath + `/strength_new/system_mo_${index + 1}.webp`} alt={'강점'} fill sizes="(max-width: 640px) 160px, (max-width: 1280px) 139px, 279px" className={'object-contain object-left sm:hidden'} quality={100}/>
|
|
203
|
+
</span>
|
|
204
|
+
</div>
|
|
205
|
+
|
|
206
|
+
{/*내용*/}
|
|
207
|
+
<div className={'relative w-full pr-[120px] pt-[100px] ' +
|
|
208
|
+
'max-xl:pr-[60px] max-xl:pt-[50px] ' +
|
|
209
|
+
'max-sm:pr-5 max-sm:pt-5'}>
|
|
210
|
+
{/*보더*/}
|
|
211
|
+
<div style={{ paddingLeft: padding }} className={'relative w-full rounded-tr-[100px] border-r border-t border-solid border-r-[#5674AE] border-t-[#5674AE] pb-[100px] pr-[280px] ' +
|
|
212
|
+
'max-full:!pl-[140px] ' +
|
|
213
|
+
'max-3xl:!pl-20 ' +
|
|
214
|
+
'max-xl:pb-[50px] max-xl:pr-[140px] ' +
|
|
215
|
+
'max-lg:!pl-[60px] ' +
|
|
216
|
+
'max-md:pr-10 max-md:pt-[140px] ' +
|
|
217
|
+
'max-sm:!pl-5 max-sm:pb-5 max-sm:pr-0 max-sm:pt-[160px]'}>
|
|
218
|
+
{/*글자내용*/}
|
|
219
|
+
<div className={'relative flex min-h-[360px] w-full flex-col gap-10 px-[120px] pb-[65px] pt-[60px] ' +
|
|
220
|
+
'max-3xl:gap-7 max-3xl:pr-20 ' +
|
|
221
|
+
'max-xl:min-h-[228px] max-xl:gap-5 max-xl:p-10 max-xl:pl-[60px] ' +
|
|
222
|
+
'max-sm:p-5 max-sm:pb-10 '}>
|
|
223
|
+
<h2 className={'whitespace-pre-wrap text-[36px] font-[800] leading-[1.3] ' +
|
|
224
|
+
'max-5xl:text-[34px] ' +
|
|
225
|
+
'max-3xl:text-[32px] ' +
|
|
226
|
+
'max-xl:text-[24px] ' +
|
|
227
|
+
'max-sm:text-[20px]'}>
|
|
228
|
+
{item.title}
|
|
229
|
+
</h2>
|
|
230
|
+
<p className={'relative z-10 whitespace-pre-wrap text-[24px] font-[400] leading-[1.4] ' +
|
|
231
|
+
'max-5xl:text-[22px] ' +
|
|
232
|
+
'max-3xl:text-[20px] ' +
|
|
233
|
+
'max-xl:text-[16px]'}>
|
|
234
|
+
{item.desc}
|
|
235
|
+
</p>
|
|
236
|
+
<p className={'absolute right-[120px] top-[30px] z-0 text-[200px] font-[900] leading-none text-[#E7E7E7] opacity-25 ' +
|
|
237
|
+
'max-3xl:top-[40px] max-3xl:text-[150px] ' +
|
|
238
|
+
'max-xl:right-10 max-xl:top-8 max-xl:text-[120px] ' +
|
|
239
|
+
'max-md2:text-[100px] ' +
|
|
240
|
+
'max-md:left-[60px] max-md:top-[-65px] ' +
|
|
241
|
+
'max-sm:left-5 max-sm:top-[-80px] max-sm:text-[80px]'}>
|
|
242
|
+
0{index + 1}
|
|
243
|
+
</p>{' '}
|
|
244
|
+
<div className={'flex flex-col gap-[60px] border-t border-solid border-[#F6F6F6] pt-10 max-xl:pt-5'}>
|
|
245
|
+
<ul>
|
|
246
|
+
{item.list.slice(0, -1).map((li, key) => {
|
|
247
|
+
return (<li className={'flex gap-[10px] pb-5 text-[24px] leading-[1.4] ' +
|
|
248
|
+
'max-5xl:text-[22px] ' +
|
|
249
|
+
'max-3xl:text-[20px] ' +
|
|
250
|
+
'max-xl:text-[16px]'} key={key}>
|
|
251
|
+
<span className={'mt-[5px] block h-6 w-6 shrink-0 rounded-full bg-[#5674AE] ' +
|
|
252
|
+
'max-3xl:h-5 max-3xl:w-5 ' +
|
|
253
|
+
'max-xl:h-4 max-xl:w-4'}></span>
|
|
254
|
+
{li}
|
|
255
|
+
</li>);
|
|
256
|
+
})}
|
|
257
|
+
</ul>
|
|
258
|
+
</div>
|
|
259
|
+
<div className={'flex h-[166px] w-full items-center justify-center whitespace-pre-wrap rounded-[10px] bg-[#5674AE0D] text-center text-[24px] leading-[1.8] ' +
|
|
260
|
+
'max-5xl:text-[22px] ' +
|
|
261
|
+
'max-3xl:text-[20px] ' +
|
|
262
|
+
'max-xl:text-[16px]'}>
|
|
263
|
+
{item.list.slice(-1)[0]}
|
|
264
|
+
</div>
|
|
265
|
+
</div>
|
|
266
|
+
</div>
|
|
267
|
+
</div>
|
|
268
|
+
</div>
|
|
269
|
+
</div>);
|
|
270
|
+
};
|