@daeryun/dr_components 1.1.77 → 1.1.79
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.
|
@@ -187,21 +187,21 @@ const NewFooter = ({ groupsData, tel, logo, aceUrl, isBrochureBtn, isLogoLong, i
|
|
|
187
187
|
{/* <FooterLinkList />*/}
|
|
188
188
|
{/*</div>*/}
|
|
189
189
|
{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]'}>
|
|
190
|
-
<FooterSelectBox wrapperRef={wrapperRef} groupsData={groupsData} routeLocation={routeLocation} setIsOpen={setIsOpen} isOpen={isOpen} isBrochureBtn={isBrochureBtn} centerLink={centerLink}/>
|
|
190
|
+
<FooterSelectBox wrapperRef={wrapperRef} groupsData={groupsData} routeLocation={routeLocation} setIsOpen={setIsOpen} isOpen={isOpen} isBrochureBtn={isBrochureBtn} isMedical={isMedical} centerLink={centerLink}/>
|
|
191
191
|
<BrochureBtn width={'280px'} height={'60px'} wrapClassName={'max-xs:hidden'} className={'xl:hidden ' +
|
|
192
192
|
//768px
|
|
193
193
|
'max-md:mx-[-10px] max-md:scale-90 ' +
|
|
194
194
|
//590px
|
|
195
195
|
'max-[590px]:mx-[-30px] max-[590px]:scale-[.75] '} type={brochureType}/>
|
|
196
196
|
</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]'}>
|
|
197
|
-
<FooterSelectBox wrapperRef={wrapperRef} groupsData={groupsData} routeLocation={routeLocation} setIsOpen={setIsOpen} isOpen={isOpen} isBrochureBtn={isBrochureBtn} centerLink={centerLink}/>
|
|
197
|
+
<FooterSelectBox wrapperRef={wrapperRef} groupsData={groupsData} routeLocation={routeLocation} setIsOpen={setIsOpen} isOpen={isOpen} isBrochureBtn={isBrochureBtn} isMedical={isMedical} centerLink={centerLink}/>
|
|
198
198
|
<MedicalBrochureBtn width={'280px'} height={'60px'} wrapClassName={'max-lg:hidden'} className={'xl:hidden ' +
|
|
199
199
|
//768px
|
|
200
200
|
'max-md:mx-[-10px] max-md:scale-90 ' +
|
|
201
201
|
//590px
|
|
202
202
|
'max-[590px]:mx-[-30px] max-[590px]:scale-[.75] '}/>
|
|
203
203
|
</span>) : (<span className={'flex w-full flex-1 items-center justify-center gap-[40px] max-md:gap-[5px] max-2sm:gap-[10px]'}>
|
|
204
|
-
<FooterSelectBox wrapperRef={wrapperRef} groupsData={groupsData} routeLocation={routeLocation} setIsOpen={setIsOpen} isOpen={isOpen} isBrochureBtn={isBrochureBtn} centerLink={centerLink}/>
|
|
204
|
+
<FooterSelectBox wrapperRef={wrapperRef} groupsData={groupsData} routeLocation={routeLocation} setIsOpen={setIsOpen} isOpen={isOpen} isBrochureBtn={isBrochureBtn} isMedical={isMedical} centerLink={centerLink}/>
|
|
205
205
|
<BrochureBtn width={'280px'} height={'60px'} className={'xl:hidden ' +
|
|
206
206
|
//768px
|
|
207
207
|
'max-md:mx-[-10px] max-md:scale-90 ' +
|
|
@@ -340,11 +340,14 @@ export const FooterLinkList = () => {
|
|
|
340
340
|
// );
|
|
341
341
|
};
|
|
342
342
|
const FooterSelectBox = (props) => {
|
|
343
|
-
const { isBrochureBtn, wrapperRef, setIsOpen, isOpen, centerLink, routeLocation, groupsData } = props;
|
|
343
|
+
const { isBrochureBtn, isMedical, wrapperRef, setIsOpen, isOpen, centerLink, routeLocation, groupsData } = props;
|
|
344
344
|
const list = groupsData != null && groupsData.length > 0 ? groupsData : centerLink;
|
|
345
345
|
return (<div className={(isBrochureBtn ? 'max-w-[300px] max-md:w-full max-xs:max-w-full ' : 'max-md:w-[260px] max-xs:w-full ') +
|
|
346
346
|
' xl:ml-auto'}>
|
|
347
|
-
<div ref={wrapperRef} className={
|
|
347
|
+
<div ref={wrapperRef} className={(!isMedical
|
|
348
|
+
? 'max-[590px]:h-[45px] max-[590px]:max-w-[280px] max-xs:h-[55px] max-xs:max-w-[unset] '
|
|
349
|
+
: '') +
|
|
350
|
+
'relative z-10 h-[68px] w-[290px] ' +
|
|
348
351
|
'max-xl:h-[55px] max-xl:w-[300px] ' +
|
|
349
352
|
'max-md:w-full ' +
|
|
350
353
|
'max-xs:mt-9 max-xs:w-full '}>
|
|
@@ -361,7 +364,7 @@ const FooterSelectBox = (props) => {
|
|
|
361
364
|
pointerEvents: isOpen ? 'auto' : 'none'
|
|
362
365
|
}} role="listbox" aria-orientation="vertical" aria-labelledby="listbox-label" aria-expanded="true" aria-hidden="false">
|
|
363
366
|
<li className="cursor-pointer px-5 py-[5px] text-[17px] font-[500] duration-150 hover:bg-gray-100">
|
|
364
|
-
<Link href={'https://www.
|
|
367
|
+
<Link href={'https://www.sjkplawfirm.com/'} target="_blank" title={'새창열기'} onClick={() => {
|
|
365
368
|
setIsOpen(!isOpen);
|
|
366
369
|
}}>
|
|
367
370
|
뉴욕본사 SJKP
|
|
@@ -231,6 +231,7 @@ const NewFooter = ({
|
|
|
231
231
|
setIsOpen={setIsOpen}
|
|
232
232
|
isOpen={isOpen}
|
|
233
233
|
isBrochureBtn={isBrochureBtn}
|
|
234
|
+
isMedical={isMedical}
|
|
234
235
|
centerLink={centerLink}
|
|
235
236
|
/>
|
|
236
237
|
<BrochureBtn
|
|
@@ -260,6 +261,7 @@ const NewFooter = ({
|
|
|
260
261
|
setIsOpen={setIsOpen}
|
|
261
262
|
isOpen={isOpen}
|
|
262
263
|
isBrochureBtn={isBrochureBtn}
|
|
264
|
+
isMedical={isMedical}
|
|
263
265
|
centerLink={centerLink}
|
|
264
266
|
/>
|
|
265
267
|
<MedicalBrochureBtn
|
|
@@ -288,6 +290,7 @@ const NewFooter = ({
|
|
|
288
290
|
setIsOpen={setIsOpen}
|
|
289
291
|
isOpen={isOpen}
|
|
290
292
|
isBrochureBtn={isBrochureBtn}
|
|
293
|
+
isMedical={isMedical}
|
|
291
294
|
centerLink={centerLink}
|
|
292
295
|
/>
|
|
293
296
|
<BrochureBtn
|
|
@@ -569,6 +572,7 @@ export const FooterLinkList = () => {
|
|
|
569
572
|
|
|
570
573
|
const FooterSelectBox = (props: {
|
|
571
574
|
isBrochureBtn?: boolean;
|
|
575
|
+
isMedical?: boolean;
|
|
572
576
|
centerLink: ICenterLinkTypes[];
|
|
573
577
|
wrapperRef: any;
|
|
574
578
|
setIsOpen: React.Dispatch<React.SetStateAction<boolean>>;
|
|
@@ -576,7 +580,7 @@ const FooterSelectBox = (props: {
|
|
|
576
580
|
routeLocation: boolean;
|
|
577
581
|
groupsData: ICenterLinkTypes[] | null;
|
|
578
582
|
}) => {
|
|
579
|
-
const { isBrochureBtn, wrapperRef, setIsOpen, isOpen, centerLink, routeLocation, groupsData } = props;
|
|
583
|
+
const { isBrochureBtn, isMedical, wrapperRef, setIsOpen, isOpen, centerLink, routeLocation, groupsData } = props;
|
|
580
584
|
|
|
581
585
|
const list = groupsData != null && groupsData.length > 0 ? groupsData : centerLink;
|
|
582
586
|
|
|
@@ -590,6 +594,9 @@ const FooterSelectBox = (props: {
|
|
|
590
594
|
<div
|
|
591
595
|
ref={wrapperRef}
|
|
592
596
|
className={
|
|
597
|
+
(!isMedical
|
|
598
|
+
? 'max-[590px]:h-[45px] max-[590px]:max-w-[280px] max-xs:h-[55px] max-xs:max-w-[unset] '
|
|
599
|
+
: '') +
|
|
593
600
|
'relative z-10 h-[68px] w-[290px] ' +
|
|
594
601
|
'max-xl:h-[55px] max-xl:w-[300px] ' +
|
|
595
602
|
'max-md:w-full ' +
|
|
@@ -635,7 +642,7 @@ const FooterSelectBox = (props: {
|
|
|
635
642
|
>
|
|
636
643
|
<li className="cursor-pointer px-5 py-[5px] text-[17px] font-[500] duration-150 hover:bg-gray-100">
|
|
637
644
|
<Link
|
|
638
|
-
href={'https://www.
|
|
645
|
+
href={'https://www.sjkplawfirm.com/'}
|
|
639
646
|
target="_blank"
|
|
640
647
|
title={'새창열기'}
|
|
641
648
|
onClick={() => {
|
package/dist/styles/globals.css
CHANGED
|
@@ -17668,6 +17668,14 @@ body {
|
|
|
17668
17668
|
margin-right: -30px;
|
|
17669
17669
|
}
|
|
17670
17670
|
|
|
17671
|
+
.max-\[590px\]\:h-\[45px\] {
|
|
17672
|
+
height: 45px;
|
|
17673
|
+
}
|
|
17674
|
+
|
|
17675
|
+
.max-\[590px\]\:max-w-\[280px\] {
|
|
17676
|
+
max-width: 280px;
|
|
17677
|
+
}
|
|
17678
|
+
|
|
17671
17679
|
.max-\[590px\]\:scale-95 {
|
|
17672
17680
|
--tw-scale-x: .95;
|
|
17673
17681
|
--tw-scale-y: .95;
|
|
@@ -18413,6 +18421,10 @@ body {
|
|
|
18413
18421
|
max-width: 320px;
|
|
18414
18422
|
}
|
|
18415
18423
|
|
|
18424
|
+
.max-xs\:max-w-\[unset\] {
|
|
18425
|
+
max-width: unset;
|
|
18426
|
+
}
|
|
18427
|
+
|
|
18416
18428
|
.max-xs\:max-w-full {
|
|
18417
18429
|
max-width: 100%;
|
|
18418
18430
|
}
|