@daeryun/dr_components 1.0.29 → 1.0.31

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.
Files changed (43) hide show
  1. package/dist/asset/images/strength_new/logo.svg +37 -0
  2. package/dist/cjs/tsconfig-cjs.tsbuildinfo +1 -1
  3. package/dist/components/common/types/strength_new/index.d.ts +48 -6
  4. package/dist/components/common/types/strength_new/index.ts +51 -6
  5. package/dist/components/page/Choice/Choice.jsx +1 -1
  6. package/dist/components/page/Choice/Choice.tsx +1 -1
  7. package/dist/components/page/StrengthNew/StrengthCustomer.d.ts +8 -0
  8. package/dist/components/page/StrengthNew/StrengthCustomer.jsx +15 -0
  9. package/dist/components/page/StrengthNew/StrengthCustomer.tsx +36 -0
  10. package/dist/components/page/StrengthNew/StrengthInfra.d.ts +8 -0
  11. package/dist/components/page/StrengthNew/StrengthInfra.jsx +13 -0
  12. package/dist/components/page/StrengthNew/StrengthInfra.tsx +34 -0
  13. package/dist/components/page/StrengthNew/StrengthPeople.jsx +1 -1
  14. package/dist/components/page/StrengthNew/StrengthPeople.tsx +3 -3
  15. package/dist/components/page/StrengthNew/StrengthSystem.jsx +1 -1
  16. package/dist/components/page/StrengthNew/StrengthSystem.tsx +3 -3
  17. package/dist/components/page/StrengthNew/components/common/BannerSection.jsx +38 -37
  18. package/dist/components/page/StrengthNew/components/common/BannerSection.tsx +41 -41
  19. package/dist/components/page/StrengthNew/components/common/ItemNumber.d.ts +6 -0
  20. package/dist/components/page/StrengthNew/components/common/ItemNumber.jsx +12 -0
  21. package/dist/components/page/StrengthNew/components/common/ItemNumber.tsx +19 -0
  22. package/dist/components/page/StrengthNew/components/common/LawyerSection.jsx +35 -32
  23. package/dist/components/page/StrengthNew/components/common/LawyerSection.tsx +70 -52
  24. package/dist/components/page/StrengthNew/components/common/ViewMoreSection.jsx +26 -19
  25. package/dist/components/page/StrengthNew/components/common/ViewMoreSection.tsx +43 -27
  26. package/dist/components/page/StrengthNew/components/customer/CustomerSection.d.ts +14 -0
  27. package/dist/components/page/StrengthNew/components/customer/CustomerSection.jsx +237 -0
  28. package/dist/components/page/StrengthNew/components/customer/CustomerSection.tsx +489 -0
  29. package/dist/components/page/StrengthNew/components/customer/DaeryunSection.d.ts +9 -0
  30. package/dist/components/page/StrengthNew/components/customer/DaeryunSection.jsx +85 -0
  31. package/dist/components/page/StrengthNew/components/customer/DaeryunSection.tsx +203 -0
  32. package/dist/components/page/StrengthNew/components/infra/InfraSection.d.ts +16 -0
  33. package/dist/components/page/StrengthNew/components/infra/InfraSection.jsx +254 -0
  34. package/dist/components/page/StrengthNew/components/infra/InfraSection.tsx +522 -0
  35. package/dist/components/page/StrengthNew/components/main/IntroSection.jsx +19 -11
  36. package/dist/components/page/StrengthNew/components/main/IntroSection.tsx +31 -11
  37. package/dist/components/page/StrengthNew/components/people/PeopleSection.jsx +81 -67
  38. package/dist/components/page/StrengthNew/components/people/PeopleSection.tsx +117 -80
  39. package/dist/components/page/StrengthNew/components/system/SystemSection.jsx +127 -99
  40. package/dist/components/page/StrengthNew/components/system/SystemSection.tsx +182 -108
  41. package/dist/styles/globals.css +1023 -186
  42. package/dist/tsconfig.tsbuildinfo +1 -1
  43. package/package.json +1 -1
