@daeryun/dr_components 1.0.92 → 1.0.94

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 (35) hide show
  1. package/dist/asset/images/greeting/arrow.svg +3 -0
  2. package/dist/asset/images/greeting/arrow.webp +0 -0
  3. package/dist/asset/images/greeting/dr_logo.svg +4 -0
  4. package/dist/asset/images/greeting/home.webp +0 -0
  5. package/dist/asset/images/greeting/logo/logo.svg +37 -0
  6. package/dist/asset/images/greeting/logo/logo_w.svg +37 -0
  7. package/dist/asset/images/greeting/logo/vertical_logo.svg +37 -0
  8. package/dist/cjs/tsconfig-cjs.tsbuildinfo +1 -1
  9. package/dist/components/Header/PcHeader.jsx +9 -1
  10. package/dist/components/Header/PcHeader.tsx +8 -2
  11. package/dist/components/common/integrate/index.d.ts +1 -1
  12. package/dist/components/page/DaeryunGreeting/CI.d.ts +3 -0
  13. package/dist/components/page/DaeryunGreeting/CI.jsx +132 -0
  14. package/dist/components/page/DaeryunGreeting/CI.tsx +211 -0
  15. package/dist/components/page/DaeryunGreeting/DaeryunGreeting.d.ts +2 -0
  16. package/dist/components/page/DaeryunGreeting/DaeryunGreeting.jsx +16 -0
  17. package/dist/components/page/DaeryunGreeting/DaeryunGreeting.tsx +19 -0
  18. package/dist/components/page/DaeryunGreeting/Direction_new.d.ts +3 -0
  19. package/dist/components/page/DaeryunGreeting/Direction_new.jsx +187 -0
  20. package/dist/components/page/DaeryunGreeting/Direction_new.tsx +298 -0
  21. package/dist/components/page/DaeryunGreeting/GreetingMission.d.ts +2 -0
  22. package/dist/components/page/DaeryunGreeting/GreetingMission.jsx +84 -0
  23. package/dist/components/page/DaeryunGreeting/GreetingMission.tsx +103 -0
  24. package/dist/components/page/DaeryunGreeting/Menu.d.ts +2 -0
  25. package/dist/components/page/DaeryunGreeting/Menu.jsx +24 -0
  26. package/dist/components/page/DaeryunGreeting/Menu.tsx +43 -0
  27. package/dist/components/page/DaeryunGreeting/Title.d.ts +7 -0
  28. package/dist/components/page/DaeryunGreeting/Title.jsx +19 -0
  29. package/dist/components/page/DaeryunGreeting/Title.tsx +39 -0
  30. package/dist/components/page/DaeryunGreeting/Vision_New.d.ts +3 -0
  31. package/dist/components/page/DaeryunGreeting/Vision_New.jsx +221 -0
  32. package/dist/components/page/DaeryunGreeting/Vision_New.tsx +327 -0
  33. package/dist/styles/globals.css +1141 -366
  34. package/dist/tsconfig.tsbuildinfo +1 -1
  35. package/package.json +1 -1
