@daeryun/dr_components 1.0.30 → 1.0.32
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/asset/images/strength_new/logo.svg +37 -0
- package/dist/components/Footer/index.jsx +41 -46
- package/dist/components/Footer/index.tsx +48 -48
- package/dist/components/common/types/strength_new/index.d.ts +48 -6
- package/dist/components/common/types/strength_new/index.ts +51 -6
- package/dist/components/page/StrengthNew/StrengthCustomer.d.ts +8 -0
- package/dist/components/page/StrengthNew/StrengthCustomer.jsx +15 -0
- package/dist/components/page/StrengthNew/StrengthCustomer.tsx +36 -0
- package/dist/components/page/StrengthNew/StrengthInfra.d.ts +8 -0
- package/dist/components/page/StrengthNew/StrengthInfra.jsx +13 -0
- package/dist/components/page/StrengthNew/StrengthInfra.tsx +34 -0
- package/dist/components/page/StrengthNew/StrengthPeople.jsx +1 -1
- package/dist/components/page/StrengthNew/StrengthPeople.tsx +3 -3
- package/dist/components/page/StrengthNew/StrengthSystem.jsx +1 -1
- package/dist/components/page/StrengthNew/StrengthSystem.tsx +3 -3
- package/dist/components/page/StrengthNew/components/common/BannerSection.jsx +38 -37
- package/dist/components/page/StrengthNew/components/common/BannerSection.tsx +41 -41
- package/dist/components/page/StrengthNew/components/common/ItemNumber.d.ts +6 -0
- package/dist/components/page/StrengthNew/components/common/ItemNumber.jsx +12 -0
- package/dist/components/page/StrengthNew/components/common/ItemNumber.tsx +19 -0
- package/dist/components/page/StrengthNew/components/common/LawyerSection.jsx +35 -32
- package/dist/components/page/StrengthNew/components/common/LawyerSection.tsx +70 -52
- package/dist/components/page/StrengthNew/components/common/ViewMoreSection.jsx +26 -19
- package/dist/components/page/StrengthNew/components/common/ViewMoreSection.tsx +43 -27
- package/dist/components/page/StrengthNew/components/customer/CustomerSection.d.ts +14 -0
- package/dist/components/page/StrengthNew/components/customer/CustomerSection.jsx +237 -0
- package/dist/components/page/StrengthNew/components/customer/CustomerSection.tsx +489 -0
- package/dist/components/page/StrengthNew/components/customer/DaeryunSection.d.ts +9 -0
- package/dist/components/page/StrengthNew/components/customer/DaeryunSection.jsx +85 -0
- package/dist/components/page/StrengthNew/components/customer/DaeryunSection.tsx +203 -0
- package/dist/components/page/StrengthNew/components/infra/InfraSection.d.ts +16 -0
- package/dist/components/page/StrengthNew/components/infra/InfraSection.jsx +254 -0
- package/dist/components/page/StrengthNew/components/infra/InfraSection.tsx +522 -0
- package/dist/components/page/StrengthNew/components/main/IntroSection.jsx +19 -11
- package/dist/components/page/StrengthNew/components/main/IntroSection.tsx +31 -11
- package/dist/components/page/StrengthNew/components/people/PeopleSection.jsx +81 -67
- package/dist/components/page/StrengthNew/components/people/PeopleSection.tsx +117 -80
- package/dist/components/page/StrengthNew/components/system/SystemSection.jsx +127 -99
- package/dist/components/page/StrengthNew/components/system/SystemSection.tsx +182 -108
- package/dist/styles/globals.css +1023 -186
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -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/', '') + '
|
|
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-[
|
|
19
|
-
'max-
|
|
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-
|
|
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=
|
|
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-
|
|
28
|
-
: ' mt-[60px] gap-10 max-
|
|
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-[
|
|
32
|
-
'max-lg:text-[24px] ' +
|
|
27
|
+
'max-xl:text-[24px] ' +
|
|
33
28
|
'max-md:text-[22px] ' +
|
|
34
|
-
'max-
|
|
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-[
|
|
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-
|
|
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-[
|
|
48
|
-
'max-lg:text-[36px] ' +
|
|
41
|
+
'max-xl:text-[36px] ' +
|
|
49
42
|
'max-md:text-[32px] ' +
|
|
50
|
-
'max-
|
|
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-
|
|
48
|
+
'max-xl:text-[20px] ' +
|
|
56
49
|
'max-md:text-[18px] ' +
|
|
57
|
-
'max-
|
|
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]
|
|
65
|
-
|
|
66
|
-
|
|
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-
|
|
71
|
-
'max-md:text-[18px] ' +
|
|
72
|
-
'max-sm:
|
|
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-
|
|
76
|
-
: ' font-
|
|
77
|
-
{
|
|
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-
|
|
86
|
-
<Image src={imagePath + `/strength_new/${bannerImg}_tab.webp`} alt={'강점'} fill priority className={'relative z-0 object-cover max-xs:hidden
|
|
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-
|
|
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-
|
|
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/', '') + '
|
|
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-[
|
|
35
|
-
'max-
|
|
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-
|
|
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=
|
|
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-
|
|
48
|
-
: ' mt-[60px] gap-10 max-
|
|
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-[
|
|
57
|
-
'max-lg:text-[24px] ' +
|
|
52
|
+
'max-xl:text-[24px] ' +
|
|
58
53
|
'max-md:text-[22px] ' +
|
|
59
|
-
'max-
|
|
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-[
|
|
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-
|
|
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-[
|
|
83
|
-
'max-lg:text-[36px] ' +
|
|
76
|
+
'max-xl:text-[36px] ' +
|
|
84
77
|
'max-md:text-[32px] ' +
|
|
85
|
-
'max-
|
|
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-
|
|
87
|
+
'max-xl:text-[20px] ' +
|
|
95
88
|
'max-md:text-[18px] ' +
|
|
96
|
-
'max-
|
|
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]
|
|
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]
|
|
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
|
|
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-
|
|
131
|
-
'max-md:text-[18px] ' +
|
|
132
|
-
'max-sm:
|
|
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-
|
|
136
|
-
: ' font-
|
|
136
|
+
? ' bg-[#5368C433] font-[800] max-md:bg-[#5368C433]'
|
|
137
|
+
: ' font-[400] ')
|
|
137
138
|
}
|
|
138
139
|
>
|
|
139
|
-
{
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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-
|
|
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-
|
|
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,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;
|
|
@@ -1,68 +1,71 @@
|
|
|
1
1
|
import Image from 'next/image';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import Link from 'next/link';
|
|
4
|
-
import { useRouter } from 'next/
|
|
4
|
+
import { usePathname, useRouter } from 'next/navigation';
|
|
5
5
|
import Wrapper from '../../../../Layout/Wrapper';
|
|
6
6
|
const LawyerSection = ({ lawyer_title_1, lawyer_title_2, lawyer_link_list }) => {
|
|
7
7
|
const imagePath = process.env.NEXT_PUBLIC_S3_URL + '';
|
|
8
8
|
const router = useRouter();
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
const pathname = usePathname();
|
|
10
|
+
return (<section className={'relative flex h-[400px] w-full items-center tracking-[-0.04em] ' +
|
|
11
|
+
'max-3xl:h-[340px] ' +
|
|
12
|
+
'max-xl:h-[300px] ' +
|
|
13
|
+
'max-lg:h-[240px] ' +
|
|
14
|
+
'max-md:h-fit '}>
|
|
15
|
+
<Wrapper className={'!static z-10 flex w-full items-center justify-between ' +
|
|
16
|
+
'max-md:flex-col max-md:items-start max-md:gap-10 max-md:py-10 ' +
|
|
17
|
+
'max-xs:pl-5 '}>
|
|
18
|
+
<Image src={imagePath + `/strength_new/lawyer_bg.webp`} alt={'강점'} fill sizes={'100vw'} className={'absolute left-0 top-0 z-[-1] object-cover max-lg:hidden'} quality={100}/>
|
|
19
|
+
<Image src={imagePath + `/strength_new/lawyer_bg_tab.webp`} alt={'강점'} fill sizes={'100vw'} className={'absolute left-0 top-0 z-[-1] object-cover max-sm:hidden lg:hidden'} quality={100}/>
|
|
20
|
+
<Image src={imagePath + `/strength_new/lawyer_bg_mo.webp`} alt={'강점'} fill sizes={'100vw'} className={'absolute left-0 top-0 z-[-1] object-cover sm:hidden'} quality={100}/>
|
|
21
|
+
<div className={'break-keep text-[40px] font-medium leading-[1.4] ' +
|
|
14
22
|
'max-3xl:text-[32px] ' +
|
|
15
|
-
'max-xl:text-[
|
|
23
|
+
'max-xl:text-[28px] ' +
|
|
16
24
|
'max-lg:text-[24px] ' +
|
|
17
25
|
'max-md:pl-5 max-md:leading-[1.3] '}>
|
|
18
|
-
{
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
'max-md:mt-[10px] max-md:pl-0'} dangerouslySetInnerHTML={{ __html: lawyer_title_2 }}/>
|
|
25
|
-
</>) : (<>
|
|
26
|
-
<p dangerouslySetInnerHTML={{ __html: lawyer_title_1 }}/>
|
|
27
|
-
<p className={'pl-[245px] ' +
|
|
28
|
-
'max-3xl:pl-[195px] ' +
|
|
29
|
-
'max-xl:pl-[158px] ' +
|
|
30
|
-
'max-lg:pl-[70px] ' +
|
|
31
|
-
'max-md:mt-[10px] max-md:pl-0'} dangerouslySetInnerHTML={{ __html: lawyer_title_2 }}/>
|
|
32
|
-
</>)}
|
|
26
|
+
<p className={'tracking-[-0.04em]'} dangerouslySetInnerHTML={{ __html: lawyer_title_1 }}/>
|
|
27
|
+
|
|
28
|
+
{/*인적역량*/}
|
|
29
|
+
{pathname.includes('people') ? (<p className={'pl-[245px] tracking-[-0.04em] max-3xl:pl-[195px] max-xl:pl-[172px] max-lg:pl-[70px] max-md:mt-[10px] max-md:pl-0'} dangerouslySetInnerHTML={{ __html: lawyer_title_2 }}/>) : pathname.includes('infra') ? (<p className={'pl-[92px] tracking-[-0.04em] max-3xl:pl-[76px] max-xl:pl-[67px] max-lg:pl-[55px] max-[850px]:pl-0 max-md:mt-[10px] max-md:pl-0'} dangerouslySetInnerHTML={{ __html: lawyer_title_2 }}/>) : pathname.includes('customer') ? (<p className={'pl-[284px] tracking-[-0.04em] max-3xl:pl-[226px] max-xl:pl-[196px] max-lg:pl-[91px] max-md:mt-[10px] max-md:pl-0'} dangerouslySetInnerHTML={{ __html: lawyer_title_2 }}/>) : (
|
|
30
|
+
// 사건 처리 시스템
|
|
31
|
+
<p className={'pl-[215px] tracking-[-0.04em] max-3xl:pl-[171px] max-xl:pl-[147px] max-lg:pl-[52px] max-md:mt-[10px] max-md:pl-0'} dangerouslySetInnerHTML={{ __html: lawyer_title_2 }}/>)}
|
|
33
32
|
</div>
|
|
34
|
-
<div className={'flex gap-5 tracking-[-0.04em] '
|
|
35
|
-
'max-3xl:gap-3 ' +
|
|
36
|
-
'max-lg:gap-[10px] ' +
|
|
37
|
-
'max-md2:gap-0 ' +
|
|
38
|
-
'max-md:gap-[15px] ' +
|
|
39
|
-
'max-xs:gap-[10px]'}>
|
|
33
|
+
<div className={'flex shrink-0 gap-5 tracking-[-0.04em] max-3xl:gap-4 max-lg:gap-[15px] max-md2:gap-[0px] max-md:gap-[15px] max-xs:gap-[10px]'}>
|
|
40
34
|
{lawyer_link_list.map((item, index) => {
|
|
41
35
|
return (<Link href={item.url} className={'group relative h-[240px] w-[240px] rounded-full ' +
|
|
42
36
|
'max-3xl:h-[200px] max-3xl:w-[200px] ' +
|
|
37
|
+
'max-xl:h-[170px] max-xl:w-[170px] ' +
|
|
43
38
|
'max-lg:h-[160px] max-lg:w-[160px] '} key={index}>
|
|
44
39
|
<span style={{ backgroundColor: item.color }} className={'absolute right-1/2 top-1/2 flex h-[220px] w-[220px] -translate-y-1/2 translate-x-1/2 rounded-full ' +
|
|
45
40
|
'max-3xl:h-[180px] max-3xl:w-[180px] ' +
|
|
41
|
+
'max-xl:h-[160px] max-xl:w-[160px] ' +
|
|
46
42
|
'max-lg:h-[140px] max-lg:w-[140px] max-lg:gap-[18px] ' +
|
|
47
43
|
'mix-blend-multiply'}/>
|
|
48
44
|
{/*선*/}
|
|
49
45
|
<span style={{ borderColor: item.color }} className={'absolute right-1/2 top-1/2 h-[230px] w-[230px] -translate-y-1/2 translate-x-1/2 rounded-full border border-solid ' +
|
|
50
46
|
'max-3xl:h-[190px] max-3xl:w-[190px] ' +
|
|
47
|
+
'max-xl:h-[170px] max-xl:w-[170px] ' +
|
|
51
48
|
'max-lg:h-[150px] max-lg:w-[150px] ' +
|
|
52
|
-
'lg:transition-[width,height] lg:duration-500 lg:group-hover:h-[
|
|
49
|
+
'lg:transition-[width,height] lg:duration-500 lg:group-hover:h-[180px] lg:group-hover:w-[180px] xl:group-hover:h-[200px] xl:group-hover:w-[200px] 3xl:group-hover:h-[240px] 3xl:group-hover:w-[240px] '}></span>
|
|
53
50
|
{/*내용*/}
|
|
54
51
|
<span className={'absolute right-1/2 top-1/2 flex h-[220px] w-[220px] -translate-y-1/2 translate-x-1/2 flex-col items-center justify-center gap-5 rounded-full text-white ' +
|
|
55
52
|
'max-3xl:h-[180px] max-3xl:w-[180px] ' +
|
|
53
|
+
'max-xl:h-[160px] max-xl:w-[160px] ' +
|
|
56
54
|
'max-lg:h-[140px] max-lg:w-[140px] max-lg:gap-[18px] '}>
|
|
57
|
-
<p className={'whitespace-pre-wrap text-center text-[24px] font-[700] leading-[1.3]
|
|
58
|
-
|
|
55
|
+
<p className={'whitespace-pre-wrap text-center text-[24px] font-[700] leading-[1.3] ' +
|
|
56
|
+
'max-3xl:text-[20px] ' +
|
|
57
|
+
'max-xl:text-[18px] ' +
|
|
58
|
+
'max-lg:text-[16px]'}>
|
|
59
|
+
{item.title}
|
|
59
60
|
</p>
|
|
60
61
|
|
|
61
62
|
<span className={'flex items-center gap-[10px] border-b border-solid border-white pb-[10px] text-[20px] font-[500] leading-[1] ' +
|
|
62
63
|
'max-3xl:text-[18px] ' +
|
|
64
|
+
'max-xl:text-[16px] ' +
|
|
63
65
|
'lg:transition-[width] lg:duration-500 ' +
|
|
64
66
|
'max-lg:pb-[6px] max-lg:text-[14px]'}>
|
|
65
|
-
{
|
|
67
|
+
{item.buttonText}
|
|
68
|
+
|
|
66
69
|
<span className={'relative block h-[14px] w-[8px] ' +
|
|
67
70
|
'max-3xl:h-[12px] max-3xl:w-[6px] ' +
|
|
68
71
|
'lg:duration-500 lg:group-hover:w-[18px] lg:group-hover:transition-[width] 3xl:group-hover:w-[20px] ' +
|