@daeryun/dr_components 0.6.99 → 0.7.1
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.
|
@@ -167,22 +167,21 @@ 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-
|
|
170
|
+
<div className={'mb-5 font-[800] tracking-[-0px] max-xl:mb-[50px] max-xl:justify-center xs:flex xs:items-center ' +
|
|
171
171
|
(isBrochureBtn
|
|
172
172
|
? ' max-xl:flex-col max-xl:gap-[40px]'
|
|
173
173
|
: isLogoLong
|
|
174
174
|
? 'max-xl:gap-[2%] '
|
|
175
175
|
: ' max-xl:gap-[5%] ')}>
|
|
176
176
|
<Link href={'/'} className={'shrink-0'}>
|
|
177
|
-
<Image src={logo} alt="대륜 로고" width={216} height={33} className={
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
: '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]')}/>
|
|
177
|
+
<Image src={logo} alt="대륜 로고" width={216} height={33} className={isLogoLong
|
|
178
|
+
? '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] '
|
|
179
|
+
: 'h-auto w-[208px] max-xl:h-[45px] max-xl:w-auto max-md2:h-[40px] '}/>
|
|
181
180
|
</Link>
|
|
182
181
|
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
182
|
+
{/*<div className={'flex gap-[36px] max-xxl:gap-[20px] max-xl:hidden '}>*/}
|
|
183
|
+
{/* <FooterLinkList />*/}
|
|
184
|
+
{/*</div>*/}
|
|
186
185
|
{isBrochureBtn && !isMedical ? (<span className={'flex w-full flex-1 items-center justify-center gap-[40px] max-md:gap-[5px] max-2sm:gap-[10px]'}>
|
|
187
186
|
<FooterSelectBox wrapperRef={wrapperRef} groupsData={groupsData} routeLocation={routeLocation} setIsOpen={setIsOpen} isOpen={isOpen} isBrochureBtn={isBrochureBtn} centerLink={centerLink}/>
|
|
188
187
|
<BrochureBtn width={'280px'} height={'60px'} className={'xl:hidden ' +
|
|
@@ -204,9 +203,9 @@ const NewFooter = ({ groupsData, center_code, tel, logo, aceUrl, isBrochureBtn,
|
|
|
204
203
|
</div>
|
|
205
204
|
|
|
206
205
|
{/*xl일때부터 or en*/}
|
|
207
|
-
<div className={'mb-[60px] flex flex-wrap gap-[36px] font-[800]
|
|
208
|
-
'max-
|
|
209
|
-
'
|
|
206
|
+
<div className={'mb-[60px] flex flex-wrap gap-[36px] font-[800] ' +
|
|
207
|
+
'max-xl:gap-[20px] ' +
|
|
208
|
+
'max-xl:justify-center ' +
|
|
210
209
|
'max-md:gap-[17px] max-md:text-[14px] ' +
|
|
211
210
|
'max-xs:mb-[42px] max-xs:grid max-xs:grid-cols-2 max-xs:gap-2 max-xs:text-[16px] max-xs:leading-snug '}>
|
|
212
211
|
<FooterLinkList />
|
|
@@ -325,13 +324,13 @@ const FooterSelectBox = (props) => {
|
|
|
325
324
|
const list = groupsData != null && groupsData.length > 0 ? groupsData : centerLink;
|
|
326
325
|
return (<div className={(isBrochureBtn ? 'max-xs:w-full' : '') + ' xl:ml-auto'}>
|
|
327
326
|
<div ref={wrapperRef} className={'relative h-[68px] w-[290px] ' +
|
|
328
|
-
'max-xxl:w-[240px] ' +
|
|
327
|
+
// 'max-xxl:w-[240px] ' +
|
|
329
328
|
'max-xl:w-[299px] ' +
|
|
330
329
|
'max-md:h-[53px] max-md:w-[260px] ' +
|
|
331
330
|
'max-sm:h-[48px] max-sm:w-[230px] ' +
|
|
332
331
|
'z-10 max-xs:mt-[8.2vw] max-xs:h-[55px] max-xs:w-full '}>
|
|
333
332
|
<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 ' +
|
|
334
|
-
'max-xxl:text-[16px] ' +
|
|
333
|
+
// 'max-xxl:text-[16px] ' +
|
|
335
334
|
'max-md:text-[14px] ' +
|
|
336
335
|
'max-xs:pl-[9.8%] max-xs:text-left max-xs:text-[3.93vw] ' +
|
|
337
336
|
'max-3xs:text-[4.2vw] '} onClick={() => setIsOpen(!isOpen)} aria-haspopup="listbox" aria-expanded="true">
|
|
@@ -189,7 +189,7 @@ const NewFooter = ({
|
|
|
189
189
|
<div className={'w-full'}>
|
|
190
190
|
<div
|
|
191
191
|
className={
|
|
192
|
-
'mb-
|
|
192
|
+
'mb-5 font-[800] tracking-[-0px] max-xl:mb-[50px] max-xl:justify-center xs:flex xs:items-center ' +
|
|
193
193
|
(isBrochureBtn
|
|
194
194
|
? ' max-xl:flex-col max-xl:gap-[40px]'
|
|
195
195
|
: isLogoLong
|
|
@@ -204,17 +204,16 @@ const NewFooter = ({
|
|
|
204
204
|
width={216}
|
|
205
205
|
height={33}
|
|
206
206
|
className={
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
: '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]')
|
|
207
|
+
isLogoLong
|
|
208
|
+
? '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] '
|
|
209
|
+
: 'h-auto w-[208px] max-xl:h-[45px] max-xl:w-auto max-md2:h-[40px] '
|
|
211
210
|
}
|
|
212
211
|
/>
|
|
213
212
|
</Link>
|
|
214
213
|
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
214
|
+
{/*<div className={'flex gap-[36px] max-xxl:gap-[20px] max-xl:hidden '}>*/}
|
|
215
|
+
{/* <FooterLinkList />*/}
|
|
216
|
+
{/*</div>*/}
|
|
218
217
|
{isBrochureBtn && !isMedical ? (
|
|
219
218
|
<span
|
|
220
219
|
className={
|
|
@@ -308,9 +307,9 @@ const NewFooter = ({
|
|
|
308
307
|
{/*xl일때부터 or en*/}
|
|
309
308
|
<div
|
|
310
309
|
className={
|
|
311
|
-
'mb-[60px] flex flex-wrap gap-[36px] font-[800]
|
|
312
|
-
'max-
|
|
313
|
-
'
|
|
310
|
+
'mb-[60px] flex flex-wrap gap-[36px] font-[800] ' +
|
|
311
|
+
'max-xl:gap-[20px] ' +
|
|
312
|
+
'max-xl:justify-center ' +
|
|
314
313
|
'max-md:gap-[17px] max-md:text-[14px] ' +
|
|
315
314
|
'max-xs:mb-[42px] max-xs:grid max-xs:grid-cols-2 max-xs:gap-2 max-xs:text-[16px] max-xs:leading-snug '
|
|
316
315
|
}
|
|
@@ -554,7 +553,7 @@ const FooterSelectBox = (props: {
|
|
|
554
553
|
ref={wrapperRef}
|
|
555
554
|
className={
|
|
556
555
|
'relative h-[68px] w-[290px] ' +
|
|
557
|
-
'max-xxl:w-[240px] ' +
|
|
556
|
+
// 'max-xxl:w-[240px] ' +
|
|
558
557
|
'max-xl:w-[299px] ' +
|
|
559
558
|
'max-md:h-[53px] max-md:w-[260px] ' +
|
|
560
559
|
'max-sm:h-[48px] max-sm:w-[230px] ' +
|
|
@@ -565,7 +564,7 @@ const FooterSelectBox = (props: {
|
|
|
565
564
|
type="button"
|
|
566
565
|
className={
|
|
567
566
|
'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 ' +
|
|
568
|
-
'max-xxl:text-[16px] ' +
|
|
567
|
+
// 'max-xxl:text-[16px] ' +
|
|
569
568
|
'max-md:text-[14px] ' +
|
|
570
569
|
'max-xs:pl-[9.8%] max-xs:text-left max-xs:text-[3.93vw] ' +
|
|
571
570
|
'max-3xs:text-[4.2vw] '
|
package/dist/styles/globals.css
CHANGED
|
@@ -1217,6 +1217,10 @@ video {
|
|
|
1217
1217
|
margin-bottom: 1rem;
|
|
1218
1218
|
}
|
|
1219
1219
|
|
|
1220
|
+
.mb-5 {
|
|
1221
|
+
margin-bottom: 1.25rem;
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1220
1224
|
.mb-6 {
|
|
1221
1225
|
margin-bottom: 1.5rem;
|
|
1222
1226
|
}
|
|
@@ -8730,6 +8734,10 @@ body {
|
|
|
8730
8734
|
gap: 2%;
|
|
8731
8735
|
}
|
|
8732
8736
|
|
|
8737
|
+
.max-xl\:gap-\[20px\] {
|
|
8738
|
+
gap: 20px;
|
|
8739
|
+
}
|
|
8740
|
+
|
|
8733
8741
|
.max-xl\:gap-\[40px\] {
|
|
8734
8742
|
gap: 40px;
|
|
8735
8743
|
}
|