@@ -0,0 +1,15 @@
1
+ import BannerSection from './components/common/BannerSection';
2
+ import ViewMoreSection from './components/common/ViewMoreSection';
3
+ import LawyerSection from './components/common/LawyerSection';
4
+ import CustomerSection from './components/customer/CustomerSection';
5
+ import DaeryunSection from './components/customer/DaeryunSection';
6
+ const StrengthCustomer = ({ data, common, initialData }) => {
7
+ return (<div className={'font-[NotoSansKR]'}>
8
+ <BannerSection title={data.title_1} subTitle={data.title_2} menu={common.menu} initialData={initialData}/>
9
+ <DaeryunSection main_list={data.main_list} main_title={data.main_title}/>
10
+ <CustomerSection customer_list={data.customer_list} initialData={initialData}/>
11
+ <ViewMoreSection view_more_section_title={common.view_more_section_title} view_more_list={common.view_more_list} initialData={initialData}/>
12
+ <LawyerSection lawyer_title_1={data.lawyer_title_1} lawyer_title_2={data.lawyer_title_2} lawyer_link_list={data.lawyer_link_list}/>
13
+ </div>);
14
+ };
15
+ export default StrengthCustomer;
@@ -0,0 +1,36 @@
1
+ import { ICommonTypes, ICustomerPageDataTypes } from '../../common/types/strength_new';
2
+ import { IInitialDataTypes } from '../../common';
3
+ import BannerSection from './components/common/BannerSection';
4
+ import ViewMoreSection from './components/common/ViewMoreSection';
5
+ import LawyerSection from './components/common/LawyerSection';
6
+ import CustomerSection from './components/customer/CustomerSection';
7
+ import DaeryunSection from './components/customer/DaeryunSection';
8
+
9
+ const StrengthCustomer = ({
10
+ data,
11
+ common,
12
+ initialData
13
+ }: {
14
+ data: ICustomerPageDataTypes;
15
+ common: ICommonTypes;
16
+ initialData: IInitialDataTypes;
17
+ }) => {
18
+ return (
19
+ <div className={'font-[NotoSansKR]'}>
20
+ <BannerSection title={data.title_1} subTitle={data.title_2} menu={common.menu} initialData={initialData} />
21
+ <DaeryunSection main_list={data.main_list} main_title={data.main_title} />
22
+ <CustomerSection customer_list={data.customer_list} initialData={initialData} />
23
+ <ViewMoreSection
24
+ view_more_section_title={common.view_more_section_title}
25
+ view_more_list={common.view_more_list}
26
+ initialData={initialData}
27
+ />
28
+ <LawyerSection
29
+ lawyer_title_1={data.lawyer_title_1}
30
+ lawyer_title_2={data.lawyer_title_2}
31
+ lawyer_link_list={data.lawyer_link_list}
32
+ />
33
+ </div>
34
+ );
35
+ };
36
+ export default StrengthCustomer;
@@ -0,0 +1,8 @@
1
+ import { ICommonTypes, IInfraPageDataTypes } from '../../common/types/strength_new';
2
+ import { IInitialDataTypes } from '../../common';
3
+ declare const StrengthInfra: ({ data, common, initialData }: {
4
+ data: IInfraPageDataTypes;
5
+ common: ICommonTypes;
6
+ initialData: IInitialDataTypes;
7
+ }) => import("react").JSX.Element;
8
+ export default StrengthInfra;
@@ -0,0 +1,13 @@
1
+ import BannerSection from './components/common/BannerSection';
2
+ import ViewMoreSection from './components/common/ViewMoreSection';
3
+ import LawyerSection from './components/common/LawyerSection';
4
+ import InfraSection from './components/infra/InfraSection';
5
+ const StrengthInfra = ({ data, common, initialData }) => {
6
+ return (<div className={'font-[NotoSansKR]'}>
7
+ <BannerSection title={data.title_1} subTitle={data.title_2} menu={common.menu} initialData={initialData}/>
8
+ <InfraSection infra_list={data.infra_list} initialData={initialData}/>
9
+ <ViewMoreSection view_more_section_title={common.view_more_section_title} view_more_list={common.view_more_list} initialData={initialData}/>
10
+ <LawyerSection lawyer_title_1={data.lawyer_title_1} lawyer_title_2={data.lawyer_title_2} lawyer_link_list={data.lawyer_link_list}/>
11
+ </div>);
12
+ };
13
+ export default StrengthInfra;
@@ -0,0 +1,34 @@
1
+ import { ICommonTypes, IInfraPageDataTypes } from '../../common/types/strength_new';
2
+ import { IInitialDataTypes } from '../../common';
3
+ import BannerSection from './components/common/BannerSection';
4
+ import ViewMoreSection from './components/common/ViewMoreSection';
5
+ import LawyerSection from './components/common/LawyerSection';
6
+ import InfraSection from './components/infra/InfraSection';
7
+
8
+ const StrengthInfra = ({
9
+ data,
10
+ common,
11
+ initialData
12
+ }: {
13
+ data: IInfraPageDataTypes;
14
+ common: ICommonTypes;
15
+ initialData: IInitialDataTypes;
16
+ }) => {
17
+ return (
18
+ <div className={'font-[NotoSansKR]'}>
19
+ <BannerSection title={data.title_1} subTitle={data.title_2} menu={common.menu} initialData={initialData} />
20
+ <InfraSection infra_list={data.infra_list} initialData={initialData} />
21
+ <ViewMoreSection
22
+ view_more_section_title={common.view_more_section_title}
23
+ view_more_list={common.view_more_list}
24
+ initialData={initialData}
25
+ />
26
+ <LawyerSection
27
+ lawyer_title_1={data.lawyer_title_1}
28
+ lawyer_title_2={data.lawyer_title_2}
29
+ lawyer_link_list={data.lawyer_link_list}
30
+ />
31
+ </div>
32
+ );
33
+ };
34
+ export default StrengthInfra;
@@ -7,7 +7,7 @@ const StrengthNew = ({ data, common, initialData }) => {
7
7
  <BannerSection title={data.title_1} subTitle={data.title_2} menu={common.menu} initialData={initialData}/>
8
8
  <PeopleSection people_list={data.people_list} initialData={initialData}/>
9
9
  <ViewMoreSection view_more_section_title={common.view_more_section_title} view_more_list={common.view_more_list} initialData={initialData}/>
10
- <LawyerSection lawyer_title_1={common.lawyer_title_1} lawyer_title_2={common.lawyer_title_2} lawyer_link_list={common.lawyer_link_list}/>
10
+ <LawyerSection lawyer_title_1={data.lawyer_title_1} lawyer_title_2={data.lawyer_title_2} lawyer_link_list={data.lawyer_link_list}/>
11
11
  </div>);
