@daeryun/dr_components 0.1.96 → 0.1.97

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 (45) hide show
  1. package/dist/cjs/tsconfig-cjs.tsbuildinfo +1 -1
  2. package/dist/components/CountingSection/CountingSection.jsx +6 -0
  3. package/dist/components/CountingSection/CountingSection.tsx +6 -0
  4. package/dist/components/MapFix/MapFix.stories.jsx +0 -1
  5. package/dist/components/MapFix/MapFix.stories.tsx +0 -1
  6. package/dist/components/page/index.d.ts +0 -1
  7. package/dist/components/page/index.js +0 -1
  8. package/dist/components/page/index.ts +0 -1
  9. package/dist/lib/utils.d.ts +0 -2
  10. package/dist/lib/utils.js +0 -23
  11. package/dist/lib/utils.ts +0 -25
  12. package/dist/styles/globals.css +0 -699
  13. package/dist/tsconfig.tsbuildinfo +1 -1
  14. package/package.json +2 -2
  15. package/dist/asset/images/strength/01.webp +0 -0
  16. package/dist/asset/images/strength/010.webp +0 -0
  17. package/dist/asset/images/strength/011.webp +0 -0
  18. package/dist/asset/images/strength/02.webp +0 -0
  19. package/dist/asset/images/strength/03.webp +0 -0
  20. package/dist/asset/images/strength/04.webp +0 -0
  21. package/dist/asset/images/strength/05.webp +0 -0
  22. package/dist/asset/images/strength/06.webp +0 -0
  23. package/dist/asset/images/strength/07.webp +0 -0
  24. package/dist/asset/images/strength/08.webp +0 -0
  25. package/dist/asset/images/strength/09.webp +0 -0
  26. package/dist/asset/images/strength/arrow.webp +0 -0
  27. package/dist/asset/images/strength/bg.webp +0 -0
  28. package/dist/asset/images/strength/mo.webp +0 -0
  29. package/dist/asset/images/strength/red_arrow.webp +0 -0
  30. package/dist/asset/images/strength/tb.webp +0 -0
  31. package/dist/components/common/strength/index.d.ts +0 -8
  32. package/dist/components/common/strength/index.js +0 -184
  33. package/dist/components/common/strength/index.ts +0 -185
  34. package/dist/components/page/Strength/Strength.d.ts +0 -5
  35. package/dist/components/page/Strength/Strength.jsx +0 -9
  36. package/dist/components/page/Strength/Strength.stories.d.ts +0 -6
  37. package/dist/components/page/Strength/Strength.stories.jsx +0 -54
  38. package/dist/components/page/Strength/Strength.stories.tsx +0 -61
  39. package/dist/components/page/Strength/Strength.tsx +0 -13
  40. package/dist/components/page/Strength/StrengthIntro.d.ts +0 -6
  41. package/dist/components/page/Strength/StrengthIntro.jsx +0 -247
  42. package/dist/components/page/Strength/StrengthIntro.tsx +0 -355
  43. package/dist/components/page/Strength/StrengthList.d.ts +0 -6
  44. package/dist/components/page/Strength/StrengthList.jsx +0 -106
  45. package/dist/components/page/Strength/StrengthList.tsx +0 -189
