@daeryun/dr_components 0.9.8 → 0.9.9
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/cjs/tsconfig-cjs.tsbuildinfo +1 -1
- package/dist/components/Seo/SeoStrength.jsx +7 -2
- package/dist/components/Seo/SeoStrength.tsx +16 -5
- package/dist/components/common/initialData/index.js +2 -1
- package/dist/components/common/initialData/index.ts +2 -1
- package/dist/components/common/integrate/index.d.ts +1 -1
- package/dist/components/common/strength/index.js +69 -118
- package/dist/components/common/strength/index.ts +69 -118
- package/dist/components/common/types/index.d.ts +1 -0
- package/dist/components/common/types/index.ts +1 -0
- package/dist/components/page/Login/_api/checkThirdPartyCookie.d.ts +4 -1
- package/dist/components/page/Login/_api/checkThirdPartyCookie.js +4 -1
- package/dist/components/page/Login/_api/checkThirdPartyCookie.ts +4 -1
- package/dist/components/page/Login/_fetch/serverFetch.js +3 -0
- package/dist/components/page/Login/_fetch/serverFetch.ts +3 -0
- package/dist/components/page/Login/_hooks/useAppLoginDetect.d.ts +3 -0
- package/dist/components/page/Login/_hooks/useAppLoginDetect.js +3 -0
- package/dist/components/page/Login/_hooks/useAppLoginDetect.ts +3 -0
- package/dist/components/page/Login/_hooks/useLogout.js +3 -0
- package/dist/components/page/Login/_hooks/useLogout.ts +3 -0
- package/dist/components/page/Login/_lib/goToAIDaeryun.js +3 -0
- package/dist/components/page/Login/_lib/goToAIDaeryun.ts +3 -0
- package/dist/components/page/Strength/Strength.d.ts +2 -1
- package/dist/components/page/Strength/Strength.jsx +2 -2
- package/dist/components/page/Strength/Strength.tsx +2 -2
- package/dist/components/page/Strength/StrengthIntro.jsx +105 -121
- package/dist/components/page/Strength/StrengthIntro.tsx +134 -156
- package/dist/components/page/Strength/StrengthList.d.ts +2 -1
- package/dist/components/page/Strength/StrengthList.jsx +12 -8
- package/dist/components/page/Strength/StrengthList.tsx +30 -7
- package/dist/lib/utils.js +2 -0
- package/dist/lib/utils.ts +2 -0
- package/dist/styles/globals.css +378 -350
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -25,6 +25,60 @@ const StrengthIntro = ({ initialData }: { initialData: IInitialDataTypes }) => {
|
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
27
|
|
|
28
|
+
const commonClass =
|
|
29
|
+
'relative h-[280px] w-full cursor-pointer ' +
|
|
30
|
+
'max-5xl:h-[250px] max-5xl:pl-[6%] ' +
|
|
31
|
+
'max-3xl:h-[220px] max-3xl:pl-[5%] ' +
|
|
32
|
+
'max-xl:h-[250px] max-xl:pl-[30px] ' +
|
|
33
|
+
'max-md:h-[160px] max-md:pl-[30px] ';
|
|
34
|
+
|
|
35
|
+
const careerClass =
|
|
36
|
+
'flex items-center bg-white pl-[8%] pr-[20px] font-[600] leading-[1] text-white xl:tracking-[-2.8px] ' +
|
|
37
|
+
commonClass;
|
|
38
|
+
|
|
39
|
+
const aiClass =
|
|
40
|
+
'relative block h-[280px] w-full cursor-pointer bg-[#AB0634] bg-opacity-90 pl-[8%] pr-[20px] pt-[45px] leading-[1.4] text-white ' +
|
|
41
|
+
commonClass +
|
|
42
|
+
' max-md:flex max-md:flex-col max-md:justify-center max-md:pt-0';
|
|
43
|
+
|
|
44
|
+
const totalCntClass =
|
|
45
|
+
'flex flex-col justify-center border border-solid border-white bg-white bg-opacity-10 pl-[8%] pr-[20px] leading-[1.1] text-white ' +
|
|
46
|
+
commonClass +
|
|
47
|
+
' max-md:pt-0 ';
|
|
48
|
+
|
|
49
|
+
const consultClass =
|
|
50
|
+
'flex flex-col justify-center bg-white bg-opacity-90 pl-[8%] pr-[20px] text-left leading-[1.3] text-black xl:tracking-[-3px] ' +
|
|
51
|
+
commonClass;
|
|
52
|
+
|
|
53
|
+
const consultCntClass =
|
|
54
|
+
'flex flex-col bg-white bg-opacity-90 pl-[6.2%] pr-[20px] pt-[45px] text-left text-black ' +
|
|
55
|
+
commonClass +
|
|
56
|
+
' max-md:flex max-md:flex-col max-md:justify-center max-md:pt-0 ';
|
|
57
|
+
|
|
58
|
+
const successClass =
|
|
59
|
+
'flex items-center justify-center bg-[#AB0634] bg-opacity-90 px-[20px] text-center text-white ' +
|
|
60
|
+
commonClass +
|
|
61
|
+
' max-md:flex max-md:flex-col max-md:justify-center max-md:pt-0 max-md:text-[24px] ';
|
|
62
|
+
|
|
63
|
+
const officeClass =
|
|
64
|
+
'relative block h-[280px] w-full cursor-pointer bg-[#AB0634] bg-opacity-90 pl-[8%] pr-[20px] pt-[43px] text-white ' +
|
|
65
|
+
commonClass +
|
|
66
|
+
' max-md:flex max-md:flex-col max-md:justify-center max-md:pt-0';
|
|
67
|
+
|
|
68
|
+
const consultInfoClass =
|
|
69
|
+
'pl-[8%] pr-[10px] ' +
|
|
70
|
+
'flex bg-white bg-opacity-90 pl-[8%] pr-[10px] pt-[55px] leading-none xl:tracking-[-3px] ' +
|
|
71
|
+
commonClass +
|
|
72
|
+
' max-md:flex max-md:flex-col max-md:justify-center max-md:pt-0';
|
|
73
|
+
|
|
74
|
+
const customerClass =
|
|
75
|
+
'text-block relative flex h-[280px] w-full cursor-pointer items-center justify-center bg-white px-[20px] text-center text-[32px] ' +
|
|
76
|
+
'max-5xl:h-[250px] max-5xl:text-[28px] ' +
|
|
77
|
+
'max-3xl:h-[220px] max-3xl:text-[24px] ' +
|
|
78
|
+
'max-xl:h-[250px] ' +
|
|
79
|
+
'max-xl:text-[30px] ' +
|
|
80
|
+
'max-md:h-[160px] max-md:text-[24px] ';
|
|
81
|
+
|
|
28
82
|
return (
|
|
29
83
|
<section className={'relative h-full w-full'}>
|
|
30
84
|
<Image src={bg} alt={'강점 배경화면'} className={'object-cover max-xl:hidden'} fill unoptimized />
|
|
@@ -84,216 +138,140 @@ const StrengthIntro = ({ initialData }: { initialData: IInitialDataTypes }) => {
|
|
|
84
138
|
>
|
|
85
139
|
<div
|
|
86
140
|
className={
|
|
87
|
-
'grid w-full grid-cols-
|
|
141
|
+
'grid w-full grid-cols-1 gap-3 max-xl:grid-cols-1 max-md:gap-[10px] max-md:text-[20px] '
|
|
88
142
|
}
|
|
89
143
|
>
|
|
90
|
-
<div
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
'relative flex h-[280px] w-full cursor-pointer items-center bg-white pl-[8%] pr-[20px] font-[600] leading-[1] text-white xl:tracking-[-2.8px] ' +
|
|
95
|
-
'max-5xl:h-[250px] max-5xl:pl-[6%] ' +
|
|
96
|
-
'max-3xl:h-[220px] max-3xl:pl-[5%] ' +
|
|
97
|
-
'max-xl:h-[250px] max-xl:pl-[30px] ' +
|
|
98
|
-
'max-md:h-[160px] max-md:pl-[30px]'
|
|
99
|
-
}
|
|
100
|
-
>
|
|
144
|
+
<div
|
|
145
|
+
className={'grid grid-cols-3 gap-3 max-xl:grid-cols-2 max-md:grid-cols-1 max-md:gap-[10px]'}
|
|
146
|
+
>
|
|
147
|
+
<span onClick={() => handleScroll(0)} className={careerClass}>
|
|
101
148
|
<span className={'text-[#AB0634] md:pb-8'}>
|
|
102
|
-
<span className={'text-black'}> 평균 </span>
|
|
103
|
-
<span className={'text-[2.2em] font-[800] leading-[1.3]'}>10</span> 년
|
|
104
|
-
<span className={'text-black'}> 이상 경력 </span>
|
|
105
|
-
<br className={'max-xl:hidden max-md:block'} />
|
|
106
149
|
<span className={'block text-[#AB0634] '}>
|
|
107
|
-
<
|
|
150
|
+
<LgText className={'font-[800] leading-[1.4] max-md:text-[2.4em]'}>
|
|
151
|
+
{initialData.pro_count}
|
|
152
|
+
</LgText>{' '}
|
|
153
|
+
명{' '}
|
|
108
154
|
<span className={'text-black'}>
|
|
109
|
-
|
|
110
|
-
|
|
155
|
+
이상의 <br className={''} />
|
|
156
|
+
주요 구성원
|
|
111
157
|
</span>
|
|
112
158
|
</span>
|
|
113
159
|
</span>
|
|
114
160
|
<Arrow isRed />
|
|
115
161
|
</span>
|
|
116
|
-
<span
|
|
117
|
-
|
|
118
|
-
className={
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
'max-3xl:h-[220px] max-3xl:pl-[5%] ' +
|
|
122
|
-
'max-xl:h-[250px] max-xl:pl-[30px] ' +
|
|
123
|
-
'max-md:flex max-md:h-[160px] max-md:flex-col max-md:justify-center max-md:pl-[30px] max-md:pt-0'
|
|
124
|
-
}
|
|
125
|
-
>
|
|
126
|
-
<span>대륜 로펌만의</span>
|
|
127
|
-
<LgText>AI</LgText>
|
|
128
|
-
<span className={'mt-1 block'}>빅데이터 판결 분석 변론</span>
|
|
162
|
+
<span onClick={() => handleScroll(1)} className={aiClass}>
|
|
163
|
+
<span>사건 규모에 따른</span>
|
|
164
|
+
<br className={'max-md:hidden'} />
|
|
165
|
+
<span className={'text-[2.2em] font-[800] leading-[1.0]'}>1~20인</span>
|
|
166
|
+
<span className={'mt-1 block'}> 법무법인 TF</span>
|
|
129
167
|
<Arrow />
|
|
130
168
|
</span>
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
<div className={'grid grid-cols-[1fr_1fr] gap-3 max-md:grid-cols-1 max-md:gap-[10px]'}>
|
|
134
|
-
<span
|
|
135
|
-
onClick={() => handleScroll(2)}
|
|
169
|
+
<div
|
|
136
170
|
className={
|
|
137
|
-
'
|
|
138
|
-
'max-5xl:h-[250px] max-5xl:pl-[6%] ' +
|
|
139
|
-
'max-3xl:h-[220px] max-3xl:pl-[5%] ' +
|
|
140
|
-
'max-xl:h-[250px] max-xl:pl-[30px] ' +
|
|
141
|
-
'max-md:h-[160px] max-md:pl-[30px] max-md:pt-0 '
|
|
171
|
+
'grid gap-3 max-xl:col-span-2 max-md:col-span-1 max-md:grid-cols-1 max-md:gap-[10px] '
|
|
142
172
|
}
|
|
143
173
|
>
|
|
144
|
-
<span>
|
|
145
|
-
<
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
className={
|
|
153
|
-
'relative flex h-[280px] w-full cursor-pointer flex-col justify-center bg-white bg-opacity-90 pl-[8%] pr-[20px] text-left leading-[1.3] text-black xl:tracking-[-3px] ' +
|
|
154
|
-
'max-5xl:h-[250px] max-5xl:pl-[6%] ' +
|
|
155
|
-
'max-3xl:h-[220px] max-3xl:pl-[5%] ' +
|
|
156
|
-
'max-xl:h-[250px] max-xl:pl-[30px] ' +
|
|
157
|
-
'max-md:h-[160px] max-md:pl-[30px] '
|
|
158
|
-
}
|
|
159
|
-
>
|
|
160
|
-
<span>
|
|
161
|
-
밀착 케어를 위한
|
|
162
|
-
<br />
|
|
163
|
-
<b>변호 업무 집중 시스템</b>
|
|
174
|
+
<span onClick={() => handleScroll(2)} className={totalCntClass}>
|
|
175
|
+
<p className={'leading-[1.4] '}>
|
|
176
|
+
<span className={'text-[1.2em] font-extrabold'}>특별수행본부</span>
|
|
177
|
+
와
|
|
178
|
+
<br />
|
|
179
|
+
<span className={'text-[1.2em] font-extrabold'}>소송수행관리본부</span>
|
|
180
|
+
</p>
|
|
181
|
+
<Arrow />
|
|
164
182
|
</span>
|
|
165
|
-
|
|
166
|
-
</span>
|
|
183
|
+
</div>
|
|
167
184
|
</div>
|
|
168
185
|
</div>
|
|
169
|
-
|
|
170
186
|
<div
|
|
171
187
|
className={
|
|
172
|
-
'grid w-full grid-cols-
|
|
188
|
+
'grid w-full grid-cols-4 gap-3 max-xl:grid-cols-2 max-md:grid-cols-1 max-md:gap-[10px] max-md:text-[20px]'
|
|
173
189
|
}
|
|
174
190
|
>
|
|
175
191
|
<span
|
|
176
|
-
onClick={() => handleScroll(
|
|
177
|
-
className={
|
|
178
|
-
'relative flex h-[280px] w-full cursor-pointer flex-col bg-white bg-opacity-90 pl-[6.2%] pr-[20px] pt-[45px] text-left text-black ' +
|
|
179
|
-
'max-5xl:h-[250px] max-5xl:pl-[6%] ' +
|
|
180
|
-
'max-3xl:h-[220px] max-3xl:pl-[5%] ' +
|
|
181
|
-
'max-xl:h-[200px] max-xl:pl-[30px] max-xl:pt-5 ' +
|
|
182
|
-
'max-md:flex max-md:h-[160px] max-md:flex-col max-md:justify-center max-md:pl-[30px] max-md:pt-0 '
|
|
183
|
-
}
|
|
192
|
+
onClick={() => handleScroll(3)}
|
|
193
|
+
className={consultCntClass + 'max-xl:col-span-2 max-md:col-span-1 '}
|
|
184
194
|
>
|
|
185
195
|
<span>
|
|
186
196
|
<span className={'block max-xl:mt-2 max-md:mt-0 xl:mb-2'}>
|
|
187
|
-
|
|
197
|
+
지난 7년간
|
|
188
198
|
<br />
|
|
189
|
-
<LgText className={'text-[#AB0634]'} isSmall>
|
|
190
|
-
{initialData.experience_cnt.toLocaleString()}
|
|
199
|
+
<LgText className={'text-[2.1em] text-[#AB0634]'} isSmall>
|
|
200
|
+
{initialData.experience_cnt.toLocaleString()}+
|
|
191
201
|
</LgText>{' '}
|
|
192
|
-
건의
|
|
193
202
|
</span>
|
|
194
|
-
|
|
203
|
+
사건 수행 <span className={'text-[0.7em]'}>(*종결건수 기준)</span>
|
|
195
204
|
</span>
|
|
196
205
|
<Arrow isRed />
|
|
197
206
|
</span>
|
|
198
207
|
|
|
208
|
+
<span onClick={() => handleScroll(4)} className={successClass + ''}>
|
|
209
|
+
<span
|
|
210
|
+
className={'max-md:w-full max-md:text-left max-2xs:text-[0.9em] max-2xs:leading-tight'}
|
|
211
|
+
>
|
|
212
|
+
로펌 대륜만의 <br />
|
|
213
|
+
<LgText isSmall>AI·IT</LgText>
|
|
214
|
+
<br />
|
|
215
|
+
기술 활용 소송 전략
|
|
216
|
+
</span>
|
|
217
|
+
<Arrow />
|
|
218
|
+
</span>
|
|
199
219
|
<WhiteBox
|
|
200
220
|
onClick={() => handleScroll(5)}
|
|
201
|
-
className={'max-xl:h-[
|
|
221
|
+
className={'max-xl:h-[250px] max-md:h-[160px] max-md:pl-[30px] '}
|
|
202
222
|
>
|
|
203
|
-
<span className={'
|
|
204
|
-
|
|
205
|
-
|
|
223
|
+
<span className={' '}>
|
|
224
|
+
증거조사·
|
|
225
|
+
<br className={'max-md:hidden '} />
|
|
226
|
+
디지털포렌식·경호
|
|
206
227
|
</span>
|
|
207
228
|
</WhiteBox>
|
|
208
229
|
<span
|
|
209
230
|
onClick={() => handleScroll(6)}
|
|
210
|
-
className={
|
|
211
|
-
'relative flex h-[280px] w-full cursor-pointer items-center justify-center bg-[#AB0634] bg-opacity-90 px-[20px] text-center text-[32px] text-white ' +
|
|
212
|
-
'max-5xl:h-[250px] max-5xl:text-[28px] ' +
|
|
213
|
-
'max-3xl:h-[220px] max-3xl:text-[24px] ' +
|
|
214
|
-
'max-xl:h-[200px] max-xl:text-[30px] ' +
|
|
215
|
-
'max-md:flex max-md:h-[160px] max-md:flex-col max-md:justify-center max-md:pl-[30px] max-md:pt-0 max-md:text-[24px] '
|
|
216
|
-
}
|
|
231
|
+
className={careerClass + 'max-xl:col-span-2 max-md:col-span-1 '}
|
|
217
232
|
>
|
|
218
|
-
<
|
|
219
|
-
|
|
220
|
-
<
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
233
|
+
<p className={'leading-[1.3] text-black'}>
|
|
234
|
+
전 세계 사무소{' '}
|
|
235
|
+
<span className={'text-[1.4em] font-extrabold text-[#AB0634]'}>
|
|
236
|
+
{initialData.world_office_cnt}+
|
|
237
|
+
</span>
|
|
238
|
+
<br />
|
|
239
|
+
<span className={'text-[1.4em] font-extrabold text-[#AB0634]'}>365일 24시간</span>{' '}
|
|
240
|
+
<br />
|
|
241
|
+
긴급대응
|
|
242
|
+
</p>
|
|
243
|
+
<Arrow isRed />
|
|
224
244
|
</span>
|
|
225
245
|
</div>
|
|
226
|
-
|
|
227
246
|
<div
|
|
228
247
|
className={
|
|
229
|
-
'grid w-full grid-cols-
|
|
248
|
+
'grid w-full grid-cols-1 gap-3 max-xl:grid-cols-1 max-md:gap-[10px] max-md:text-[20px]'
|
|
230
249
|
}
|
|
231
250
|
>
|
|
232
|
-
<div
|
|
251
|
+
<div
|
|
252
|
+
className={'grid grid-cols-3 gap-3 max-xl:grid-cols-2 max-md:grid-cols-1 max-md:gap-[10px]'}
|
|
253
|
+
>
|
|
233
254
|
<span
|
|
234
|
-
onClick={() => handleScroll(
|
|
235
|
-
className={
|
|
236
|
-
'relative block h-[280px] w-full cursor-pointer bg-[#AB0634] bg-opacity-90 pl-[8%] pr-[20px] pt-[43px] text-white ' +
|
|
237
|
-
'max-5xl:h-[250px] max-5xl:pl-[6%] ' +
|
|
238
|
-
'max-3xl:h-[220px] max-3xl:pl-[5%] ' +
|
|
239
|
-
'max-xl:h-[250px] max-xl:pl-[30px] ' +
|
|
240
|
-
'max-md:flex max-md:h-[160px] max-md:flex-col max-md:justify-center max-md:pl-[30px] max-md:pt-0'
|
|
241
|
-
}
|
|
255
|
+
onClick={() => handleScroll(6)}
|
|
256
|
+
className={successClass + 'max-xl:col-span-2 max-md:col-span-1 '}
|
|
242
257
|
>
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
<
|
|
246
|
-
|
|
247
|
-
</
|
|
258
|
+
<p className={'font-extrabold leading-[1.4]'}>
|
|
259
|
+
실시간 온라인 소통
|
|
260
|
+
<br className={'md:hidden'} />
|
|
261
|
+
프로그램 운영
|
|
262
|
+
</p>
|
|
248
263
|
<Arrow />
|
|
249
264
|
</span>
|
|
250
|
-
<
|
|
251
|
-
onClick={() => handleScroll(8)}
|
|
252
|
-
className={
|
|
253
|
-
'relative flex h-[280px] w-full cursor-pointer bg-white bg-opacity-90 pl-[8%] pr-[10px] pt-[33px] leading-none xl:tracking-[-3px] ' +
|
|
254
|
-
'max-5xl:h-[250px] max-5xl:pl-[6%] ' +
|
|
255
|
-
'max-3xl:h-[220px] max-3xl:pl-[5%] ' +
|
|
256
|
-
'max-xl:h-[250px] max-xl:pl-[30px] ' +
|
|
257
|
-
'max-md:flex max-md:h-[160px] max-md:flex-col max-md:justify-center max-md:pl-[30px] max-md:pt-0'
|
|
258
|
-
}
|
|
259
|
-
>
|
|
260
|
-
<span className={'text-[#AB0634]'}>
|
|
261
|
-
<LgText isSmall>365</LgText> 일, <br className={'max-xl:hidden max-md:block'} />
|
|
262
|
-
<span className={'block md:translate-y-[-15px]'}>
|
|
263
|
-
<LgText isSmall>24</LgText> 시간 <br />
|
|
264
|
-
<span className={'text-black'}>상담·긴급대응</span>
|
|
265
|
-
</span>
|
|
266
|
-
</span>
|
|
267
|
-
<Arrow isRed />
|
|
268
|
-
</span>
|
|
269
|
-
</div>
|
|
270
|
-
<div className={'grid grid-cols-2 gap-3 max-md:grid-cols-1 max-md:gap-[10px]'}>
|
|
271
|
-
<WhiteBox onClick={() => handleScroll(9)} className={'max-xl:h-[250px] max-md:h-[160px]'}>
|
|
265
|
+
<WhiteBox onClick={() => handleScroll(7)} className={'max-xl:h-[250px] max-md:h-[160px]'}>
|
|
272
266
|
<span>
|
|
273
|
-
<span className={'block font-[800]'}
|
|
267
|
+
<span className={'block font-[800] '}>송무서비스 품질 보증제</span>
|
|
274
268
|
</span>
|
|
275
269
|
</WhiteBox>
|
|
276
|
-
<span
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
'
|
|
280
|
-
|
|
281
|
-
'max-3xl:h-[220px] max-3xl:text-[24px] ' +
|
|
282
|
-
'max-xl:h-[250px] ' +
|
|
283
|
-
'max-xl:text-[30px] ' +
|
|
284
|
-
'max-md:h-[160px] max-md:text-[24px] '
|
|
285
|
-
}
|
|
286
|
-
>
|
|
287
|
-
<span>
|
|
288
|
-
<span className={'block font-bold text-[#AB0634]'}>고객 만족률 98%</span>
|
|
289
|
-
송무서비스 품질 보증
|
|
290
|
-
<br />
|
|
291
|
-
<p className={'mt-[10px] text-[15px] text-[#919191]'}>
|
|
292
|
-
*최근 3개월 기간 내 고객{' '}
|
|
293
|
-
<br className={'hidden max-6xl:block max-xl:hidden max-xs:block'} /> 3,800명
|
|
294
|
-
대상 만족도 조사 기준
|
|
295
|
-
</p>
|
|
296
|
-
</span>
|
|
270
|
+
<span onClick={() => handleScroll(8)} className={customerClass}>
|
|
271
|
+
<p className={''}>
|
|
272
|
+
<span className={'font-extrabold text-[#AB0634]'}>명확한 보수기준</span> 및<br />
|
|
273
|
+
<span className={'font-extrabold text-[#AB0634]'}>수임료 정찰제 운영</span>
|
|
274
|
+
</p>
|
|
297
275
|
<Arrow isRed />
|
|
298
276
|
</span>
|
|
299
277
|
</div>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { IInitialDataTypes } from '../../common';
|
|
3
|
-
declare const StrengthList: ({ initialData }: {
|
|
3
|
+
declare const StrengthList: ({ initialData, centerCount }: {
|
|
4
4
|
initialData: IInitialDataTypes;
|
|
5
|
+
centerCount: number;
|
|
5
6
|
}) => React.JSX.Element;
|
|
6
7
|
export default StrengthList;
|
|
@@ -4,7 +4,7 @@ import Image from 'next/image';
|
|
|
4
4
|
import useBrowser from '../../common/hook/useBrowser';
|
|
5
5
|
import { strengthList } from '../../common/strength';
|
|
6
6
|
import { replaceInitialData } from '../../../lib';
|
|
7
|
-
const StrengthList = ({ initialData }) => {
|
|
7
|
+
const StrengthList = ({ initialData, centerCount }) => {
|
|
8
8
|
const { width } = useBrowser();
|
|
9
9
|
return (<section className={'max-md: relative flex w-full flex-col gap-[220px] overflow-hidden pb-[220px] pt-[240px] ' +
|
|
10
10
|
'max-3xl:gap-[180px] ' +
|
|
@@ -21,11 +21,11 @@ const StrengthList = ({ initialData }) => {
|
|
|
21
21
|
'max-2sm:px-[20px] '}>
|
|
22
22
|
{/*이미지*/}
|
|
23
23
|
<div className={'w-full ' + (isOdd ? 'flex justify-end max-lg:justify-center' : '')}>
|
|
24
|
-
{isOdd ? (<ImageSection index={index}/>) : (<ListSection initialData={initialData} item={item} index={index}/>)}
|
|
24
|
+
{isOdd ? (<ImageSection index={index}/>) : (<ListSection initialData={initialData} item={item} index={index} centerCount={centerCount}/>)}
|
|
25
25
|
</div>
|
|
26
26
|
|
|
27
27
|
<div className={'w-[48.6%] shrink-0 max-lg:w-full'}>
|
|
28
|
-
{isOdd ? (<ListSection initialData={initialData} item={item} index={index}/>) : (<ImageSection index={index}/>)}
|
|
28
|
+
{isOdd ? (<ListSection initialData={initialData} item={item} index={index} centerCount={centerCount}/>) : (<ImageSection index={index}/>)}
|
|
29
29
|
</div>
|
|
30
30
|
</div>
|
|
31
31
|
</div>);
|
|
@@ -48,18 +48,19 @@ const ImageSection = ({ index }) => {
|
|
|
48
48
|
: 'right-10 max-3xl:right-[28px] max-lg:right-10 max-md2:right-[28px] max-md:right-[24px] max-xs:right-4')}>
|
|
49
49
|
{index < 9 ? `0${index + 1}` : index + 1}
|
|
50
50
|
</span>
|
|
51
|
-
<Image id={`strength_${index}_img`} src={`https://d1tgonli21s4df.cloudfront.net/strength/
|
|
51
|
+
<Image id={`strength_${index}_img`} src={`https://d1tgonli21s4df.cloudfront.net/strength/list_0${index + 1}.webp`} alt={'강점 배경 ' + (index + 1)} fill sizes={'(max-width: 1024px) 95vw, 45vw'} className={'object-cover'}/>
|
|
52
52
|
</div>
|
|
53
53
|
</>);
|
|
54
54
|
};
|
|
55
|
-
const ListSection = ({ initialData, item, index }) => {
|
|
55
|
+
const ListSection = ({ initialData, item, centerCount, index }) => {
|
|
56
56
|
const isOdd = (index + 1) % 2 !== 0;
|
|
57
57
|
return (<>
|
|
58
58
|
<h2 id={`strength_${index}`} className={'mb-4 text-[24px] font-[800] tracking-[-0.96px] text-[#AB0634] ' +
|
|
59
59
|
'max-4xl:text-[22px] ' +
|
|
60
60
|
'max-xxl:text-[20px] ' +
|
|
61
61
|
'max-md:mb-3 max-md:text-[18px] max-md:tracking-[-0.72px] '}>
|
|
62
|
-
{replaceInitialData(item.subTitle, initialData)}
|
|
62
|
+
{replaceInitialData(item.subTitle, initialData).split('--')[0]}
|
|
63
|
+
{item.subTitle.split('--').length > 1 && (<span className={'text-[0.75em] font-medium'}>{item.subTitle.split('--')[1]}</span>)}
|
|
63
64
|
</h2>
|
|
64
65
|
<p className={'mb-10 break-keep text-[32px] font-[800] leading-[1.33] tracking-[-1.28px] md:whitespace-pre-wrap ' +
|
|
65
66
|
(index === 9 || index === 10
|
|
@@ -85,7 +86,10 @@ const ListSection = ({ initialData, item, index }) => {
|
|
|
85
86
|
'max-lg:text-[24px] ' +
|
|
86
87
|
'max-md2:text-[20px] ' +
|
|
87
88
|
'max-md:mb-[16px] max-md:tracking-[-1px]'}>
|
|
88
|
-
{replaceInitialData(list.liTitle, initialData)}
|
|
89
|
+
{replaceInitialData(list.liTitle, initialData).split('--')[0]}
|
|
90
|
+
{list.liTitle.split('--').length > 1 && (<span className={'text-[0.75em] font-medium'}>
|
|
91
|
+
{list.liTitle.split('--')[1]}
|
|
92
|
+
</span>)}
|
|
89
93
|
</h3>) : (<></>)}
|
|
90
94
|
|
|
91
95
|
<ul key={'ul_' + index} className={(isOdd ? 'w-[96.5%]' : '') + ' list-outside list-["-__"] pl-[22px]'}>
|
|
@@ -113,7 +117,7 @@ const ListSection = ({ initialData, item, index }) => {
|
|
|
113
117
|
'max-lg:text-[20px] ' +
|
|
114
118
|
'max-md2:text-[18px] ' +
|
|
115
119
|
'max-md:text-[16px] max-md:tracking-[-0.64px]'}>
|
|
116
|
-
{replaceInitialData(liItem, initialData)}
|
|
120
|
+
{replaceInitialData(liItem, initialData).replace('$center_count$', String(centerCount))}
|
|
117
121
|
</li>);
|
|
118
122
|
})}
|
|
119
123
|
</ul>
|
|
@@ -6,7 +6,7 @@ import useBrowser from '../../common/hook/useBrowser';
|
|
|
6
6
|
import { IInitialDataTypes } from '../../common';
|
|
7
7
|
import { strengthList } from '../../common/strength';
|
|
8
8
|
import { replaceInitialData } from '../../../lib';
|
|
9
|
-
const StrengthList = ({ initialData }: { initialData: IInitialDataTypes }) => {
|
|
9
|
+
const StrengthList = ({ initialData, centerCount }: { initialData: IInitialDataTypes; centerCount: number }) => {
|
|
10
10
|
const { width } = useBrowser();
|
|
11
11
|
return (
|
|
12
12
|
<section
|
|
@@ -37,13 +37,23 @@ const StrengthList = ({ initialData }: { initialData: IInitialDataTypes }) => {
|
|
|
37
37
|
{isOdd ? (
|
|
38
38
|
<ImageSection index={index} />
|
|
39
39
|
) : (
|
|
40
|
-
<ListSection
|
|
40
|
+
<ListSection
|
|
41
|
+
initialData={initialData}
|
|
42
|
+
item={item}
|
|
43
|
+
index={index}
|
|
44
|
+
centerCount={centerCount}
|
|
45
|
+
/>
|
|
41
46
|
)}
|
|
42
47
|
</div>
|
|
43
48
|
|
|
44
49
|
<div className={'w-[48.6%] shrink-0 max-lg:w-full'}>
|
|
45
50
|
{isOdd ? (
|
|
46
|
-
<ListSection
|
|
51
|
+
<ListSection
|
|
52
|
+
initialData={initialData}
|
|
53
|
+
item={item}
|
|
54
|
+
index={index}
|
|
55
|
+
centerCount={centerCount}
|
|
56
|
+
/>
|
|
47
57
|
) : (
|
|
48
58
|
<ImageSection index={index} />
|
|
49
59
|
)}
|
|
@@ -84,7 +94,7 @@ const ImageSection = ({ index }: { index: number }) => {
|
|
|
84
94
|
</span>
|
|
85
95
|
<Image
|
|
86
96
|
id={`strength_${index}_img`}
|
|
87
|
-
src={`https://d1tgonli21s4df.cloudfront.net/strength/
|
|
97
|
+
src={`https://d1tgonli21s4df.cloudfront.net/strength/list_0${index + 1}.webp`}
|
|
88
98
|
alt={'강점 배경 ' + (index + 1)}
|
|
89
99
|
fill
|
|
90
100
|
sizes={'(max-width: 1024px) 95vw, 45vw'}
|
|
@@ -97,10 +107,12 @@ const ImageSection = ({ index }: { index: number }) => {
|
|
|
97
107
|
const ListSection = ({
|
|
98
108
|
initialData,
|
|
99
109
|
item,
|
|
110
|
+
centerCount,
|
|
100
111
|
index
|
|
101
112
|
}: {
|
|
102
113
|
index: number;
|
|
103
114
|
initialData: IInitialDataTypes;
|
|
115
|
+
centerCount: number;
|
|
104
116
|
item: { subTitle: string; title: string; list: { liTitle: string; li: string[] }[] };
|
|
105
117
|
}) => {
|
|
106
118
|
const isOdd = (index + 1) % 2 !== 0;
|
|
@@ -115,7 +127,10 @@ const ListSection = ({
|
|
|
115
127
|
'max-md:mb-3 max-md:text-[18px] max-md:tracking-[-0.72px] '
|
|
116
128
|
}
|
|
117
129
|
>
|
|
118
|
-
{replaceInitialData(item.subTitle, initialData)}
|
|
130
|
+
{replaceInitialData(item.subTitle, initialData).split('--')[0]}
|
|
131
|
+
{item.subTitle.split('--').length > 1 && (
|
|
132
|
+
<span className={'text-[0.75em] font-medium'}>{item.subTitle.split('--')[1]}</span>
|
|
133
|
+
)}
|
|
119
134
|
</h2>
|
|
120
135
|
<p
|
|
121
136
|
className={
|
|
@@ -155,7 +170,12 @@ const ListSection = ({
|
|
|
155
170
|
'max-md:mb-[16px] max-md:tracking-[-1px]'
|
|
156
171
|
}
|
|
157
172
|
>
|
|
158
|
-
{replaceInitialData(list.liTitle, initialData)}
|
|
173
|
+
{replaceInitialData(list.liTitle, initialData).split('--')[0]}
|
|
174
|
+
{list.liTitle.split('--').length > 1 && (
|
|
175
|
+
<span className={'text-[0.75em] font-medium'}>
|
|
176
|
+
{list.liTitle.split('--')[1]}
|
|
177
|
+
</span>
|
|
178
|
+
)}
|
|
159
179
|
</h3>
|
|
160
180
|
) : (
|
|
161
181
|
<></>
|
|
@@ -209,7 +229,10 @@ const ListSection = ({
|
|
|
209
229
|
'max-md:text-[16px] max-md:tracking-[-0.64px]'
|
|
210
230
|
}
|
|
211
231
|
>
|
|
212
|
-
{replaceInitialData(liItem, initialData)
|
|
232
|
+
{replaceInitialData(liItem, initialData).replace(
|
|
233
|
+
'$center_count$',
|
|
234
|
+
String(centerCount)
|
|
235
|
+
)}
|
|
213
236
|
</li>
|
|
214
237
|
);
|
|
215
238
|
})}
|
package/dist/lib/utils.js
CHANGED
|
@@ -341,6 +341,8 @@ export const replaceInitialData = (str, initialData) => {
|
|
|
341
341
|
return str
|
|
342
342
|
.replace('*lawyer_cnt*', initialData.lawyer_cnt.toLocaleString())
|
|
343
343
|
.replace('*office_cnt*', initialData.office_cnt.toLocaleString())
|
|
344
|
+
.replace('*world_office_cnt*', initialData.world_office_cnt.toLocaleString())
|
|
345
|
+
.replace('*total_world_office_cnt*', initialData.total_world_office_cnt.toLocaleString())
|
|
344
346
|
.replace('*consult_cnt*', initialData.consult_cnt.toLocaleString())
|
|
345
347
|
.replace('*success_cnt*', initialData.success_cnt.toLocaleString())
|
|
346
348
|
.replace('*center_cnt*', initialData.center_cnt.toLocaleString())
|
package/dist/lib/utils.ts
CHANGED
|
@@ -374,6 +374,8 @@ export const replaceInitialData = (str: string, initialData: IInitialDataTypes)
|
|
|
374
374
|
return str
|
|
375
375
|
.replace('*lawyer_cnt*', initialData.lawyer_cnt.toLocaleString())
|
|
376
376
|
.replace('*office_cnt*', initialData.office_cnt.toLocaleString())
|
|
377
|
+
.replace('*world_office_cnt*', initialData.world_office_cnt.toLocaleString())
|
|
378
|
+
.replace('*total_world_office_cnt*', initialData.total_world_office_cnt.toLocaleString())
|
|
377
379
|
.replace('*consult_cnt*', initialData.consult_cnt.toLocaleString())
|
|
378
380
|
.replace('*success_cnt*', initialData.success_cnt.toLocaleString())
|
|
379
381
|
.replace('*center_cnt*', initialData.center_cnt.toLocaleString())
|