12
12
  };
13
13
  export default StrengthNew;
@@ -24,9 +24,9 @@ const StrengthNew = ({
24
24
  initialData={initialData}
25
25
  />
26
26
  <LawyerSection
27
- lawyer_title_1={common.lawyer_title_1}
28
- lawyer_title_2={common.lawyer_title_2}
29
- lawyer_link_list={common.lawyer_link_list}
27
+ lawyer_title_1={data.lawyer_title_1}
28
+ lawyer_title_2={data.lawyer_title_2}
29
+ lawyer_link_list={data.lawyer_link_list}
30
30
  />
31
31
  </div>
32
32
  );
@@ -7,7 +7,7 @@ const Index = ({ data, common, initialData }) => {
7
7
  <BannerSection title={data.title_1} subTitle={data.title_2} menu={common.menu} initialData={initialData}/>
8
8
  <SystemSection data={data}/>
9
9
  <ViewMoreSection view_more_section_title={common.view_more_section_title} view_more_list={common.view_more_list} initialData={initialData}/>
10
- <LawyerSection lawyer_title_1={common.lawyer_title_1} lawyer_title_2={common.lawyer_title_2} lawyer_link_list={common.lawyer_link_list}/>
10
+ <LawyerSection lawyer_title_1={data.lawyer_title_1} lawyer_title_2={data.lawyer_title_2} lawyer_link_list={data.lawyer_link_list}/>
11
11
  </div>);
12
12
  };
13
13
  export default Index;