@@ -0,0 +1,132 @@
1
+ import React from 'react';
2
+ import Image from 'next/image';
3
+ import Title from './Title';
4
+ import PageWrapper from '../../Layout/PageWrapper';
5
+ import Logo from '../../../asset/images/greeting/logo/logo.svg';
6
+ import LogoVertical from '../../../asset/images/greeting/logo/vertical_logo.svg';
7
+ const CI = () => {
8
+ const imagePath = process.env.NEXT_PUBLIC_S3_URL + '';
9
+ return (<>
10
+ <section className={'relative font-[500]'}>
11
+ <Image src={imagePath + '/greeting/c.i_img.webp'} alt={'비전 배경화면'} className={'object-cover max-lg:hidden'} fill/>
12
+ <Image src={imagePath + '/greeting/c.i_img_md.webp'} alt={'비전 배경화면'} className={'object-cover max-2xs:hidden lg:hidden'} fill/>
13
+ <Image src={imagePath + '/greeting/c.i_img_sm.webp'} alt={'비전 배경화면'} className={'object-cover 2xs:hidden'} fill/>
14
+ <PageWrapper className={'relative mx-auto flex flex-col items-center py-[170px] max-lg:py-[140px] max-md:py-[100px] max-xs:py-[70px]'}>
15
+ <Title title={'CI'} subTitle={'정체성'} isHeading/>
16
+ <span className={'relative mt-[133px] block h-[111px] w-[196px] ' +
17
+ 'max-3xl:mt-[110px] max-3xl:h-[144px] max-3xl:w-[160px] ' +
18
+ 'max-lg:mt-[90px] max-lg:h-[77px] max-lg:w-[136px]' +
19
+ 'max-md:mt-[68px] max-md:h-[64px] max-md:w-[110px] ' +
20
+ 'max-xs:mt-[46px] max-xs:h-[51px] max-xs:w-[89px]'} id={'CI소개'}>
21
+ <Image src={imagePath + '/greeting/c.i_symbol_01.svg'} alt={'대륜 로고'} fill/>
22
+ </span>
23
+ <p className={'mt-[160px] text-center text-[28px] tracking-[-1.12px] ' +
24
+ 'max-3xl:mt-[130px] max-3xl:text-[24px] ' +
25
+ 'max-lg:mt-[100px] max-lg:text-[20px] ' +
26
+ 'max-md:mt-20 max-md:text-[16px] ' +
27
+ 'max-xs:mt-[60px] max-xs:text-[14px] max-xs:leading-[1.9]'}>
28
+ <>
29
+ 대륜의 심볼마크는 <span className={'font-[800]'}>빛, 승리</span>의 의미를 담고 있습니다.
30
+ <br /> 고객의{' '}
31
+ <span className={'font-[800]'}>막막하고 답답한 상황을 밝게 비추는 빛이 되어 드리겠다</span>
32
+ 는 <br className={'xs:hidden'}/>
33
+ 마음과 <br className={'max-xs:hidden'}/>{' '}
34
+ <span className={'font-[800]'}>진실을 명백히 밝혀 억울함을 풀어드리겠다</span>는{' '}
35
+ <br className={'xs:hidden'}/>
36
+ 대륜의 진심을 상징합니다.
37
+ </>
38
+ </p>
39
+ </PageWrapper>
40
+ </section>
41
+ <PageWrapper>
42
+ <section className={'relative mx-auto flex flex-col py-[170px] font-[500] max-lg:py-[140px] max-md:py-[100px] max-xs:py-[70px]'}>
43
+ <GridWrapper title={'CI 설명'}>
44
+ <span className={'flex gap-[20px] max-[1550px]:flex-col'}>
45
+ <span className={'relative h-[157px] w-[351px] ' +
46
+ 'max-3xl:h-[130px] max-3xl:w-[300px] ' +
47
+ 'max-lg:h-[111px] max-lg:w-[248px] ' +
48
+ 'max-md:h-[98px] max-md:w-[220px] ' +
49
+ 'max-xs:mx-auto max-xs:h-[86px] max-xs:w-[192px]'}>
50
+ <Image src={imagePath + '/greeting/c.i_symbol_02.svg'} alt={'대륜 로고'} fill/>
51
+ </span>
52
+
53
+ <ul className={'mt-[6px] flex flex-col gap-[14px] text-[24px] leading-[1.5] tracking-[-0.96px] ' +
54
+ ' max-3xl:text-[20px] ' +
55
+ 'max-lg:text-[16px] ' +
56
+ 'max-xs:mt-10 max-xs:text-[14px] '}>
57
+ <>
58
+ <li className={'flex gap-1'}>
59
+ <span className={'hidden max-[1550px]:block'}>① </span>
60
+ 마름모는 고객에게 닥친 막막하고 답답한 상황에서 빛이 되는 대륜을 의미
61
+ </li>
62
+ <li className={'flex gap-1'}>
63
+ <span className={'hidden max-[1550px]:block'}>② </span>V 는 Victory의 V를
64
+ 뜻하며, 빛이 되기 위해서는 승리가 필요하다는 의미
65
+ </li>
66
+ <li className={'flex gap-1'}>
67
+ <span className={'hidden max-[1550px]:block'}>③ </span>
68
+ 대륜의 ㄷ를 받침대로 시각화하여 두 손으로 승리를 일궈내겠다는 의지를 반영
69
+ </li>
70
+ </>
71
+ </ul>
72
+ </span>
73
+ </GridWrapper>
74
+ <GridWrapper title={'컬러시스템'}>
75
+ <span className={'max- flex items-start gap-[88px] max-lg:gap-[73px] max-md:flex-col max-md:gap-10'}>
76
+ <span className={'flex aspect-square w-[234px] shrink-0 items-center justify-center rounded-full bg-[#AB0634] text-center text-[24px] font-[800] leading-tight tracking-[-0.48px] text-white ' +
77
+ 'max-lg:w-[180px] max-lg:text-[16px] ' +
78
+ 'max-xs:mx-auto max-xs:w-[140px]'}>
79
+ MAIN
80
+ <br />
81
+ COLOR
82
+ </span>
83
+
84
+ <p className={'flex flex-col gap-[32px] text-[24px] max-3xl:text-[20px] max-lg:text-[16px] max-md:gap-[16px] max-xs:text-[14px]'}>
85
+ <span className={'font-[800]'}>DAERYUN CRIMSON</span>
86
+ <span>
87
+ 메인 색상으로 빨강의 원색에 푸른기를 더해 탄생한 크림슨 색상은 대륜의 뜨거운 활력과
88
+ 열정, 용기를 상징하며 냉철한 판단력을 의미하고, 궁극적으로 고객에게 만족할 만한
89
+ 결과와 일상으로 돌아가는 희망을 전하고자 하는 로펌을 상징합니다.
90
+ </span>
91
+ <span>
92
+ #AE0E36 <br className={'md:hidden'}/>
93
+ <span className={'mx-2 max-md:hidden'}> | </span> R174 G14 B54{' '}
94
+ <span className={'mx-2'}> | </span> C39 M100 Y80 K4
95
+ </span>
96
+ </p>
97
+ </span>
98
+ </GridWrapper>
99
+ <GridWrapper isNotPaddingBottom title={'시그니처'}>
100
+ <div className={'grid grid-cols-[65%_35%] text-[24px] tracking-[-0.96px] max-3xl:text-[20px] max-lg:grid-cols-[55%_45%] max-md:mt-[42px] max-md:grid-cols-1 max-md:gap-10 max-sm:text-[16px] max-xs:text-[14px] '}>
101
+ <span className={'flex flex-col gap-[95px] max-md:gap-5'}>
102
+ 가로조합
103
+ <span className={'relative block h-[73px] w-[473px] max-3xl:h-[60px] max-3xl:w-[300px] max-lg:h-[49px] max-lg:w-[215px] max-md:mx-auto max-xs:h-[32px] max-xs:w-[234px]'}>
104
+ <Logo />
105
+ </span>
106
+ </span>
107
+ <span className={'flex flex-col gap-[56px]'}>
108
+ 세로조합
109
+ <span className={'relative block h-[151px] w-[297px] max-3xl:h-[120px] max-3xl:w-[250px] max-lg:h-[101px] max-lg:w-[198px] max-md:mx-auto max-xs:h-[75px] max-xs:w-[147px]'}>
110
+ <LogoVertical />
111
+ </span>
112
+ </span>
113
+ </div>
114
+ </GridWrapper>
115
+ </section>
116
+ </PageWrapper>
117
+ </>);
118
+ };
119
+ export default CI;
120
+ const GridWrapper = (props) => {
121
+ return (<div className={'grid grid-cols-[0.32fr_1fr] gap-[20px] border-t border-solid border-[#B7B7B7] ' +
122
+ 'max-lg:grid-cols-[0.2fr_1fr] ' +
123
+ 'max-md:grid-cols-1 ' +
124
+ (props.isNotPaddingBottom
125
+ ? 'pt-[120px] max-lg:pt-20 max-md:gap-0 max-xs:pt-5 '
126
+ : 'py-[120px] max-lg:pb-20 max-lg:pt-[60px] max-md:gap-10 max-xs:pb-[60px] max-xs:pt-5')}>
127
+ <h3 className={'shrink-0 text-[32px] font-[800] tracking-[-0.64px] max-3xl:text-[28px] max-lg:text-[24px] max-md:text-[20px] max-xs:text-[16px]'}>
128
+ {props.title}
129
+ </h3>
130
+ {props.children}
131
+ </div>);
132
+ };
@@ -0,0 +1,211 @@
1
+ import React from 'react';
2
+ import Image from 'next/image';
3
+ import Title from './Title';
4
+ import PageWrapper from '../../Layout/PageWrapper';
5
+ import Logo from '../../../asset/images/greeting/logo/logo.svg';
6
+ import LogoVertical from '../../../asset/images/greeting/logo/vertical_logo.svg';
7
+
8
+ const CI = () => {
9
+ const imagePath: string = process.env.NEXT_PUBLIC_S3_URL + '';
10
+
11
+ return (
12
+ <>
13
+ <section className={'relative font-[500]'}>
14
+ <Image
15
+ src={imagePath + '/greeting/c.i_img.webp'}
16
+ alt={'비전 배경화면'}
17
+ className={'object-cover max-lg:hidden'}
18
+ fill
19
+ />
20
+ <Image
21
+ src={imagePath + '/greeting/c.i_img_md.webp'}
22
+ alt={'비전 배경화면'}
23
+ className={'object-cover max-2xs:hidden lg:hidden'}
24
+ fill
25
+ />
26
+ <Image
27
+ src={imagePath + '/greeting/c.i_img_sm.webp'}
28
+ alt={'비전 배경화면'}
29
+ className={'object-cover 2xs:hidden'}
30
+ fill
31
+ />
32
+ <PageWrapper
33
+ className={
34
+ 'relative mx-auto flex flex-col items-center py-[170px] max-lg:py-[140px] max-md:py-[100px] max-xs:py-[70px]'
35
+ }
36
+ >
37
+ <Title title={'CI'} subTitle={'정체성'} isHeading />
38
+ <span
39
+ className={
40
+ 'relative mt-[133px] block h-[111px] w-[196px] ' +
41
+ 'max-3xl:mt-[110px] max-3xl:h-[144px] max-3xl:w-[160px] ' +
42
+ 'max-lg:mt-[90px] max-lg:h-[77px] max-lg:w-[136px]' +
43
+ 'max-md:mt-[68px] max-md:h-[64px] max-md:w-[110px] ' +
44
+ 'max-xs:mt-[46px] max-xs:h-[51px] max-xs:w-[89px]'
45
+ }
46
+ id={'CI소개'}
47
+ >
48
+ <Image src={imagePath + '/greeting/c.i_symbol_01.svg'} alt={'대륜 로고'} fill />
49
+ </span>
50
+ <p
51
+ className={
52
+ 'mt-[160px] text-center text-[28px] tracking-[-1.12px] ' +
53
+ 'max-3xl:mt-[130px] max-3xl:text-[24px] ' +
54
+ 'max-lg:mt-[100px] max-lg:text-[20px] ' +
55
+ 'max-md:mt-20 max-md:text-[16px] ' +
56
+ 'max-xs:mt-[60px] max-xs:text-[14px] max-xs:leading-[1.9]'
57
+ }
58
+ >
59
+ <>
60
+ 대륜의 심볼마크는 <span className={'font-[800]'}>빛, 승리</span>의 의미를 담고 있습니다.
61
+ <br /> 고객의{' '}
62
+ <span className={'font-[800]'}>막막하고 답답한 상황을 밝게 비추는 빛이 되어 드리겠다</span>
63
+ 는 <br className={'xs:hidden'} />
64
+ 마음과 <br className={'max-xs:hidden'} />{' '}
65
+ <span className={'font-[800]'}>진실을 명백히 밝혀 억울함을 풀어드리겠다</span>는{' '}
66
+ <br className={'xs:hidden'} />
67
+ 대륜의 진심을 상징합니다.
68
+ </>
69
+ </p>
70
+ </PageWrapper>
71
+ </section>
72
+ <PageWrapper>
73
+ <section
74
+ className={
75
+ 'relative mx-auto flex flex-col py-[170px] font-[500] max-lg:py-[140px] max-md:py-[100px] max-xs:py-[70px]'
76
+ }
77
+ >
78
+ <GridWrapper title={'CI 설명'}>
79
+ <span className={'flex gap-[20px] max-[1550px]:flex-col'}>
80
+ <span
81
+ className={
82
+ 'relative h-[157px] w-[351px] ' +
83
+ 'max-3xl:h-[130px] max-3xl:w-[300px] ' +
84
+ 'max-lg:h-[111px] max-lg:w-[248px] ' +
85
+ 'max-md:h-[98px] max-md:w-[220px] ' +
86
+ 'max-xs:mx-auto max-xs:h-[86px] max-xs:w-[192px]'
87
+ }
88
+ >
89
+ <Image src={imagePath + '/greeting/c.i_symbol_02.svg'} alt={'대륜 로고'} fill />
90
+ </span>
91
+
92
+ <ul
93
+ className={
94
+ 'mt-[6px] flex flex-col gap-[14px] text-[24px] leading-[1.5] tracking-[-0.96px] ' +
95
+ ' max-3xl:text-[20px] ' +
96
+ 'max-lg:text-[16px] ' +
97
+ 'max-xs:mt-10 max-xs:text-[14px] '
98
+ }
99
+ >
100
+ <>
101
+ <li className={'flex gap-1'}>
102
+ <span className={'hidden max-[1550px]:block'}>① </span>
103
+ 마름모는 고객에게 닥친 막막하고 답답한 상황에서 빛이 되는 대륜을 의미
104
+ </li>
105
+ <li className={'flex gap-1'}>
106
+ <span className={'hidden max-[1550px]:block'}>② </span>V 는 Victory의 V를
107
+ 뜻하며, 빛이 되기 위해서는 승리가 필요하다는 의미
108
+ </li>
109
+ <li className={'flex gap-1'}>
110
+ <span className={'hidden max-[1550px]:block'}>③ </span>
111
+ 대륜의 ㄷ를 받침대로 시각화하여 두 손으로 승리를 일궈내겠다는 의지를 반영
112
+ </li>
113
+ </>
114
+ </ul>
115
+ </span>
116
+ </GridWrapper>
117
+ <GridWrapper title={'컬러시스템'}>
118
+ <span
119
+ className={
120
+ 'max- flex items-start gap-[88px] max-lg:gap-[73px] max-md:flex-col max-md:gap-10'
121
+ }
122
+ >
123
+ <span
124
+ className={
125
+ 'flex aspect-square w-[234px] shrink-0 items-center justify-center rounded-full bg-[#AB0634] text-center text-[24px] font-[800] leading-tight tracking-[-0.48px] text-white ' +
126
+ 'max-lg:w-[180px] max-lg:text-[16px] ' +
127
+ 'max-xs:mx-auto max-xs:w-[140px]'
128
+ }
129
+ >
130
+ MAIN
131
+ <br />
132
+ COLOR
133
+ </span>
134
+
135
+ <p
136
+ className={
137
+ 'flex flex-col gap-[32px] text-[24px] max-3xl:text-[20px] max-lg:text-[16px] max-md:gap-[16px] max-xs:text-[14px]'
138
+ }
139
+ >
140
+ <span className={'font-[800]'}>DAERYUN CRIMSON</span>
141
+ <span>
142
+ 메인 색상으로 빨강의 원색에 푸른기를 더해 탄생한 크림슨 색상은 대륜의 뜨거운 활력과
143
+ 열정, 용기를 상징하며 냉철한 판단력을 의미하고, 궁극적으로 고객에게 만족할 만한
144
+ 결과와 일상으로 돌아가는 희망을 전하고자 하는 로펌을 상징합니다.
145
+ </span>
146
+ <span>
147
+ #AE0E36 <br className={'md:hidden'} />
148
+ <span className={'mx-2 max-md:hidden'}> | </span> R174 G14 B54{' '}
149
+ <span className={'mx-2'}> | </span> C39 M100 Y80 K4
150
+ </span>
151
+ </p>
152
+ </span>
153
+ </GridWrapper>
154
+ <GridWrapper isNotPaddingBottom title={'시그니처'}>
155
+ <div
156
+ className={
157
+ 'grid grid-cols-[65%_35%] text-[24px] tracking-[-0.96px] max-3xl:text-[20px] max-lg:grid-cols-[55%_45%] max-md:mt-[42px] max-md:grid-cols-1 max-md:gap-10 max-sm:text-[16px] max-xs:text-[14px] '
158
+ }
159
+ >
160
+ <span className={'flex flex-col gap-[95px] max-md:gap-5'}>
161
+ 가로조합
162
+ <span
163
+ className={
164
+ 'relative block h-[73px] w-[473px] max-3xl:h-[60px] max-3xl:w-[300px] max-lg:h-[49px] max-lg:w-[215px] max-md:mx-auto max-xs:h-[32px] max-xs:w-[234px]'
165
+ }
166
+ >
167
+ <Logo />
168
+ </span>
169
+ </span>
170
+ <span className={'flex flex-col gap-[56px]'}>
171
+ 세로조합
172
+ <span
173
+ className={
174
+ 'relative block h-[151px] w-[297px] max-3xl:h-[120px] max-3xl:w-[250px] max-lg:h-[101px] max-lg:w-[198px] max-md:mx-auto max-xs:h-[75px] max-xs:w-[147px]'
175
+ }
176
+ >
177
+ <LogoVertical />
178
+ </span>
179
+ </span>
180
+ </div>
181
+ </GridWrapper>
182
+ </section>
183
+ </PageWrapper>
184
+ </>
185
+ );
186
+ };
187
+ export default CI;
188
+
189
+ const GridWrapper = (props: { children: React.ReactNode; title: string; isNotPaddingBottom?: boolean }) => {
190
+ return (
191
+ <div
192
+ className={
193
+ 'grid grid-cols-[0.32fr_1fr] gap-[20px] border-t border-solid border-[#B7B7B7] ' +
194
+ 'max-lg:grid-cols-[0.2fr_1fr] ' +
195
+ 'max-md:grid-cols-1 ' +
196
+ (props.isNotPaddingBottom
197
+ ? 'pt-[120px] max-lg:pt-20 max-md:gap-0 max-xs:pt-5 '
198
+ : 'py-[120px] max-lg:pb-20 max-lg:pt-[60px] max-md:gap-10 max-xs:pb-[60px] max-xs:pt-5')
199
+ }
200
+ >
201
+ <h3
202
+ className={
203
+ 'shrink-0 text-[32px] font-[800] tracking-[-0.64px] max-3xl:text-[28px] max-lg:text-[24px] max-md:text-[20px] max-xs:text-[16px]'
204
+ }
205
+ >
206
+ {props.title}
207
+ </h3>
208
+ {props.children}
209
+ </div>
210
+ );
211
+ };
@@ -0,0 +1,2 @@
1
+ declare const DaeryunGreeting: () => import("react").JSX.Element;
2
+ export default DaeryunGreeting;
@@ -0,0 +1,16 @@
1
+ //대륜소개페이지 > 소개페이지 없는 그룹에 적용 ex)채권추심, 해외이민
2
+ import VisionNew from './Vision_New';
3
+ import Direction_new from './Direction_new';
4
+ import CI from './CI';
5
+ import Menu from './Menu';
6
+ import GreetingMission from './GreetingMission';
7
+ const DaeryunGreeting = () => {
8
+ return (<>
9
+ <Menu />
10
+ <GreetingMission />
11
+ <VisionNew />
12
+ <Direction_new />
13
+ <CI />
14
+ </>);
15
+ };
16
+ export default DaeryunGreeting;
@@ -0,0 +1,19 @@
1
+ //대륜소개페이지 > 소개페이지 없는 그룹에 적용 ex)채권추심, 해외이민
2
+ import VisionNew from './Vision_New';
3
+ import Direction_new from './Direction_new';
4
+ import CI from './CI';
5
+ import Menu from './Menu';
6
+ import GreetingMission from './GreetingMission';
7
+
8
+ const DaeryunGreeting = () => {
9
+ return (
10
+ <>
11
+ <Menu />
12
+ <GreetingMission />
13
+ <VisionNew />
14
+ <Direction_new />
15
+ <CI />
16
+ </>
17
+ );
18
+ };
19
+ export default DaeryunGreeting;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const Direction_new: () => React.JSX.Element;
3
+ export default Direction_new;
@@ -0,0 +1,187 @@
1
+ import Title from './Title';
2
+ import React, { useState } from 'react';
3
+ import IconArrow from '../../../asset/images/greeting/arrow.svg';
4
+ import Image from 'next/image';
5
+ import useBrowser from '../../hook/useBrowser';
6
+ import PageWrapper from '../../Layout/PageWrapper';
7
+ const Direction_new = () => {
8
+ const { width } = useBrowser();
9
+ const imagePath = process.env.NEXT_PUBLIC_S3_URL + '';
10
+ const [selectedNum, setSelectedNum] = useState(0);
11
+ const title = [
12
+ '세계적인 선진 로펌들의 시스템 도입',
13
+ 'AI·IT기술 활용한 프리미엄 법률 서비스',
14
+ '국내외 사무소 연계 적합한 변호사팀 매칭',
15
+ '사후 문제 대비 선제적인 법률자문 제공',
16
+ '추가적인 종합 컨설팅 업무까지 수행'
17
+ ];
18
+ const minTxt = ['Global\nSystem', 'AI·IT\nTechnology', 'Best\nLawyer Team', 'Legal advice', 'Consulting'];
19
+ const list = [
20
+ {
21
+ id: 1,
22
+ txt: '대륜은 세계 최고 선진 로펌들의 시스템을 전격 도입하여 그와 동급한 업무 처리시스템과 고객 만족 서비스를 제공하기 위해 최선을 다하고 있습니다.'
23
+ },
24
+ {
25
+ id: 2,
26
+ txt: '최신 AI 기술과 IT 기술을 도입하여 보다 빠르고 정확하며, 기술들을 활용하여 고객에게 최신 법률정보와 프리미엄 법률 서비스를 제공하고 있습니다.'
27
+ },
28
+ {
29
+ id: 3,
30
+ txt: '국내 및 해외 수많은 사무소들에 있는 전문가들 중 고객의 사건에 대하여 맞춤형 솔루션을 제공할 수 있는 능력을 가진 변호사 및 전문가를 엄선하여 원팀으로 고객 맞춤형 법률 서비스를 제공합니다.'
31
+ },
32
+ {
33
+ id: 4,
34
+ txt: '사건을 위임한 고객이 최대한 편안하고 권리와 이익을 충족시켜줄 수 있는 종합 법률 서비스를 제공하고, 법적 문제에 대해 사전 법률자문을 제공하여 사후 법적 문제가 생기지 않도록 조치합니다.'
35
+ },
36
+ {
37
+ id: 5,
38
+ txt: '대륜은 고객이 수행하는 사업에서 목표로 하는 결과가 나올 수 있도록 선제적이고 종합적인 법률 자문을 제공하고, 경영컨설팅 또는 행동컨설팅, 금융컨설팅 업무까지 수행합니다.'
39
+ }
40
+ ];
41
+ return (<section className={'relative m-auto mb-[170px] mt-[100px] ' +
42
+ //1280px
43
+ 'max-xl:my-[80px] ' +
44
+ //480px
45
+ 'max-xs:my-[40px] '}>
46
+ <PageWrapper>
47
+ <Title title={'DIRECTION'} subTitle={'경영가치'} isHeading/>
48
+ <span id={'경영가치'} className={'absolute top-[25%] max-md:top-[20%]'}></span>
49
+
50
+ <div className={'mx-auto mt-[120px] flex gap-[120px] ' +
51
+ //1280px
52
+ 'max-xl:mt-[70px] max-xl:flex-col max-xl:gap-[80px] ' +
53
+ //768px
54
+ 'max-md:gap-[60px] ' +
55
+ //480px
56
+ 'max-md:mt-[50px] max-xs:gap-[40px] '}>
57
+ {width > 768 ? (<>
58
+ <div className={'flex-1'}>
59
+ <span className={'flex h-full w-[600px] flex-col justify-between gap-[60px] ' +
60
+ //1500px
61
+ 'max-3xl:w-[530px] ' +
62
+ //1280px
63
+ 'max-xl:w-full max-xl:gap-[46px] '}>
64
+ <span className={'relative block w-full flex-1 bg-black ' +
65
+ //1280px
66
+ 'max-xl:h-[420px] max-xl:w-[calc(100%-40px)] max-xl:flex-[unset]'}>
67
+ {width > 1280 ? (<Image src={imagePath + `/greeting/Direction_img_0${selectedNum + 1}.webp`} alt={''} fill sizes={'600px'} className={'h-full w-full object-cover'}/>) : (<Image src={imagePath + `/greeting/Direction_img_0${selectedNum + 1}_md.webp`} alt={''} fill sizes={'100vw'} className={'h-full w-full object-cover'}/>)}
68
+
69
+ <button onClick={() => setSelectedNum(prev => {
70
+ if (prev >= list.length - 1) {
71
+ return 0;
72
+ }
73
+ else {
74
+ return prev + 1;
75
+ }
76
+ })} className={'absolute bottom-[60px] right-[-60px] flex aspect-square w-[220px] flex-col justify-between bg-[#AE0E36] p-[28px] text-left text-white ' +
77
+ 'transition-transform hover:scale-105 ' +
78
+ //1280px
79
+ 'max-xl:bottom-[40px] max-xl:right-[-40px] max-xl:w-[180px] max-xl:p-[24px]'}>
80
+ <p className={'whitespace-pre-line text-[24px] font-[800] leading-[1.3] ' +
81
+ //1280px
82
+ 'max-xl:text-[20px]'}>
83
+ {minTxt[selectedNum]}
84
+ </p>
85
+ <span className={'flex w-full items-center justify-between'}>
86
+ <p className={'text-[24px] ' +
87
+ //1280px
88
+ 'max-xl:text-[20px]'}>
89
+ <span className={'font-[800]'}>{selectedNum + 1}</span> /{' '}
90
+ {list.length}
91
+ </p>
92
+ <IconArrow className={'aspect-square w-[22px] ' +
93
+ //1280px
94
+ 'max-xl:w-[16px]'}/>
95
+ </span>
96
+ </button>
97
+ </span>
98
+ <span className={'w-full'}>
99
+ <p className={'text-[28px] font-[800] leading-[1.4] tracking-[-0.56px] text-[#AE0E36] ' +
100
+ //1500px
101
+ 'max-3xl:text-[26px] ' +
102
+ //1400px
103
+ 'max-xxl:text-[24px] ' +
104
+ //1280px
105
+ 'max-xl:text-[22px] ' +
106
+ //1024px
107
+ 'max-lg:text-[20px] '}>
108
+ {title[selectedNum]}
109
+ </p>
110
+ <p className={'mt-[28px] text-[24px] leading-[1.4] tracking-[-0.96px] ' +
111
+ //1500px
112
+ 'max-3xl:text-[22px] ' +
113
+ //1400px
114
+ 'max-xxl:text-[20px] ' +
115
+ //1280px
116
+ 'max-xl:mt-[20px] max-xl:text-[18px] ' +
117
+ //1024px
118
+ 'max-lg:text-[16px] max-lg:leading-[1.5] '}>
119
+ {list[selectedNum].txt}
120
+ </p>
121
+ </span>
122
+ </span>
123
+ </div>
124
+ <div className={'flex max-w-[740px] flex-1 flex-col gap-[110px] ' +
125
+ //1500px
126
+ 'max-3xl:gap-[80px] ' +
127
+ //1280px
128
+ 'max-xl:grid max-xl:max-w-[unset] max-xl:grid-cols-2 max-xl:gap-[60px] ' +
129
+ //1024px
130
+ 'max-lg:gap-x-[40px] max-lg:gap-y-[48px] '}>
131
+ {[...list.slice(selectedNum + 1), ...list.slice(0, selectedNum)].map((item, index) => (<TxtCon title={title[item.id - 1]} txt={item.txt} key={'dir_' + index}/>))}
132
+ </div>
133
+ </>) : (<>
134
+ {list.map((item, index) => (<span key={'dir_m_' + index} className={''}>
135
+ <span className={'relative mb-[30px] block h-[240px] w-full bg-gray-600 ' +
136
+ //640px
137
+ 'max-sm:h-[200px] ' +
138
+ //480px
139
+ 'max-xs:mb-[24px] max-xs:h-[135px] '}>
140
+ {width > 640 ? (<Image src={imagePath + `/greeting/Direction_img_0${index + 1}_md.webp`} alt={''} fill sizes={'100vw'} className={'h-full w-full object-cover'}/>) : (<Image src={imagePath + `/greeting/Direction_img_0${index + 1}_sm.webp`} alt={''} fill sizes={'100vw'} className={'h-full w-full object-cover'}/>)}
141
+ </span>
142
+ <TxtCon title={title[item.id - 1]} txt={item.txt}/>
143
+ </span>))}
144
+ </>)}
145
+ </div>
146
+ </PageWrapper>
147
+ </section>);
148
+ };
149
+ export default Direction_new;
150
+ const TxtCon = ({ title, txt }) => {
151
+ return (<span className={'block border-l-[4px] border-solid border-[#79001E] pl-[40px] ' +
152
+ //1280px
153
+ 'max-xl:pl-[20px] ' +
154
+ //768px
155
+ 'max-md:border-0 max-md:pl-0 '}>
156
+ <p className={'break-keep text-[28px] font-[800] leading-[1.4] tracking-[-0.56px] text-[#79001E] ' +
157
+ //1500px
158
+ 'max-3xl:text-[26px] ' +
159
+ //1400px
160
+ 'max-xxl:text-[24px] ' +
161
+ //1280px
162
+ 'max-xl:text-[22px] ' +
163
+ //1024px
164
+ 'max-lg:text-[20px] ' +
165
+ //768px
166
+ 'max-md:text-[#AE0E36] ' +
167
+ //480px
168
+ 'max-xs:text-[16px]'}>
169
+ {title}
170
+ </p>
171
+ <p className={'mt-[28px] break-keep text-[24px] leading-[1.4] tracking-[-0.96px] ' +
172
+ //1500px
173
+ 'max-3xl:text-[22px] ' +
174
+ //1400px
175
+ 'max-xxl:text-[20px] ' +
176
+ //1280px
177
+ 'max-xl:mt-[20px] max-xl:text-[18px] ' +
178
+ //1024px
179
+ 'max-lg:text-[16px] max-lg:leading-[1.5] ' +
180
+ //768px
181
+ 'max-md:mt-[16px] ' +
182
+ //480px
183
+ 'max-xs:mt-[14px] max-xs:text-[14px] max-xs:leading-[1.6]'}>
184
+ {txt}
185
+ </p>
186
+ </span>);
187
+ };