@@ -1,247 +0,0 @@
1
- import React from 'react';
2
- import Image from 'next/image';
3
- import useBrowser from '../../common/hook/useBrowser';
4
- import bg from '../../../asset/images/strength/bg.webp';
5
- import bg_tb from '../../../asset/images/strength/tb.webp';
6
- import bg_mo from '../../../asset/images/strength/mo.webp';
7
- import arrow from '../../../asset/images/strength/arrow.webp';
8
- import arrow_red from '../../../asset/images/strength/red_arrow.webp';
9
- const StrengthIntro = ({ initialData }) => {
10
- const { width } = useBrowser();
11
- const handleScroll = (index) => {
12
- const element = document.getElementById(`strength_${index}`);
13
- const elementImg = document.getElementById(`strength_${index}_img`);
14
- if (element && elementImg) {
15
- if (width > 767) {
16
- elementImg.scrollIntoView({ block: 'center', behavior: 'smooth' });
17
- }
18
- else {
19
- element.scrollIntoView({ block: 'center', behavior: 'smooth' });
20
- }
21
- }
22
- };
23
- return (<section className={'relative h-full w-full'}>
24
- <Image src={bg} alt={''} className={'object-cover max-xl:hidden'} fill/>
25
- <Image src={bg_tb} alt={''} className={'object-cover max-md:hidden xl:hidden'} fill/>{' '}
26
- <Image src={bg_mo} alt={''} className={'object-cover md:hidden'} fill/>
27
- {/*header 크기 -> 115px max-lg2:90px max-xs:83px*/}
28
- {/*pt -> 200px*/}
29
- <div className={'relative mx-auto w-full max-w-[1920px] leading-tight ' +
30
- 'flex flex-col items-center px-[190px] pb-[200px] pt-[315px] ' +
31
- 'max-5xl:px-[120px] ' +
32
- 'max-3xl:px-[80px] ' +
33
- 'max-xl:px-[60px] max-xl:pb-[100px] ' +
34
- 'max-md2:px-[40px] max-md:pb-[45px] max-md:pt-[180px] ' +
35
- 'max-2sm:px-[20px] '}>
36
- <h1 className={'mb-2 text-[32px] tracking-[-1.28px] text-white max-md:mb-1 max-md:text-[24px]'}>
37
- 법무법인 대륜의 경쟁력
38
- </h1>
39
- <p className={'mb-[60px] text-[60px] font-[900] tracking-[0px] text-white max-xl:mb-[20px] max-md:mb-4 max-md:text-[36px]'}>
40
- OUR STRENGTH
41
- </p>
42
-
43
- {/*대각선 선*/}
44
- <span className={'mb-[60px] block h-[50px] w-[1.5px] rotate-[45deg] bg-white max-xl:mb-[36px] max-md:mb-4'}></span>
45
-
46
- <p className={'text-center text-[32px] tracking-[-1.28px] text-white max-md:text-[24px] '}>
47
- 우리가 모든 법률 고민에
48
- <br /> 자신있는 이유
49
- </p>
50
-
51
- {/*리스트*/}
52
- <div className={'mt-20 grid w-full grid-cols-1 gap-3 break-keep text-[30px] font-medium tracking-[-1.28px] ' +
53
- 'max-5xl:text-[26px] ' +
54
- 'max-3xl:text-[24px] ' +
55
- 'max-xl:mt-[54px] max-xl:text-[26px] ' +
56
- 'max-md:mt-[85px] max-md:gap-[10px] max-md:text-[24px] max-md:tracking-[-1px] '}>
57
- <div className={'grid w-full grid-cols-2 gap-3 max-xl:grid-cols-1 max-md:gap-[10px] max-md:text-[20px]'}>
58
- <div className={'grid grid-cols-[1fr_1fr] gap-3 max-md:grid-cols-1 max-md:gap-[10px]'}>
59
- <span onClick={() => handleScroll(0)} className={'relative flex h-[280px] w-full cursor-pointer items-center bg-white pl-[8%] pr-[20px] font-[600] leading-[1] text-white xl:tracking-[-2.8px] ' +
60
- 'max-5xl:h-[250px] max-5xl:pl-[6%] ' +
61
- 'max-3xl:h-[220px] max-3xl:pl-[5%] ' +
62
- 'max-xl:h-[250px] max-xl:pl-[30px] ' +
63
- 'max-md:h-[160px] max-md:pl-[30px]'}>
64
- <span className={'text-[#AB0634] md:pb-8'}>
65
- {/*<span*/}
66
- {/* className={*/}
67
- {/* 'text-[100px] font-[800] max-5xl:text-[70px] max-3xl:text-[60px] max-xl:text-[74px] max-md:text-[40px] xl:tracking-[-2px]'*/}
68
- {/* }*/}
69
- {/*>*/}
70
- {/* 20*/}
71
- {/*</span>{' '}*/}
72
- <LgText isSmall>20</LgText> 년<span className={'text-black'}> 이상 경력 </span>
73
- <br className={'max-xl:hidden max-md:block'}/>
74
- <span className={'block text-[#AB0634] '}>
75
- {/*<span*/}
76
- {/* className={*/}
77
- {/* 'text-[100px] font-[800] text-[#AB0634] max-5xl:text-[70px] max-3xl:text-[60px] max-xl:text-[74px] max-md:text-[40px] xl:tracking-[-2px]'*/}
78
- {/* }*/}
79
- {/*>*/}
80
- {/* 20*/}
81
- {/*</span>{' '}*/}
82
- <LgText isSmall>20</LgText> 인
83
- <span className={'text-black'}>의 법무법인 TF</span>
84
- </span>
85
- </span>
86
- <Arrow isRed/>
87
- </span>
88
- <span onClick={() => handleScroll(1)} className={'relative block h-[280px] w-full cursor-pointer bg-[#AB0634] bg-opacity-90 pl-[8%] pr-[20px] pt-[33px] leading-[1.1] text-white ' +
89
- 'max-5xl:h-[250px] max-5xl:pl-[6%] ' +
90
- 'max-3xl:h-[220px] max-3xl:pl-[5%] ' +
91
- 'max-xl:h-[250px] max-xl:pl-[30px] ' +
92
- 'max-md:flex max-md:h-[160px] max-md:flex-col max-md:justify-center max-md:pl-[30px] max-md:pt-0'}>
93
- <span>대륜 로펌만의</span>
94
- <LgText>AI</LgText>
95
- <span className={'mt-1 block'}>빅데이터 판결 분석 변론</span>
96
- <Arrow />
97
- </span>
98
- </div>
99
-
100
- <div className={'grid grid-cols-[1fr_1fr] gap-3 max-md:grid-cols-1 max-md:gap-[10px]'}>
101
- <span onClick={() => handleScroll(2)} className={'relative block h-[280px] w-full cursor-pointer border border-solid border-white bg-white bg-opacity-10 pl-[8%] pr-[20px] pt-[33px] leading-[1.1] text-white ' +
102
- 'max-5xl:h-[250px] max-5xl:pl-[6%] ' +
103
- 'max-3xl:h-[220px] max-3xl:pl-[5%] ' +
104
- 'max-xl:h-[250px] max-xl:pl-[30px] ' +
105
- 'max-md:flex max-md:h-[160px] max-md:flex-col max-md:justify-center max-md:pl-[30px] max-md:pt-0 '}>
106
- <span>
107
- 법무법인 대륜의 <br />
108
- <LgText>{initialData.professional_cnt}</LgText> 명
109
- </span>
110
- <span className={'mt-2 block'}>이상의 전문가</span>
111
- <Arrow />
112
- </span>
113
- <span onClick={() => handleScroll(3)} className={'relative flex h-[280px] w-full cursor-pointer flex-col justify-center bg-white bg-opacity-90 pl-[8%] pr-[20px] text-left leading-[1.3] text-black xl:tracking-[-3px] ' +
114
- 'max-5xl:h-[250px] max-5xl:pl-[6%] ' +
115
- 'max-3xl:h-[220px] max-3xl:pl-[5%] ' +
116
- 'max-xl:h-[250px] max-xl:pl-[30px] ' +
117
- 'max-md:h-[160px] max-md:pl-[30px] '}>
118
- <span>
119
- 매달 <br className={'max-md:hidden'}/>
120
- <LgText isSmall className={'text-[#AB0634]'}>
121
- 4,000
122
- </LgText>
123
- <span className={'text-[#AB0634]'}> 명</span> 이상 <br className={'xl:hidden'}/>
124
- 개인ㆍ법인 법률상담
125
- </span>
126
- <Arrow isRed/>
127
- </span>
128
- </div>
129
- </div>
130
-
131
- <div className={'grid w-full grid-cols-[1fr_1fr_1fr] gap-3 max-xl:grid-cols-1 max-md:gap-[10px] max-md:text-[20px]'}>
132
- <span onClick={() => handleScroll(4)} className={'relative flex h-[280px] w-full cursor-pointer flex-col bg-white bg-opacity-90 pl-[6.2%] pr-[20px] pt-[45px] text-left text-black ' +
133
- 'max-5xl:h-[250px] max-5xl:pl-[6%] ' +
134
- 'max-3xl:h-[220px] max-3xl:pl-[5%] ' +
135
- 'max-xl:h-[200px] max-xl:pl-[30px] ' +
136
- 'max-md:flex max-md:h-[160px] max-md:flex-col max-md:justify-center max-md:pl-[30px] max-md:pt-0 '}>
137
- <span>
138
- {initialData.consult_date.toLocaleString()}
139
- <span className={'block xl:mt-3'}>
140
- {' '}
141
- <LgText className={'text-[#AB0634]'} isSmall>
142
- {initialData.consult_cnt.toLocaleString()}
143
- </LgText>{' '}
144
- 건의 상담건수
145
- </span>
146
- </span>
147
- <Arrow isRed/>
148
- </span>
149
-
150
- <WhiteBox onClick={() => handleScroll(5)} className={'max-xl:h-[200px] max-md:h-[160px] max-md:pl-[30px]'}>
151
- <span>
152
- 로펌 업계 평균 대비 <span className={'font-[800]'}>2.5배</span> 이상
153
- <br /> 선택받은 특정변호사
154
- </span>
155
- </WhiteBox>
156
- <span onClick={() => handleScroll(6)} className={'relative flex h-[280px] w-full cursor-pointer items-center justify-center bg-[#AB0634] bg-opacity-90 px-[20px] text-center text-[32px] text-white ' +
157
- 'max-5xl:h-[250px] max-5xl:text-[28px] ' +
158
- 'max-3xl:h-[220px] max-3xl:text-[24px] ' +
159
- 'max-xl:h-[200px] max-xl:text-[30px] ' +
160
- 'max-md:flex max-md:h-[160px] max-md:flex-col max-md:justify-center max-md:pl-[30px] max-md:pt-0 max-md:text-[24px] '}>
161
- <span>
162
- 법무법인 대륜, 단 한 번의
163
- <br />
164
- 선임으로 <span className={'font-[800]'}>해결</span>
165
- </span>
166
- <Arrow />
167
- </span>
168
- </div>
169
-
170
- <div className={'grid w-full grid-cols-2 gap-3 max-xl:grid-cols-1 max-md:gap-[10px] max-md:text-[20px]'}>
171
- <div className={'grid grid-cols-2 gap-3 max-md:grid-cols-1 max-md:gap-[10px]'}>
172
- <span onClick={() => handleScroll(7)} className={'relative block h-[280px] w-full cursor-pointer bg-[#AB0634] bg-opacity-90 pl-[8%] pr-[20px] pt-[43px] text-white ' +
173
- 'max-5xl:h-[250px] max-5xl:pl-[6%] ' +
174
- 'max-3xl:h-[220px] max-3xl:pl-[5%] ' +
175
- 'max-xl:h-[250px] max-xl:pl-[30px] ' +
176
- 'max-md:flex max-md:h-[160px] max-md:flex-col max-md:justify-center max-md:pl-[30px] max-md:pt-0'}>
177
- 전국 어디서든 찾는, <br />
178
- <span>
179
- <LgText>{initialData.office_cnt}</LgText>
180
- <span className={'max-md:text-[20px]'}>개 사무소</span>
181
- </span>
182
- <Arrow />
183
- </span>
184
- <span onClick={() => handleScroll(8)} className={'relative flex h-[280px] w-full cursor-pointer bg-white bg-opacity-90 pl-[8%] pr-[10px] pt-[33px] leading-none xl:tracking-[-3px] ' +
185
- 'max-5xl:h-[250px] max-5xl:pl-[6%] ' +
186
- 'max-3xl:h-[220px] max-3xl:pl-[5%] ' +
187
- 'max-xl:h-[250px] max-xl:pl-[30px] ' +
188
- 'max-md:flex max-md:h-[160px] max-md:flex-col max-md:justify-center max-md:pl-[30px] max-md:pt-0'}>
189
- <span className={'text-[#AB0634]'}>
190
- <LgText isSmall>365</LgText> 일, <br className={'max-xl:hidden max-md:block'}/>
191
- <span className={'block md:translate-y-[-15px]'}>
192
- <LgText isSmall>24</LgText> 시간 <br />
193
- <span className={'text-black'}>상담·긴급대응 가능 로펌</span>
194
- </span>
195
- </span>
196
- <Arrow isRed/>
197
- </span>
198
- </div>
199
- <div className={'grid grid-cols-2 gap-3 max-md:grid-cols-1 max-md:gap-[10px]'}>
200
- <WhiteBox onClick={() => handleScroll(9)} className={'max-xl:h-[250px] max-md:h-[160px]'}>
201
- <span>
202
- <span className={'block font-[800]'}>합리적인 수임료</span> 정찰제 도입
203
- </span>
204
- </WhiteBox>
205
- <span onClick={() => handleScroll(10)} className={'text-block relative flex h-[280px] w-full cursor-pointer items-center justify-center bg-white px-[20px] text-center text-[32px] ' +
206
- 'max-5xl:h-[250px] max-5xl:text-[28px] ' +
207
- 'max-3xl:h-[220px] max-3xl:text-[24px] ' +
208
- 'max-xl:h-[250px] ' +
209
- 'max-xl:text-[30px] ' +
210
- 'max-md:h-[160px] max-md:text-[24px] '}>
211
- <span>
212
- 신뢰로 쌓은
213
- <span className={'block font-bold text-[#AB0634]'}> 대륜 로펌의 고객만족도</span>
214
- </span>
215
- <Arrow isRed/>
216
- </span>
217
- </div>
218
- </div>
219
- </div>
220
- </div>
221
- </section>);
222
- };
223
- export default StrengthIntro;
224
- const WhiteBox = (props) => {
225
- return (<span onClick={props.onClick} className={'relative flex h-[280px] w-full cursor-pointer items-center justify-center border border-solid border-white bg-white bg-opacity-10 px-[20px] text-center text-[32px] text-white ' +
226
- 'max-5xl:h-[250px] max-5xl:text-[28px] ' +
227
- 'max-3xl:h-[220px] max-3xl:text-[24px] ' +
228
- 'max-3xl:h-[220px] ' +
229
- 'max-xl:text-[30px] ' +
230
- 'max-md:text-[24px] ' +
231
- props.className}>
232
- {props.children}
233
- <Arrow />
234
- </span>);
235
- };
236
- const LgText = (props) => {
237
- return (<span className={'font-[800] leading-[1.15] max-5xl:text-[70px] max-3xl:text-[60px] max-xl:text-[74px] ' +
238
- (props.isSmall
239
- ? ' text-[74px] max-md:text-[40px] xl:tracking-[-4px] '
240
- : ' text-[90px] max-md:text-[60px] xl:tracking-[-2px] ') +
241
- (props.className ? props.className : '')}>
242
- {props.children}
243
- </span>);
244
- };
245
- const Arrow = (props) => {
246
- return (<Image src={props.isRed ? arrow_red : arrow} alt={'이동'} width={19} height={30} className={'absolute bottom-10 right-10 h-auto w-[12px] max-3xl:bottom-5 max-3xl:right-5 max-xl:bottom-8 max-xl:right-8 max-md:bottom-[30px] max-md:right-[30px]'}/>);
247
- };
@@ -1,355 +0,0 @@
1
- import React from 'react';
2
- import Image from 'next/image';
3
- import useBrowser from '../../common/hook/useBrowser';
4
- import { IInitialDataTypes } from '../../common';
5
-
6
- import bg from '../../../asset/images/strength/bg.webp';
7
- import bg_tb from '../../../asset/images/strength/tb.webp';
8
- import bg_mo from '../../../asset/images/strength/mo.webp';
9
- import arrow from '../../../asset/images/strength/arrow.webp';
10
- import arrow_red from '../../../asset/images/strength/red_arrow.webp';
11
-
12
- const StrengthIntro = ({ initialData }: { initialData: IInitialDataTypes }) => {
13
- const { width } = useBrowser();
14
- const handleScroll = (index: number) => {
15
- const element = document.getElementById(`strength_${index}`);
16
- const elementImg = document.getElementById(`strength_${index}_img`);
17
- if (element && elementImg) {
18
- if (width > 767) {
19
- elementImg.scrollIntoView({ block: 'center', behavior: 'smooth' });
20
- } else {
21
- element.scrollIntoView({ block: 'center', behavior: 'smooth' });
22
- }
23
- }
24
- };
25
-
26
- return (
27
- <section className={'relative h-full w-full'}>
28
- <Image src={bg} alt={''} className={'object-cover max-xl:hidden'} fill />
29
- <Image src={bg_tb} alt={''} className={'object-cover max-md:hidden xl:hidden'} fill />{' '}
30
- <Image src={bg_mo} alt={''} className={'object-cover md:hidden'} fill />
31
- {/*header 크기 -> 115px max-lg2:90px max-xs:83px*/}
32
- {/*pt -> 200px*/}
33
- <div
34
- className={
35
- 'relative mx-auto w-full max-w-[1920px] leading-tight ' +
36
- 'flex flex-col items-center px-[190px] pb-[200px] pt-[315px] ' +
37
- 'max-5xl:px-[120px] ' +
38
- 'max-3xl:px-[80px] ' +
39
- 'max-xl:px-[60px] max-xl:pb-[100px] ' +
40
- 'max-md2:px-[40px] max-md:pb-[45px] max-md:pt-[180px] ' +
41
- 'max-2sm:px-[20px] '
42
- }
43
- >
44
- <h1 className={'mb-2 text-[32px] tracking-[-1.28px] text-white max-md:mb-1 max-md:text-[24px]'}>
45
- 법무법인 대륜의 경쟁력
46
- </h1>
47
- <p
48
- className={
49
- 'mb-[60px] text-[60px] font-[900] tracking-[0px] text-white max-xl:mb-[20px] max-md:mb-4 max-md:text-[36px]'
50
- }
51
- >
52
- OUR STRENGTH
53
- </p>
54
-
55
- {/*대각선 선*/}
56
- <span
57
- className={
58
- 'mb-[60px] block h-[50px] w-[1.5px] rotate-[45deg] bg-white max-xl:mb-[36px] max-md:mb-4'
59
- }
60
- ></span>
61
-
62
- <p className={'text-center text-[32px] tracking-[-1.28px] text-white max-md:text-[24px] '}>
63
- 우리가 모든 법률 고민에
64
- <br /> 자신있는 이유
65
- </p>
66
-
67
- {/*리스트*/}
68
- <div
69
- className={
70
- 'mt-20 grid w-full grid-cols-1 gap-3 break-keep text-[30px] font-medium tracking-[-1.28px] ' +
71
- 'max-5xl:text-[26px] ' +
72
- 'max-3xl:text-[24px] ' +
73
- 'max-xl:mt-[54px] max-xl:text-[26px] ' +
74
- 'max-md:mt-[85px] max-md:gap-[10px] max-md:text-[24px] max-md:tracking-[-1px] '
75
- }
76
- >
77
- <div
78
- className={
79
- 'grid w-full grid-cols-2 gap-3 max-xl:grid-cols-1 max-md:gap-[10px] max-md:text-[20px]'
80
- }
81
- >
82
- <div className={'grid grid-cols-[1fr_1fr] gap-3 max-md:grid-cols-1 max-md:gap-[10px]'}>
83
- <span
84
- onClick={() => handleScroll(0)}
85
- className={
86
- 'relative flex h-[280px] w-full cursor-pointer items-center bg-white pl-[8%] pr-[20px] font-[600] leading-[1] text-white xl:tracking-[-2.8px] ' +
87
- 'max-5xl:h-[250px] max-5xl:pl-[6%] ' +
88
- 'max-3xl:h-[220px] max-3xl:pl-[5%] ' +
89
- 'max-xl:h-[250px] max-xl:pl-[30px] ' +
90
- 'max-md:h-[160px] max-md:pl-[30px]'
91
- }
92
- >
93
- <span className={'text-[#AB0634] md:pb-8'}>
94
- {/*<span*/}
95
- {/* className={*/}
96
- {/* 'text-[100px] font-[800] max-5xl:text-[70px] max-3xl:text-[60px] max-xl:text-[74px] max-md:text-[40px] xl:tracking-[-2px]'*/}
97
- {/* }*/}
98
- {/*>*/}
99
- {/* 20*/}
100
- {/*</span>{' '}*/}
101
- <LgText isSmall>20</LgText> 년<span className={'text-black'}> 이상 경력 </span>
102
- <br className={'max-xl:hidden max-md:block'} />
103
- <span className={'block text-[#AB0634] '}>
104
- {/*<span*/}
105
- {/* className={*/}
106
- {/* 'text-[100px] font-[800] text-[#AB0634] max-5xl:text-[70px] max-3xl:text-[60px] max-xl:text-[74px] max-md:text-[40px] xl:tracking-[-2px]'*/}
107
- {/* }*/}
108
- {/*>*/}
109
- {/* 20*/}
110
- {/*</span>{' '}*/}
111
- <LgText isSmall>20</LgText> 인
112
- <span className={'text-black'}>의 법무법인 TF</span>
113
- </span>
114
- </span>
115
- <Arrow isRed />
116
- </span>
117
- <span
118
- onClick={() => handleScroll(1)}
119
- className={
120
- 'relative block h-[280px] w-full cursor-pointer bg-[#AB0634] bg-opacity-90 pl-[8%] pr-[20px] pt-[33px] leading-[1.1] text-white ' +
121
- 'max-5xl:h-[250px] max-5xl:pl-[6%] ' +
122
- 'max-3xl:h-[220px] max-3xl:pl-[5%] ' +
123
- 'max-xl:h-[250px] max-xl:pl-[30px] ' +
124
- 'max-md:flex max-md:h-[160px] max-md:flex-col max-md:justify-center max-md:pl-[30px] max-md:pt-0'
125
- }
126
- >
127
- <span>대륜 로펌만의</span>
128
- <LgText>AI</LgText>
129
- <span className={'mt-1 block'}>빅데이터 판결 분석 변론</span>
130
- <Arrow />
131
- </span>
132
- </div>
133
-
134
- <div className={'grid grid-cols-[1fr_1fr] gap-3 max-md:grid-cols-1 max-md:gap-[10px]'}>
135
- <span
136
- onClick={() => handleScroll(2)}
137
- className={
138
- 'relative block h-[280px] w-full cursor-pointer border border-solid border-white bg-white bg-opacity-10 pl-[8%] pr-[20px] pt-[33px] leading-[1.1] text-white ' +
139
- 'max-5xl:h-[250px] max-5xl:pl-[6%] ' +
140
- 'max-3xl:h-[220px] max-3xl:pl-[5%] ' +
141
- 'max-xl:h-[250px] max-xl:pl-[30px] ' +
142
- 'max-md:flex max-md:h-[160px] max-md:flex-col max-md:justify-center max-md:pl-[30px] max-md:pt-0 '
143
- }
144
- >
145
- <span>
146
- 법무법인 대륜의 <br />
147
- <LgText>{initialData.professional_cnt}</LgText> 명
148
- </span>
149
- <span className={'mt-2 block'}>이상의 전문가</span>
150
- <Arrow />
151
- </span>
152
- <span
153
- onClick={() => handleScroll(3)}
154
- className={
155
- 'relative flex h-[280px] w-full cursor-pointer flex-col justify-center bg-white bg-opacity-90 pl-[8%] pr-[20px] text-left leading-[1.3] text-black xl:tracking-[-3px] ' +
156
- 'max-5xl:h-[250px] max-5xl:pl-[6%] ' +
157
- 'max-3xl:h-[220px] max-3xl:pl-[5%] ' +
158
- 'max-xl:h-[250px] max-xl:pl-[30px] ' +
159
- 'max-md:h-[160px] max-md:pl-[30px] '
160
- }
161
- >
162
- <span>
163
- 매달 <br className={'max-md:hidden'} />
164
- <LgText isSmall className={'text-[#AB0634]'}>
165
- 4,000
166
- </LgText>
167
- <span className={'text-[#AB0634]'}> 명</span> 이상 <br className={'xl:hidden'} />
168
- 개인ㆍ법인 법률상담
169
- </span>
170
- <Arrow isRed />
171
- </span>
172
- </div>
173
- </div>
174
-
175
- <div
176
- className={
177
- 'grid w-full grid-cols-[1fr_1fr_1fr] gap-3 max-xl:grid-cols-1 max-md:gap-[10px] max-md:text-[20px]'
178
- }
179
- >
180
- <span
181
- onClick={() => handleScroll(4)}
182
- className={
183
- 'relative flex h-[280px] w-full cursor-pointer flex-col bg-white bg-opacity-90 pl-[6.2%] pr-[20px] pt-[45px] text-left text-black ' +
184
- 'max-5xl:h-[250px] max-5xl:pl-[6%] ' +
185
- 'max-3xl:h-[220px] max-3xl:pl-[5%] ' +
186
- 'max-xl:h-[200px] max-xl:pl-[30px] ' +
187
- 'max-md:flex max-md:h-[160px] max-md:flex-col max-md:justify-center max-md:pl-[30px] max-md:pt-0 '
188
- }
189
- >
190
- <span>
191
- {initialData.consult_date.toLocaleString()}
192
- <span className={'block xl:mt-3'}>
193
- {' '}
194
- <LgText className={'text-[#AB0634]'} isSmall>
195
- {initialData.consult_cnt.toLocaleString()}
196
- </LgText>{' '}
197
- 건의 상담건수
198
- </span>
199
- </span>
200
- <Arrow isRed />
201
- </span>
202
-
203
- <WhiteBox
204
- onClick={() => handleScroll(5)}
205
- className={'max-xl:h-[200px] max-md:h-[160px] max-md:pl-[30px]'}
206
- >
207
- <span>
208
- 로펌 업계 평균 대비 <span className={'font-[800]'}>2.5배</span> 이상
209
- <br /> 선택받은 특정변호사
210
- </span>
211
- </WhiteBox>
212
- <span
213
- onClick={() => handleScroll(6)}
214
- className={
215
- 'relative flex h-[280px] w-full cursor-pointer items-center justify-center bg-[#AB0634] bg-opacity-90 px-[20px] text-center text-[32px] text-white ' +
216
- 'max-5xl:h-[250px] max-5xl:text-[28px] ' +
217
- 'max-3xl:h-[220px] max-3xl:text-[24px] ' +
218
- 'max-xl:h-[200px] max-xl:text-[30px] ' +
219
- 'max-md:flex max-md:h-[160px] max-md:flex-col max-md:justify-center max-md:pl-[30px] max-md:pt-0 max-md:text-[24px] '
220
- }
221
- >
222
- <span>
223
- 법무법인 대륜, 단 한 번의
224
- <br />
225
- 선임으로 <span className={'font-[800]'}>해결</span>
226
- </span>
227
- <Arrow />
228
- </span>
229
- </div>
230
-
231
- <div
232
- className={
233
- 'grid w-full grid-cols-2 gap-3 max-xl:grid-cols-1 max-md:gap-[10px] max-md:text-[20px]'
234
- }
235
- >
236
- <div className={'grid grid-cols-2 gap-3 max-md:grid-cols-1 max-md:gap-[10px]'}>
237
- <span
238
- onClick={() => handleScroll(7)}
239
- className={
240
- 'relative block h-[280px] w-full cursor-pointer bg-[#AB0634] bg-opacity-90 pl-[8%] pr-[20px] pt-[43px] text-white ' +
241
- 'max-5xl:h-[250px] max-5xl:pl-[6%] ' +
242
- 'max-3xl:h-[220px] max-3xl:pl-[5%] ' +
243
- 'max-xl:h-[250px] max-xl:pl-[30px] ' +
244
- 'max-md:flex max-md:h-[160px] max-md:flex-col max-md:justify-center max-md:pl-[30px] max-md:pt-0'
245
- }
246
- >
247
- 전국 어디서든 찾는, <br />
248
- <span>
249
- <LgText>{initialData.office_cnt}</LgText>
250
- <span className={'max-md:text-[20px]'}>개 사무소</span>
251
- </span>
252
- <Arrow />
253
- </span>
254
- <span
255
- onClick={() => handleScroll(8)}
256
- className={
257
- 'relative flex h-[280px] w-full cursor-pointer bg-white bg-opacity-90 pl-[8%] pr-[10px] pt-[33px] leading-none xl:tracking-[-3px] ' +
258
- 'max-5xl:h-[250px] max-5xl:pl-[6%] ' +
259
- 'max-3xl:h-[220px] max-3xl:pl-[5%] ' +
260
- 'max-xl:h-[250px] max-xl:pl-[30px] ' +
261
- 'max-md:flex max-md:h-[160px] max-md:flex-col max-md:justify-center max-md:pl-[30px] max-md:pt-0'
262
- }
263
- >
264
- <span className={'text-[#AB0634]'}>
265
- <LgText isSmall>365</LgText> 일, <br className={'max-xl:hidden max-md:block'} />
266
- <span className={'block md:translate-y-[-15px]'}>
267
- <LgText isSmall>24</LgText> 시간 <br />
268
- <span className={'text-black'}>상담·긴급대응 가능 로펌</span>
269
- </span>
270
- </span>
271
- <Arrow isRed />
272
- </span>
273
- </div>
274
- <div className={'grid grid-cols-2 gap-3 max-md:grid-cols-1 max-md:gap-[10px]'}>
275
- <WhiteBox onClick={() => handleScroll(9)} className={'max-xl:h-[250px] max-md:h-[160px]'}>
276
- <span>
277
- <span className={'block font-[800]'}>합리적인 수임료</span> 정찰제 도입
278
- </span>
279
- </WhiteBox>
280
- <span
281
- onClick={() => handleScroll(10)}
282
- className={
283
- 'text-block relative flex h-[280px] w-full cursor-pointer items-center justify-center bg-white px-[20px] text-center text-[32px] ' +
284
- 'max-5xl:h-[250px] max-5xl:text-[28px] ' +
285
- 'max-3xl:h-[220px] max-3xl:text-[24px] ' +
286
- 'max-xl:h-[250px] ' +
287
- 'max-xl:text-[30px] ' +
288
- 'max-md:h-[160px] max-md:text-[24px] '
289
- }
290
- >
291
- <span>
292
- 신뢰로 쌓은
293
- <span className={'block font-bold text-[#AB0634]'}> 대륜 로펌의 고객만족도</span>
294
- </span>
295
- <Arrow isRed />
296
- </span>
297
- </div>
298
- </div>
299
- </div>
300
- </div>
301
- </section>
302
- );
303
- };
304
-
305
- export default StrengthIntro;
306
-
307
- const WhiteBox = (props: { children: React.ReactNode; className?: string; onClick: () => void }) => {
308
- return (
309
- <span
310
- onClick={props.onClick}
311
- className={
312
- 'relative flex h-[280px] w-full cursor-pointer items-center justify-center border border-solid border-white bg-white bg-opacity-10 px-[20px] text-center text-[32px] text-white ' +
313
- 'max-5xl:h-[250px] max-5xl:text-[28px] ' +
314
- 'max-3xl:h-[220px] max-3xl:text-[24px] ' +
315
- 'max-3xl:h-[220px] ' +
316
- 'max-xl:text-[30px] ' +
317
- 'max-md:text-[24px] ' +
318
- props.className
319
- }
320
- >
321
- {props.children}
322
- <Arrow />
323
- </span>
324
- );
325
- };
326
-
327
- const LgText = (props: { children: React.ReactNode; isSmall?: boolean; className?: string }) => {
328
- return (
329
- <span
330
- className={
331
- 'font-[800] leading-[1.15] max-5xl:text-[70px] max-3xl:text-[60px] max-xl:text-[74px] ' +
332
- (props.isSmall
333
- ? ' text-[74px] max-md:text-[40px] xl:tracking-[-4px] '
334
- : ' text-[90px] max-md:text-[60px] xl:tracking-[-2px] ') +
335
- (props.className ? props.className : '')
336
- }
337
- >
338
- {props.children}
339
- </span>
340
- );
341
- };
342
-
343
- const Arrow = (props: { isRed?: boolean }) => {
344
- return (
345
- <Image
346
- src={props.isRed ? arrow_red : arrow}
347
- alt={'이동'}
348
- width={19}
349
- height={30}
350
- className={
351
- 'absolute bottom-10 right-10 h-auto w-[12px] max-3xl:bottom-5 max-3xl:right-5 max-xl:bottom-8 max-xl:right-8 max-md:bottom-[30px] max-md:right-[30px]'
352
- }
353
- />
354
- );
355
- };
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- import { IInitialDataTypes } from '../../common';
3
- declare const StrengthList: ({ initialData }: {
4
- initialData: IInitialDataTypes;
5
- }) => React.JSX.Element;
6
- export default StrengthList;