@@ -25,9 +25,9 @@ const Index = ({
25
25
  initialData={initialData}
26
26
  />
27
27
  <LawyerSection
28
- lawyer_title_1={common.lawyer_title_1}
29
- lawyer_title_2={common.lawyer_title_2}
30
- lawyer_link_list={common.lawyer_link_list}
28
+ lawyer_title_1={data.lawyer_title_1}
29
+ lawyer_title_2={data.lawyer_title_2}
30
+ lawyer_link_list={data.lawyer_link_list}
31
31
  />
32
32
  </div>
33
33
  );
@@ -1,80 +1,81 @@
1
- import { useTranslation } from 'next-i18next';
2
1
  import Link from 'next/link';
3
2
  import Image from 'next/image';
4
3
  import React from 'react';
5
- import { usePathname } from 'next/navigation';
6
- import { useRouter } from 'next/router';
4
+ import { usePathname, useRouter } from 'next/navigation';
7
5
  import CategoryMenuForPage from '../../../../CategoryMenu/CategoryMenuForPage';
8
6
  import Wrapper from '../../../../Layout/Wrapper';
9
7
  import { replaceInitialData } from '../../../../../lib';
10
8
  const BannerSection = ({ title, subTitle, menu, initialData }) => {
11
- const { t } = useTranslation('common');
12
9
  const imagePath = process.env.NEXT_PUBLIC_S3_URL + '';
13
10
  const pathname = usePathname();
14
11
  const router = useRouter();
15
12
  const isMain = pathname === '/strength';
16
- const bannerImg = pathname.replace('/strength/', '') + '_banner';
13
+ const bannerImg = pathname.replace('/strength/', '') + '_banner_bg';
17
14
  return (<section className={'relative h-[620px] w-full overflow-hidden pt-[196px] ' +
18
- 'max-3xl:h-[580px] ' +
19
- 'max-lg:h-[420px] max-lg:pt-[162px] ' +
20
- 'max-md:h-[400px] ' +
15
+ 'max-3xl:h-[560px] ' +
16
+ 'max-xl:h-[420px] max-xl:pt-[162px] ' +
21
17
  'max-sm:pt-[108px] ' +
22
- (isMain ? 'bg-[#D1E4F7] max-xs:h-[342px]' : 'max-xs:h-[400px]')}>
18
+ (isMain ? 'bg-[#D1E4F7] max-md:h-[410px] max-sm:h-[342px]' : 'max-md:h-[450px] max-sm:h-[400px]')}>
23
19
  <Wrapper className={'relative z-10 w-full '}>
24
- <CategoryMenuForPage className={'font-[SUIT]'}/>
20
+ <CategoryMenuForPage className="mb-[26px] max-md:mb-[20px] max-xs:mb-[12px]"/>
25
21
  <div className={'flex w-full flex-col tracking-[-0.04em] ' +
26
22
  (isMain
27
- ? ' mt-20 gap-20 max-lg:mt-9 '
28
- : ' mt-[60px] gap-10 max-lg:mt-4 max-lg:gap-5 max-sm:mt-10 ')}>
23
+ ? ' mt-20 gap-20 max-3xl:mt-[60px] max-xl:mt-9 '
24
+ : ' mt-[60px] gap-10 max-3xl:mt-10 max-xl:mt-4 max-xl:gap-5 max-md:mt-10 ')}>
29
25
  {isMain ? (<h1 className={'text-center text-[40px] font-[400] leading-[1] ' +
30
26
  'max-3xl:text-[34px] ' +
31
- 'max-xl:text-[30px] ' +
32
- 'max-lg:text-[24px] ' +
27
+ 'max-xl:text-[24px] ' +
33
28
  'max-md:text-[22px] ' +
34
- 'max-xs:text-[20px]'}>
29
+ 'max-sm:text-[20px] '}>
35
30
  {title}
36
31
  <span className={'mt-4 block text-[64px] font-[800] ' +
37
32
  'max-3xl:text-[54px] ' +
38
- 'max-xl:text-[46px] ' +
39
- 'max-lg:mt-[10px] max-lg:text-[40px] ' +
33
+ 'max-xl:mt-[10px] max-xl:text-[40px] ' +
40
34
  'max-md:text-[34px] ' +
41
- 'max-xs:text-[28px]'}>
35
+ 'max-sm:text-[28px]'}>
42
36
  {subTitle}
43
37
  </span>
44
38
  </h1>) : (<>
45
39
  <h1 className={'text-center text-[52px] font-[800] leading-[1] ' +
46
40
  'max-3xl:text-[46px] ' +
47
- 'max-xl:text-[42px] ' +
48
- 'max-lg:text-[36px] ' +
41
+ 'max-xl:text-[36px] ' +
49
42
  'max-md:text-[32px] ' +
50
- 'max-xs:text-[28px] '}>
43
+ 'max-sm:text-[28px] '}>
51
44
  {title}
52
45
  </h1>
53
46
  <p className={'text-center text-[24px] leading-[1.4] ' +
54
47
  'max-3xl:text-[22px] ' +
55
- 'max-lg:text-[20px] ' +
48
+ 'max-xl:text-[20px] ' +
56
49
  'max-md:text-[18px] ' +
57
- 'max-xs:text-left max-xs:text-[16px] sm:whitespace-pre-wrap'}>
50
+ 'max-sm:text-left max-sm:text-[16px] sm:whitespace-pre-wrap '}>
58
51
  {replaceInitialData(String(subTitle), initialData)}
59
52
  </p>
60
53
  </>)}
61
54
  </div>
62
55
  </Wrapper>
63
56
 
