@daeryun/dr_components 1.0.84 → 1.0.85
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/BrochureBtn/BrochureBtn.d.ts +1 -0
- package/dist/components/BrochureBtn/BrochureBtn.jsx +24 -8
- package/dist/components/BrochureBtn/BrochureBtn.stories.d.ts +1 -0
- package/dist/components/BrochureBtn/BrochureBtn.tsx +63 -6
- package/dist/components/BrochureBtn/MedicalBrochureBtn.jsx +2 -0
- package/dist/components/BrochureBtn/MedicalBrochureBtn.tsx +9 -0
- package/dist/components/Footer/index.jsx +36 -25
- package/dist/components/Footer/index.tsx +77 -36
- package/dist/components/common/integrate/index.d.ts +1 -1
- package/dist/styles/globals.css +405 -370
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -155,9 +155,9 @@ const NewFooter = ({ groupsData, center_code, tel, logo, aceUrl, isBrochureBtn,
|
|
|
155
155
|
return (<footer className={'relative mb-[30px] flex h-[550px] w-full items-center justify-center border-t border-solid border-[#A8A8A8] bg-white text-[18px] ' +
|
|
156
156
|
(isBrochureBtn
|
|
157
157
|
? isMedical
|
|
158
|
-
? 'max-xl:h-[
|
|
159
|
-
: 'max-xl:h-[
|
|
160
|
-
: 'max-
|
|
158
|
+
? 'max-xl:h-[700px] max-lg:h-[860px] max-md:h-[780px] max-xs:h-[930px] max-2xs:h-[900px] '
|
|
159
|
+
: 'max-xl:h-[700px] max-md:h-[650px] max-xs:h-[840px] '
|
|
160
|
+
: 'max-xl:h-[700px] max-md:h-[600px] max-xs:h-[800px] max-2xs:h-[780px] ') +
|
|
161
161
|
'max-lg:mb-[70px] '}>
|
|
162
162
|
{/*top button*/}
|
|
163
163
|
<Wrapper isNotRelative id={'footer'} className={'absolute top-0'}>
|
|
@@ -167,39 +167,49 @@ const NewFooter = ({ groupsData, center_code, tel, logo, aceUrl, isBrochureBtn,
|
|
|
167
167
|
</Wrapper>
|
|
168
168
|
<Wrapper id={'footer'}>
|
|
169
169
|
<div className={'w-full'}>
|
|
170
|
-
<div className={'mb-5 font-[800] tracking-[-0px] max-xl:mb-[50px] max-xl:justify-center xs:flex xs:items-center ' +
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
170
|
+
<div className={'mb-5 font-[800] tracking-[-0px] max-xl:mb-[50px] max-xl:flex-col max-xl:justify-center max-xl:gap-[40px] xs:flex xs:items-center ' +
|
|
171
|
+
'max-xl:flex-col max-lg:gap-[10px] '
|
|
172
|
+
// (isBrochureBtn
|
|
173
|
+
// ? ' max-xl:flex-col max-xl:gap-[40px]'
|
|
174
|
+
// : isLogoLong
|
|
175
|
+
// ? 'max-xl:gap-[2%] '
|
|
176
|
+
// : ' max-xl:gap-[5%] ')
|
|
177
|
+
}>
|
|
176
178
|
<Link href={'/'} className={'shrink-0'}>
|
|
177
|
-
<Image src={logo} alt="대륜 로고" width={216} height={33} className={
|
|
178
|
-
|
|
179
|
-
|
|
179
|
+
<Image src={logo} alt="대륜 로고" width={216} height={33} className={'max-lg:mb-[30px] max-xs:mb-0 ' +
|
|
180
|
+
`${isLogoLong
|
|
181
|
+
? 'h-auto w-[300px] max-xl:h-[40px] max-xl:w-auto max-md2:h-[30px] max-sm:h-[25px] max-xs:h-[35px] max-2xs:h-[30px] max-3xs:h-[26px] '
|
|
182
|
+
: 'h-auto w-[208px] max-xl:h-[45px] max-xl:w-auto max-md2:h-[40px] '}`}/>
|
|
180
183
|
</Link>
|
|
181
184
|
|
|
182
185
|
{/*<div className={'flex gap-[36px] max-xxl:gap-[20px] max-xl:hidden '}>*/}
|
|
183
186
|
{/* <FooterLinkList />*/}
|
|
184
187
|
{/*</div>*/}
|
|
185
|
-
{isBrochureBtn && !isMedical ? (<span className={'flex w-full flex-1 items-center justify-center gap-[
|
|
188
|
+
{isBrochureBtn && !isMedical ? (<span className={'flex w-full flex-1 flex-col items-center justify-center gap-[20px] max-md:gap-[15px] max-2sm:gap-[10px]'}>
|
|
186
189
|
<FooterSelectBox wrapperRef={wrapperRef} groupsData={groupsData} routeLocation={routeLocation} setIsOpen={setIsOpen} isOpen={isOpen} isBrochureBtn={isBrochureBtn} centerLink={centerLink}/>
|
|
187
|
-
<BrochureBtn width={'280px'} height={'60px'} className={'xl:hidden ' +
|
|
190
|
+
<BrochureBtn width={'280px'} height={'60px'} wrapClassName={'max-xs:hidden'} className={'xl:hidden ' +
|
|
188
191
|
//768px
|
|
189
192
|
'max-md:mx-[-10px] max-md:scale-90 ' +
|
|
190
193
|
//590px
|
|
191
|
-
'max-[590px]:mx-[-30px] max-[590px]:scale-[.75] '
|
|
192
|
-
//480px
|
|
193
|
-
'max-xs:hidden'} type={brochureType}/>
|
|
194
|
+
'max-[590px]:mx-[-30px] max-[590px]:scale-[.75] '} type={brochureType}/>
|
|
194
195
|
</span>) : isBrochureBtn && isMedical ? (<span className={'flex w-full flex-1 flex-col items-center justify-center gap-[20px] max-md:gap-[15px] max-2sm:gap-[10px]'}>
|
|
195
196
|
<FooterSelectBox wrapperRef={wrapperRef} groupsData={groupsData} routeLocation={routeLocation} setIsOpen={setIsOpen} isOpen={isOpen} isBrochureBtn={isBrochureBtn} centerLink={centerLink}/>
|
|
196
|
-
<MedicalBrochureBtn width={'280px'} height={'60px'} wrapClassName={'max-
|
|
197
|
+
<MedicalBrochureBtn width={'280px'} height={'60px'} wrapClassName={'max-lg:hidden'} className={'xl:hidden ' +
|
|
197
198
|
//768px
|
|
198
199
|
'max-md:mx-[-10px] max-md:scale-90 ' +
|
|
199
200
|
//590px
|
|
200
201
|
'max-[590px]:mx-[-30px] max-[590px]:scale-[.75] '}/>
|
|
201
|
-
</span>) : (<
|
|
202
|
-
|
|
202
|
+
</span>) : (<span className={'flex w-full flex-1 items-center justify-center gap-[40px] max-md:gap-[5px] max-2sm:gap-[10px]'}>
|
|
203
|
+
<FooterSelectBox wrapperRef={wrapperRef} groupsData={groupsData} routeLocation={routeLocation} setIsOpen={setIsOpen} isOpen={isOpen} isBrochureBtn={isBrochureBtn} centerLink={centerLink}/>
|
|
204
|
+
<BrochureBtn width={'280px'} height={'60px'} className={'xl:hidden ' +
|
|
205
|
+
//768px
|
|
206
|
+
'max-md:mx-[-10px] max-md:scale-90 ' +
|
|
207
|
+
//590px
|
|
208
|
+
'max-[590px]:mx-[-30px] max-[590px]:scale-[.75] ' +
|
|
209
|
+
//480px
|
|
210
|
+
'max-xs:hidden'} type={'main'}/>
|
|
211
|
+
</span>)}
|
|
212
|
+
{isBrochureBtn && isMedical ? (<MedicalBrochureBtn rounded={false} width={'100%'} height={'55px'} wrapClassName={'lg:hidden flex-col w-full max-w-[300px] max-xs:max-w-full'} className={'mt-[10px]'}/>) : isBrochureBtn ? (<BrochureBtn rounded={false} width={'100%'} height={'55px'} className={'mt-[20px]'} wrapClassName={'xs:hidden flex-col '} type={brochureType}/>) : (<BrochureBtn rounded={false} width={'100%'} height={'55px'} className={'mt-[20px] xs:hidden'} type={'main'}/>)}
|
|
203
213
|
</div>
|
|
204
214
|
|
|
205
215
|
{/*xl일때부터 or en*/}
|
|
@@ -258,7 +268,7 @@ const NewFooter = ({ groupsData, center_code, tel, logo, aceUrl, isBrochureBtn,
|
|
|
258
268
|
<Link href="https://www.instagram.com/daeryun_lawfirm/?utm_medium=copy_link" target="_blank" rel="noopener noreferrer nofollow">
|
|
259
269
|
<Image draggable={false} src={sns05} alt="법무법인(유한) 대륜 인스타그램" width={66} height={66} className={'mr-[5px] h-auto w-[44px] max-md:m-0 max-md:w-[40px] max-xs:mr-[17px] max-xs:w-[45px] max-2xs:w-[40px] max-3xs:w-[35px]'}/>
|
|
260
270
|
</Link>
|
|
261
|
-
{isBrochureBtn && isMedical ? (<MedicalBrochureBtn width={'280px'} height={'58px'} wrapClassName={'ml-4 max-xl:hidden'} className={'-translate-y-2'}/>) : isBrochureBtn ? (<BrochureBtn width={'280px'} height={'58px'} className={'ml-4 -translate-y-2 max-xl:hidden'} type={
|
|
271
|
+
{isBrochureBtn && isMedical ? (<MedicalBrochureBtn width={'280px'} height={'58px'} wrapClassName={'ml-4 max-xl:hidden'} className={'-translate-y-2'}/>) : isBrochureBtn ? (<BrochureBtn width={'280px'} height={'58px'} wrapClassName={'ml-4 max-xl:hidden'} className={'-translate-y-2'} type={brochureType}/>) : (<BrochureBtn width={'280px'} height={'58px'} className={'ml-4 -translate-y-2 max-xl:hidden'} type={'main'}/>)}
|
|
262
272
|
</div>
|
|
263
273
|
</div>
|
|
264
274
|
</Wrapper>
|
|
@@ -322,12 +332,13 @@ export const FooterLinkList = () => {
|
|
|
322
332
|
const FooterSelectBox = (props) => {
|
|
323
333
|
const { isBrochureBtn, wrapperRef, setIsOpen, isOpen, centerLink, routeLocation, groupsData } = props;
|
|
324
334
|
const list = groupsData != null && groupsData.length > 0 ? groupsData : centerLink;
|
|
325
|
-
return (<div className={(isBrochureBtn ? 'max-
|
|
335
|
+
return (<div className={(isBrochureBtn ? 'max-w-[300px] max-md:w-full max-xs:max-w-full ' : 'max-md:w-[260px] max-xs:w-full ') +
|
|
336
|
+
' xl:ml-auto'}>
|
|
326
337
|
<div ref={wrapperRef} className={'relative h-[68px] w-[290px] ' +
|
|
327
338
|
// 'max-xxl:w-[240px] ' +
|
|
328
|
-
'max-xl:w-[
|
|
329
|
-
'max-md:h-[53px] max-md:w-
|
|
330
|
-
'max-sm:h-[48px]
|
|
339
|
+
'max-xl:w-[300px] ' +
|
|
340
|
+
'max-md:h-[53px] max-md:w-full ' +
|
|
341
|
+
'max-sm:h-[48px] ' +
|
|
331
342
|
'z-10 max-xs:mt-[8.2vw] max-xs:h-[55px] max-xs:w-full '}>
|
|
332
343
|
<button type="button" className={'border-gray-[#707070] h-full w-full appearance-none border border-solid bg-white pr-[30px] font-normal focus:outline-8 focus:outline-blue-500 ' +
|
|
333
344
|
// 'max-xxl:text-[16px] ' +
|
|
@@ -173,9 +173,9 @@ const NewFooter = ({
|
|
|
173
173
|
'relative mb-[30px] flex h-[550px] w-full items-center justify-center border-t border-solid border-[#A8A8A8] bg-white text-[18px] ' +
|
|
174
174
|
(isBrochureBtn
|
|
175
175
|
? isMedical
|
|
176
|
-
? 'max-xl:h-[
|
|
177
|
-
: 'max-xl:h-[
|
|
178
|
-
: 'max-
|
|
176
|
+
? 'max-xl:h-[700px] max-lg:h-[860px] max-md:h-[780px] max-xs:h-[930px] max-2xs:h-[900px] '
|
|
177
|
+
: 'max-xl:h-[700px] max-md:h-[650px] max-xs:h-[840px] '
|
|
178
|
+
: 'max-xl:h-[700px] max-md:h-[600px] max-xs:h-[800px] max-2xs:h-[780px] ') +
|
|
179
179
|
'max-lg:mb-[70px] '
|
|
180
180
|
}
|
|
181
181
|
>
|
|
@@ -189,12 +189,13 @@ const NewFooter = ({
|
|
|
189
189
|
<div className={'w-full'}>
|
|
190
190
|
<div
|
|
191
191
|
className={
|
|
192
|
-
'mb-5 font-[800] tracking-[-0px] max-xl:mb-[50px] max-xl:justify-center xs:flex xs:items-center ' +
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
192
|
+
'mb-5 font-[800] tracking-[-0px] max-xl:mb-[50px] max-xl:flex-col max-xl:justify-center max-xl:gap-[40px] xs:flex xs:items-center ' +
|
|
193
|
+
'max-xl:flex-col max-lg:gap-[10px] '
|
|
194
|
+
// (isBrochureBtn
|
|
195
|
+
// ? ' max-xl:flex-col max-xl:gap-[40px]'
|
|
196
|
+
// : isLogoLong
|
|
197
|
+
// ? 'max-xl:gap-[2%] '
|
|
198
|
+
// : ' max-xl:gap-[5%] ')
|
|
198
199
|
}
|
|
199
200
|
>
|
|
200
201
|
<Link href={'/'} className={'shrink-0'}>
|
|
@@ -204,9 +205,12 @@ const NewFooter = ({
|
|
|
204
205
|
width={216}
|
|
205
206
|
height={33}
|
|
206
207
|
className={
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
208
|
+
'max-lg:mb-[30px] max-xs:mb-0 ' +
|
|
209
|
+
`${
|
|
210
|
+
isLogoLong
|
|
211
|
+
? 'h-auto w-[300px] max-xl:h-[40px] max-xl:w-auto max-md2:h-[30px] max-sm:h-[25px] max-xs:h-[35px] max-2xs:h-[30px] max-3xs:h-[26px] '
|
|
212
|
+
: 'h-auto w-[208px] max-xl:h-[45px] max-xl:w-auto max-md2:h-[40px] '
|
|
213
|
+
}`
|
|
210
214
|
}
|
|
211
215
|
/>
|
|
212
216
|
</Link>
|
|
@@ -217,7 +221,7 @@ const NewFooter = ({
|
|
|
217
221
|
{isBrochureBtn && !isMedical ? (
|
|
218
222
|
<span
|
|
219
223
|
className={
|
|
220
|
-
'flex w-full flex-1 items-center justify-center gap-[
|
|
224
|
+
'flex w-full flex-1 flex-col items-center justify-center gap-[20px] max-md:gap-[15px] max-2sm:gap-[10px]'
|
|
221
225
|
}
|
|
222
226
|
>
|
|
223
227
|
<FooterSelectBox
|
|
@@ -232,14 +236,13 @@ const NewFooter = ({
|
|
|
232
236
|
<BrochureBtn
|
|
233
237
|
width={'280px'}
|
|
234
238
|
height={'60px'}
|
|
239
|
+
wrapClassName={'max-xs:hidden'}
|
|
235
240
|
className={
|
|
236
241
|
'xl:hidden ' +
|
|
237
242
|
//768px
|
|
238
243
|
'max-md:mx-[-10px] max-md:scale-90 ' +
|
|
239
244
|
//590px
|
|
240
|
-
'max-[590px]:mx-[-30px] max-[590px]:scale-[.75] '
|
|
241
|
-
//480px
|
|
242
|
-
'max-xs:hidden'
|
|
245
|
+
'max-[590px]:mx-[-30px] max-[590px]:scale-[.75] '
|
|
243
246
|
}
|
|
244
247
|
type={brochureType}
|
|
245
248
|
/>
|
|
@@ -262,7 +265,7 @@ const NewFooter = ({
|
|
|
262
265
|
<MedicalBrochureBtn
|
|
263
266
|
width={'280px'}
|
|
264
267
|
height={'60px'}
|
|
265
|
-
wrapClassName={'max-
|
|
268
|
+
wrapClassName={'max-lg:hidden'}
|
|
266
269
|
className={
|
|
267
270
|
'xl:hidden ' +
|
|
268
271
|
//768px
|
|
@@ -273,34 +276,61 @@ const NewFooter = ({
|
|
|
273
276
|
/>
|
|
274
277
|
</span>
|
|
275
278
|
) : (
|
|
276
|
-
<
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
279
|
+
<span
|
|
280
|
+
className={
|
|
281
|
+
'flex w-full flex-1 items-center justify-center gap-[40px] max-md:gap-[5px] max-2sm:gap-[10px]'
|
|
282
|
+
}
|
|
283
|
+
>
|
|
284
|
+
<FooterSelectBox
|
|
285
|
+
wrapperRef={wrapperRef}
|
|
286
|
+
groupsData={groupsData}
|
|
287
|
+
routeLocation={routeLocation}
|
|
288
|
+
setIsOpen={setIsOpen}
|
|
289
|
+
isOpen={isOpen}
|
|
290
|
+
isBrochureBtn={isBrochureBtn}
|
|
291
|
+
centerLink={centerLink}
|
|
292
|
+
/>
|
|
293
|
+
<BrochureBtn
|
|
294
|
+
width={'280px'}
|
|
295
|
+
height={'60px'}
|
|
296
|
+
className={
|
|
297
|
+
'xl:hidden ' +
|
|
298
|
+
//768px
|
|
299
|
+
'max-md:mx-[-10px] max-md:scale-90 ' +
|
|
300
|
+
//590px
|
|
301
|
+
'max-[590px]:mx-[-30px] max-[590px]:scale-[.75] ' +
|
|
302
|
+
//480px
|
|
303
|
+
'max-xs:hidden'
|
|
304
|
+
}
|
|
305
|
+
type={'main'}
|
|
306
|
+
/>
|
|
307
|
+
</span>
|
|
285
308
|
)}
|
|
286
309
|
{isBrochureBtn && isMedical ? (
|
|
287
310
|
<MedicalBrochureBtn
|
|
288
311
|
rounded={false}
|
|
289
312
|
width={'100%'}
|
|
290
313
|
height={'55px'}
|
|
291
|
-
wrapClassName={'
|
|
292
|
-
className={'mt-[
|
|
314
|
+
wrapClassName={'lg:hidden flex-col w-full max-w-[300px] max-xs:max-w-full'}
|
|
315
|
+
className={'mt-[10px]'}
|
|
293
316
|
/>
|
|
294
317
|
) : isBrochureBtn ? (
|
|
295
318
|
<BrochureBtn
|
|
296
319
|
rounded={false}
|
|
297
320
|
width={'100%'}
|
|
298
321
|
height={'55px'}
|
|
299
|
-
className={'mt-[20px]
|
|
322
|
+
className={'mt-[20px]'}
|
|
323
|
+
wrapClassName={'xs:hidden flex-col '}
|
|
300
324
|
type={brochureType}
|
|
301
325
|
/>
|
|
302
326
|
) : (
|
|
303
|
-
|
|
327
|
+
<BrochureBtn
|
|
328
|
+
rounded={false}
|
|
329
|
+
width={'100%'}
|
|
330
|
+
height={'55px'}
|
|
331
|
+
className={'mt-[20px] xs:hidden'}
|
|
332
|
+
type={'main'}
|
|
333
|
+
/>
|
|
304
334
|
)}
|
|
305
335
|
</div>
|
|
306
336
|
|
|
@@ -455,11 +485,17 @@ const NewFooter = ({
|
|
|
455
485
|
<BrochureBtn
|
|
456
486
|
width={'280px'}
|
|
457
487
|
height={'58px'}
|
|
458
|
-
|
|
488
|
+
wrapClassName={'ml-4 max-xl:hidden'}
|
|
489
|
+
className={'-translate-y-2'}
|
|
459
490
|
type={brochureType}
|
|
460
491
|
/>
|
|
461
492
|
) : (
|
|
462
|
-
|
|
493
|
+
<BrochureBtn
|
|
494
|
+
width={'280px'}
|
|
495
|
+
height={'58px'}
|
|
496
|
+
className={'ml-4 -translate-y-2 max-xl:hidden'}
|
|
497
|
+
type={'main'}
|
|
498
|
+
/>
|
|
463
499
|
)}
|
|
464
500
|
</div>
|
|
465
501
|
</div>
|
|
@@ -548,15 +584,20 @@ const FooterSelectBox = (props: {
|
|
|
548
584
|
|
|
549
585
|
const list = groupsData != null && groupsData.length > 0 ? groupsData : centerLink;
|
|
550
586
|
return (
|
|
551
|
-
<div
|
|
587
|
+
<div
|
|
588
|
+
className={
|
|
589
|
+
(isBrochureBtn ? 'max-w-[300px] max-md:w-full max-xs:max-w-full ' : 'max-md:w-[260px] max-xs:w-full ') +
|
|
590
|
+
' xl:ml-auto'
|
|
591
|
+
}
|
|
592
|
+
>
|
|
552
593
|
<div
|
|
553
594
|
ref={wrapperRef}
|
|
554
595
|
className={
|
|
555
596
|
'relative h-[68px] w-[290px] ' +
|
|
556
597
|
// 'max-xxl:w-[240px] ' +
|
|
557
|
-
'max-xl:w-[
|
|
558
|
-
'max-md:h-[53px] max-md:w-
|
|
559
|
-
'max-sm:h-[48px]
|
|
598
|
+
'max-xl:w-[300px] ' +
|
|
599
|
+
'max-md:h-[53px] max-md:w-full ' +
|
|
600
|
+
'max-sm:h-[48px] ' +
|
|
560
601
|
'z-10 max-xs:mt-[8.2vw] max-xs:h-[55px] max-xs:w-full '
|
|
561
602
|
}
|
|
562
603
|
>
|