@daeryun/dr_components 1.0.89 → 1.0.90

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.
@@ -13,7 +13,6 @@ import React, { useEffect, useRef, useState } from 'react';
13
13
  import * as gtag from '../../lib/gtag';
14
14
  import Link from 'next/link';
15
15
  import { insert, savePowerLinkConversion } from '../../lib';
16
- import Wrapper from '../Layout/Wrapper';
17
16
  import TopBtn from './TopBtn';
18
17
  import { usePathname } from 'next/navigation';
19
18
  import sns01 from '../../asset/images/footer/sns_01.webp';
@@ -24,6 +23,7 @@ import sns05 from '../../asset/images/footer/sns_05.webp';
24
23
  import BrochureBtn from '../BrochureBtn/BrochureBtn';
25
24
  import MedicalBrochureBtn from '../BrochureBtn/MedicalBrochureBtn';
26
25
  import { useActionGetTermList } from './_actions/action';
26
+ import PageWrapper from '../Layout/PageWrapper';
27
27
  const NewFooter = ({ groupsData, center_code, tel, logo, aceUrl, isBrochureBtn, isLogoLong, isMedical, brochureType }) => {
28
28
  const pathname = usePathname();
29
29
  const mobile = require('is-mobile');
@@ -160,12 +160,12 @@ const NewFooter = ({ groupsData, center_code, tel, logo, aceUrl, isBrochureBtn,
160
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
- <Wrapper isNotRelative id={'footer'} className={'absolute top-0'}>
163
+ <PageWrapper className={'!absolute top-0'}>
164
164
  <div className={'relative z-20'}>
165
165
  <TopBtn className={'absolute right-0 top-[-50%] translate-y-[-50%]'}/>
166
166
  </div>
167
- </Wrapper>
168
- <Wrapper id={'footer'}>
167
+ </PageWrapper>
168
+ <PageWrapper id={'footer'}>
169
169
  <div className={'w-full'}>
170
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
171
  'max-xl:flex-col max-lg:gap-[10px] '
@@ -280,7 +280,7 @@ const NewFooter = ({ groupsData, center_code, tel, logo, aceUrl, isBrochureBtn,
280
280
  {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'}/>)}
281
281
  </div>
282
282
  </div>
283
- </Wrapper>
283
+ </PageWrapper>
284
284
  </footer>);
285
285
  };
286
286
  export default NewFooter;
@@ -18,6 +18,7 @@ import BrochureBtn from '../BrochureBtn/BrochureBtn';
18
18
  import MedicalBrochureBtn from '../BrochureBtn/MedicalBrochureBtn';
19
19
  import { useActionGetTermList } from './_actions/action';
20
20
  import { ITermType } from '../page/Login/_types/termType';
21
+ import PageWrapper from '../Layout/PageWrapper';
21
22
 
22
23
  const NewFooter = ({
23
24
  groupsData,
@@ -180,12 +181,12 @@ const NewFooter = ({
180
181
  }
181
182
  >
182
183
  {/*top button*/}
183
- <Wrapper isNotRelative id={'footer'} className={'absolute top-0'}>
184
+ <PageWrapper className={'!absolute top-0'}>
184
185
  <div className={'relative z-20'}>
185
186
  <TopBtn className={'absolute right-0 top-[-50%] translate-y-[-50%]'} />
186
187
  </div>
187
- </Wrapper>
188
- <Wrapper id={'footer'}>
188
+ </PageWrapper>
189
+ <PageWrapper id={'footer'}>
189
190
  <div className={'w-full'}>
190
191
  <div
191
192
  className={
@@ -516,7 +517,7 @@ const NewFooter = ({
516
517
  )}
517
518
  </div>
518
519
  </div>
519
- </Wrapper>
520
+ </PageWrapper>
520
521
  </footer>
521
522
  );
522
523
  };
@@ -5,12 +5,12 @@ import 'swiper/css';
5
5
  import 'swiper/css/navigation';
6
6
  import 'swiper/css/pagination';
7
7
  import { useRouter } from 'next/navigation';
8
- import Wrapper from '../Layout/Wrapper';
9
8
  import useBrowser from '../common/hook/useBrowser';
10
9
  import AreaImage from '../MapFix/AreaImage';
11
10
  import { newNapArea } from '../common';
12
11
  import Map from './Map';
13
12
  import Link from 'next/link';
13
+ import PageWrapper from '../Layout/PageWrapper';
14
14
  const MapSection = ({ initialData, selectRegion, setSelectRegion, setMapFixOpen, Title, isGroup = true }) => {
15
15
  const router = useRouter();
16
16
  const { width } = useBrowser();
@@ -24,7 +24,7 @@ const MapSection = ({ initialData, selectRegion, setSelectRegion, setMapFixOpen,
24
24
  {/*배경*/}
25
25
  <Image src={'https://d1tgonli21s4df.cloudfront.net/main_new/images_office_bg.webp'} alt="" fill className={'object-cover max-sm:object-left '} draggable="false"/>
26
26
 
27
- <Wrapper className={'flex h-full w-full overflow-hidden pb-[239px] pt-[180px] max-xl:py-[150px] max-md:flex-col max-sm:py-[80px]'}>
27
+ <PageWrapper className={'flex h-full w-full overflow-hidden pb-[239px] pt-[180px] max-xl:py-[150px] max-md:flex-col max-sm:py-[80px]'}>
28
28
  <div className={'w-[60%] pb-[200px] max-3xl:pb-[140px] max-lg:w-[63%] max-md2:w-[65%] max-md:w-full max-md:pb-0'}>
29
29
  {Title}
30
30
  <p className={'text-[14px] tracking-tighter 2xs:text-[16px] xs:text-[20px] lg:text-[28px] lg:tracking-[-2.5px]'}>
@@ -64,7 +64,7 @@ const MapSection = ({ initialData, selectRegion, setSelectRegion, setMapFixOpen,
64
64
  }
65
65
  }} isFirstClick={isFirstClick}/>
66
66
  </div>
67
- </Wrapper>
67
+ </PageWrapper>
68
68
  </section>);
69
69
  };
70
70
  export default MapSection;
@@ -12,6 +12,7 @@ import AreaImage from '../MapFix/AreaImage';
12
12
  import { IInitialDataTypes, newNapArea } from '../common';
13
13
  import Map from './Map';
14
14
  import Link from 'next/link';
15
+ import PageWrapper from '../Layout/PageWrapper';
15
16
 
16
17
  const MapSection = ({
17
18
  initialData,
@@ -50,7 +51,7 @@ const MapSection = ({
50
51
  draggable="false"
51
52
  />
52
53
 
53
- <Wrapper
54
+ <PageWrapper
54
55
  className={
55
56
  'flex h-full w-full overflow-hidden pb-[239px] pt-[180px] max-xl:py-[150px] max-md:flex-col max-sm:py-[80px]'
56
57
  }
@@ -136,7 +137,7 @@ const MapSection = ({
136
137
  isFirstClick={isFirstClick}
137
138
  />
138
139
  </div>
139
- </Wrapper>
140
+ </PageWrapper>
140
141
  </section>
141
142
  );
142
143
  };