64
- <div className={'!absolute bottom-0 z-20 h-[60px] w-full bg-[#5368C41A] font-[SUIT] max-lg:h-12 max-sm:h-fit max-sm:bg-[unset]'}>
65
- <div className={'relative mx-auto h-full w-full max-w-[1920px] px-[40px] max-[2120px]:px-[140px] max-3xl:px-[80px] max-xl:w-[100%] max-lg:px-[60px] max-sm:px-0 '}>
66
- <div className={'mx-auto grid h-full w-full max-w-[1400px] grid-cols-4 max-lg:max-w-[760px] max-sm:grid-cols-2 max-sm:gap-[2px]'}>
57
+ <div className={'!absolute bottom-0 z-20 h-[60px] w-full bg-[#5368C41A] ' +
58
+ 'max-xl:h-12 ' +
59
+ 'max-md:h-[82px] max-md:bg-[unset]'}>
60
+ <div className={'relative mx-auto h-full w-full max-w-[1920px] px-[40px] ' +
61
+ 'max-[2120px]:px-[140px] ' +
62
+ 'max-3xl:px-[80px] ' +
63
+ 'max-xl:w-[100%] max-xl:px-[60px] ' +
64
+ 'max-md:px-0 '}>
65
+ <div className={'mx-auto grid h-full w-full max-w-[1400px] grid-cols-4 ' +
66
+ 'max-xl:max-w-[760px] ' +
67
+ 'max-md:grid-cols-2 max-md:gap-[2px]'}>
67
68
  {menu.map(menu => {
68
69
  return (<Link href={`/strength/${menu.url}`} key={menu.url} style={{ color: menu.color }} className={'flex h-full w-full items-center justify-center text-[24px] leading-none tracking-[-0.7px] ' +
69
70
  'max-3xl:text-[22px] ' +
70
- 'max-lg:text-[20px] ' +
71
- 'max-md:text-[18px] ' +
72
- 'max-sm:h-10 max-sm:bg-[#5368C41A] max-sm:text-[16px] ' +
71
+ 'max-xl:text-[20px] ' +
72
+ 'max-md:h-10 max-md:bg-[#5368C41A] max-md:text-[18px] ' +
73
+ 'max-sm:text-[16px] ' +
73
74
  'transition-[background-color,font-weight] duration-500 hover:bg-[#5368C433] hover:font-[800] ' +
74
75
  (pathname.includes(menu.url)
75
- ? ' bg-[#5368C433] font-[800] max-sm:bg-[#5368C433]'
76
- : ' font-medium ')}>
77
- {router.locale === 'en' ? (<span className={'w-full text-center text-[0.9em]'}>{menu.text}</span>) : (menu.text)}
76
+ ? ' bg-[#5368C433] font-[800] max-md:bg-[#5368C433]'
77
+ : ' font-[400] ')}>
78
+ {menu.text}
78
79
  </Link>);
79
80
  })}
80
81
  </div>
@@ -82,16 +83,16 @@ const BannerSection = ({ title, subTitle, menu, initialData }) => {
82
83
  </div>
83
84
 
84
85
  {!isMain ? (<>
85
- <Image src={imagePath + `/strength_new/${bannerImg}.webp`} alt={'강점'} fill priority className={'relative z-0 object-cover max-lg:hidden'} quality={100}/>
86
- <Image src={imagePath + `/strength_new/${bannerImg}_tab.webp`} alt={'강점'} fill priority className={'relative z-0 object-cover max-xs:hidden lg:hidden '} quality={100}/>
87
- <Image src={imagePath + `/strength_new/${bannerImg}_mo.webp`} alt={'강점'} fill priority className={'relative z-0 object-cover xs:hidden'} quality={100}/>
86
+ <Image src={imagePath + `/strength_new/${bannerImg}.webp`} alt={'강점'} fill priority sizes={'100vw'} className={'relative z-0 object-cover object-top max-xl:hidden'} quality={100}/>
87
+ <Image src={imagePath + `/strength_new/${bannerImg}_tab.webp`} alt={'강점'} fill priority sizes={'100vw'} className={'relative z-0 object-cover object-top max-xs:hidden xl:hidden '} quality={100}/>
88
+ <Image src={imagePath + `/strength_new/${bannerImg}_mo.webp`} alt={'강점'} fill priority sizes={'100vw'} className={'relative z-0 object-cover object-bottom xs:hidden'} quality={100}/>
88
89
  </>) : (<></>)}
89
90
 
90
91
  {isMain ? (<>
91
92
  {/*상단 이미지*/}
92
93
  <span className={'absolute right-0 top-[120px] z-0 block h-[500px] w-[636px] ' +
93
94
  'max-3xl:h-[400px] max-3xl:w-[500px] ' +
94
- 'max-lg:h-[300px] max-lg:w-[380px] ' +
95
+ 'max-xl:h-[300px] max-xl:w-[380px] ' +
95
96
  'max-md:h-[240px] max-md:w-[320px] ' +
96
97
  'max-sm:top-[68px] ' +
97
98
  'max-xs:h-[157px] max-xs:w-[200px]'}>
@@ -100,7 +101,7 @@ const BannerSection = ({ title, subTitle, menu, initialData }) => {
100
101
  {/*하단 이미지*/}
101
102
  <span className={'absolute bottom-0 left-0 z-0 block h-[400px] w-[400px] ' +
102
103
  'max-3xl:h-[300px] max-3xl:w-[300px] ' +
103
- 'max-lg:h-[180px] max-lg:w-[180px] ' +
104
+ 'max-xl:h-[180px] max-xl:w-[180px] ' +
104
105
  'max-md:h-[150px] max-md:w-[150px] ' +
105
106
  'max-xs:h-[100px] max-xs:w-[100px]'}>
106
107
  <Image src={imagePath + '/strength_new/main_bg_left.webp'} alt={'강점'} fill sizes="(max-width: 480px) 100px, (max-width: 768px) 150px, (max-width: 1024px) 180px, (max-width: 1500px) 300px, 400px" className={'object-contain'} quality={100}/>
@@ -1,9 +1,7 @@
1
- import { useTranslation } from 'next-i18next';
2
1
  import Link from 'next/link';
3
2
  import Image from 'next/image';
4
3
  import React from 'react';
5
- import { usePathname } from 'next/navigation';
6
- import { useRouter } from 'next/router';
4
+ import { usePathname, useRouter } from 'next/navigation';
7
5
  import { IInitialDataTypes } from '../../../../common';
8
6
  import CategoryMenuForPage from '../../../../CategoryMenu/CategoryMenuForPage';
9
7
  import Wrapper from '../../../../Layout/Wrapper';
@@ -20,32 +18,30 @@ const BannerSection = ({
20
18
  menu: { url: string; text: string; color: string }[];
21
19
  initialData: IInitialDataTypes;
22
20
  }) => {
23
- const { t } = useTranslation('common');
24
21
  const imagePath: string = process.env.NEXT_PUBLIC_S3_URL + '';
25
22
  const pathname = usePathname();
26
23
  const router = useRouter();
27
24
  const isMain = pathname === '/strength';
28
- const bannerImg = pathname.replace('/strength/', '') + '_banner';
25
+ const bannerImg = pathname.replace('/strength/', '') + '_banner_bg';
29
26
 
30
27
  return (
31
28
  <section
32
29
  className={
33
30
  'relative h-[620px] w-full overflow-hidden pt-[196px] ' +
34
- 'max-3xl:h-[580px] ' +
35
- 'max-lg:h-[420px] max-lg:pt-[162px] ' +
36
- 'max-md:h-[400px] ' +
31
+ 'max-3xl:h-[560px] ' +
32
+ 'max-xl:h-[420px] max-xl:pt-[162px] ' +
37
33
  'max-sm:pt-[108px] ' +
38
- (isMain ? 'bg-[#D1E4F7] max-xs:h-[342px]' : 'max-xs:h-[400px]')
34
+ (isMain ? 'bg-[#D1E4F7] max-md:h-[410px] max-sm:h-[342px]' : 'max-md:h-[450px] max-sm:h-[400px]')
39
35
  }
40
36
  >
41
37
  <Wrapper className={'relative z-10 w-full '}>
42
- <CategoryMenuForPage className={'font-[SUIT]'} />
38
+ <CategoryMenuForPage className="mb-[26px] max-md:mb-[20px] max-xs:mb-[12px]" />
43
39
  <div
44
40
  className={
45
41
  'flex w-full flex-col tracking-[-0.04em] ' +
46
42
  (isMain
47
- ? ' mt-20 gap-20 max-lg:mt-9 '
48
- : ' mt-[60px] gap-10 max-lg:mt-4 max-lg:gap-5 max-sm:mt-10 ')
43
+ ? ' mt-20 gap-20 max-3xl:mt-[60px] max-xl:mt-9 '
44
+ : ' mt-[60px] gap-10 max-3xl:mt-10 max-xl:mt-4 max-xl:gap-5 max-md:mt-10 ')
49
45
  }
50
46
  >
51
47
  {isMain ? (
@@ -53,10 +49,9 @@ const BannerSection = ({
53
49
  className={
54
50
  'text-center text-[40px] font-[400] leading-[1] ' +
55
51
  'max-3xl:text-[34px] ' +
56
- 'max-xl:text-[30px] ' +
57
- 'max-lg:text-[24px] ' +
52
+ 'max-xl:text-[24px] ' +
58
53
  'max-md:text-[22px] ' +
59
- 'max-xs:text-[20px]'
54
+ 'max-sm:text-[20px] '
60
55
  }
61
56
  >
62
57
  {title}
@@ -64,10 +59,9 @@ const BannerSection = ({
64
59
  className={
65
60
  'mt-4 block text-[64px] font-[800] ' +
66
61
  'max-3xl:text-[54px] ' +
67
- 'max-xl:text-[46px] ' +
68
- 'max-lg:mt-[10px] max-lg:text-[40px] ' +
62
+ 'max-xl:mt-[10px] max-xl:text-[40px] ' +
69
63
  'max-md:text-[34px] ' +
70
- 'max-xs:text-[28px]'
64
+ 'max-sm:text-[28px]'
71
65
  }
72
66
  >
73
67
  {subTitle}
@@ -79,10 +73,9 @@ const BannerSection = ({
79
73
  className={
80
74
  'text-center text-[52px] font-[800] leading-[1] ' +
81
75
  'max-3xl:text-[46px] ' +
82
- 'max-xl:text-[42px] ' +
83
- 'max-lg:text-[36px] ' +
76
+ 'max-xl:text-[36px] ' +
84
77
  'max-md:text-[32px] ' +
85
- 'max-xs:text-[28px] '
78
+ 'max-sm:text-[28px] '
86
79
  }
87
80
  >
88
81
  {title}
@@ -91,9 +84,9 @@ const BannerSection = ({
91
84
  className={
92
85
  'text-center text-[24px] leading-[1.4] ' +
93
86
  'max-3xl:text-[22px] ' +
94
- 'max-lg:text-[20px] ' +
87
+ 'max-xl:text-[20px] ' +
95
88
  'max-md:text-[18px] ' +
96
- 'max-xs:text-left max-xs:text-[16px] sm:whitespace-pre-wrap'
89
+ 'max-sm:text-left max-sm:text-[16px] sm:whitespace-pre-wrap '
97
90
  }
98
91
  >
99
92
  {replaceInitialData(String(subTitle), initialData)}
@@ -105,17 +98,25 @@ const BannerSection = ({
105
98
 
106
99
  <div
107
100
  className={
108
- '!absolute bottom-0 z-20 h-[60px] w-full bg-[#5368C41A] font-[SUIT] max-lg:h-12 max-sm:h-fit max-sm:bg-[unset]'
101
+ '!absolute bottom-0 z-20 h-[60px] w-full bg-[#5368C41A] ' +
102
+ 'max-xl:h-12 ' +
103
+ 'max-md:h-[82px] max-md:bg-[unset]'
109
104
  }
110
105
  >
111
106
  <div
112
107
  className={
113
- 'relative mx-auto h-full w-full max-w-[1920px] px-[40px] max-[2120px]:px-[140px] max-3xl:px-[80px] max-xl:w-[100%] max-lg:px-[60px] max-sm:px-0 '
108
+ 'relative mx-auto h-full w-full max-w-[1920px] px-[40px] ' +
109
+ 'max-[2120px]:px-[140px] ' +
110
+ 'max-3xl:px-[80px] ' +
111
+ 'max-xl:w-[100%] max-xl:px-[60px] ' +
112
+ 'max-md:px-0 '
114
113
  }
115
114
  >
116
115
  <div
117
116
  className={
118
- 'mx-auto grid h-full w-full max-w-[1400px] grid-cols-4 max-lg:max-w-[760px] max-sm:grid-cols-2 max-sm:gap-[2px]'
117
+ 'mx-auto grid h-full w-full max-w-[1400px] grid-cols-4 ' +
118
+ 'max-xl:max-w-[760px] ' +
119
+ 'max-md:grid-cols-2 max-md:gap-[2px]'
119
120
  }
120
121
  >
121
122
  {menu.map(menu => {
@@ -127,20 +128,16 @@ const BannerSection = ({
127
128
  className={
128
129
  'flex h-full w-full items-center justify-center text-[24px] leading-none tracking-[-0.7px] ' +
129
130
  'max-3xl:text-[22px] ' +
130
- 'max-lg:text-[20px] ' +
131
- 'max-md:text-[18px] ' +
132
- 'max-sm:h-10 max-sm:bg-[#5368C41A] max-sm:text-[16px] ' +
131
+ 'max-xl:text-[20px] ' +
132
+ 'max-md:h-10 max-md:bg-[#5368C41A] max-md:text-[18px] ' +
133
+ 'max-sm:text-[16px] ' +
133
134
  'transition-[background-color,font-weight] duration-500 hover:bg-[#5368C433] hover:font-[800] ' +
134
135
  (pathname.includes(menu.url)
135
- ? ' bg-[#5368C433] font-[800] max-sm:bg-[#5368C433]'
136
- : ' font-medium ')
136
+ ? ' bg-[#5368C433] font-[800] max-md:bg-[#5368C433]'
137
+ : ' font-[400] ')
137
138
  }
138
139
  >
139
- {router.locale === 'en' ? (
140
- <span className={'w-full text-center text-[0.9em]'}>{menu.text}</span>
141
- ) : (
142
- menu.text
143
- )}
140
+ {menu.text}
144
141
  </Link>
145
142
  );
146
143
  })}
@@ -155,7 +152,8 @@ const BannerSection = ({
155
152
  alt={'강점'}
156
153
  fill
157
154
  priority
158
- className={'relative z-0 object-cover max-lg:hidden'}
155
+ sizes={'100vw'}
156
+ className={'relative z-0 object-cover object-top max-xl:hidden'}
159
157
  quality={100}
160
158
  />
161
159
  <Image
@@ -163,7 +161,8 @@ const BannerSection = ({
163
161
  alt={'강점'}
164
162
  fill
165
163
  priority
166
- className={'relative z-0 object-cover max-xs:hidden lg:hidden '}
164
+ sizes={'100vw'}
165
+ className={'relative z-0 object-cover object-top max-xs:hidden xl:hidden '}
167
166
  quality={100}
168
167
  />
169
168
  <Image
@@ -171,7 +170,8 @@ const BannerSection = ({
171
170
  alt={'강점'}
172
171
  fill
173
172
  priority
174
- className={'relative z-0 object-cover xs:hidden'}
173
+ sizes={'100vw'}
174
+ className={'relative z-0 object-cover object-bottom xs:hidden'}
175
175
  quality={100}
176
176
  />
177
177
  </>
@@ -186,7 +186,7 @@ const BannerSection = ({
186
186
  className={
187
187
  'absolute right-0 top-[120px] z-0 block h-[500px] w-[636px] ' +
188
188
  'max-3xl:h-[400px] max-3xl:w-[500px] ' +
189
- 'max-lg:h-[300px] max-lg:w-[380px] ' +
189
+ 'max-xl:h-[300px] max-xl:w-[380px] ' +
190
190
  'max-md:h-[240px] max-md:w-[320px] ' +
191
191
  'max-sm:top-[68px] ' +
192
192
  'max-xs:h-[157px] max-xs:w-[200px]'
@@ -206,7 +206,7 @@ const BannerSection = ({
206
206
  className={
207
207
  'absolute bottom-0 left-0 z-0 block h-[400px] w-[400px] ' +
208
208
  'max-3xl:h-[300px] max-3xl:w-[300px] ' +
209
- 'max-lg:h-[180px] max-lg:w-[180px] ' +
209
+ 'max-xl:h-[180px] max-xl:w-[180px] ' +
210
210
  'max-md:h-[150px] max-md:w-[150px] ' +
211
211
  'max-xs:h-[100px] max-xs:w-[100px]'
212
212
  }
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ declare const ItemNumber: ({ index, className }: {
3
+ index: number;
4
+ className: string;
5
+ }) => React.JSX.Element;
6
+ export default ItemNumber;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ const ItemNumber = ({ index, className }) => {
3
+ return (<span className={'absolute z-0 block text-[200px] font-[900] leading-none text-[#E7E7E7] opacity-25 ' +
4
+ 'max-3xl:text-[150px] ' +
5
+ 'max-xl:text-[120px] ' +
6
+ 'max-md:text-[90px] ' +
7
+ 'max-sm:text-[80px] ' +
8
+ className}>
9
+ 0{index + 1}
10
+ </span>);
11
+ };
12
+ export default ItemNumber;
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+
3
+ const ItemNumber = ({ index, className }: { index: number; className: string }) => {
4
+ return (
5
+ <span
6
+ className={
7
+ 'absolute z-0 block text-[200px] font-[900] leading-none text-[#E7E7E7] opacity-25 ' +
8
+ 'max-3xl:text-[150px] ' +
9
+ 'max-xl:text-[120px] ' +
10
+ 'max-md:text-[90px] ' +
11
+ 'max-sm:text-[80px] ' +
12
+ className
13
+ }
14
+ >
15
+ 0{index + 1}
16
+ </span>
17
+ );
18
+ };
19
+ export default ItemNumber;