@daeryun/dr_components 0.7.52 → 0.7.53
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/lawfirm/balance.svg +19 -0
- package/dist/asset/images/lawfirm/certified.svg +33 -0
- package/dist/asset/images/lawfirm/checkbox.svg +11 -0
- package/dist/asset/images/lawfirm/document.svg +23 -0
- package/dist/asset/images/lawfirm/downArrow.svg +5 -0
- package/dist/asset/images/lawfirm/picture.svg +12 -0
- package/dist/asset/images/lawfirm/section_1_1.webp +0 -0
- package/dist/asset/images/lawfirm/section_1_1_m.webp +0 -0
- package/dist/asset/images/lawfirm/section_1_2.webp +0 -0
- package/dist/asset/images/lawfirm/section_1_3.webp +0 -0
- package/dist/asset/images/lawfirm/section_1_3_m.webp +0 -0
- package/dist/asset/images/lawfirm/section_1_4.webp +0 -0
- package/dist/asset/images/lawfirm/section_1_5.webp +0 -0
- package/dist/asset/images/lawfirm/section_1_5_m.webp +0 -0
- package/dist/asset/images/lawfirm/section_1_6.webp +0 -0
- package/dist/asset/images/lawfirm/section_1_7.webp +0 -0
- package/dist/asset/images/lawfirm/section_1_8.webp +0 -0
- package/dist/asset/images/lawfirm/section_2.webp +0 -0
- package/dist/asset/images/lawfirm/section_2_m.webp +0 -0
- package/dist/asset/images/lawfirm/section_3_1.webp +0 -0
- package/dist/asset/images/lawfirm/section_3_1_m.webp +0 -0
- package/dist/asset/images/lawfirm/section_3_1_t.webp +0 -0
- package/dist/asset/images/lawfirm/section_3_2.webp +0 -0
- package/dist/asset/images/lawfirm/section_3_2_m.webp +0 -0
- package/dist/asset/images/lawfirm/section_3_2_t.webp +0 -0
- package/dist/asset/images/lawfirm/section_3_3.webp +0 -0
- package/dist/asset/images/lawfirm/section_3_3_m.webp +0 -0
- package/dist/asset/images/lawfirm/section_3_3_t.webp +0 -0
- package/dist/asset/images/lawfirm/section_3_4.webp +0 -0
- package/dist/asset/images/lawfirm/section_3_4_m.webp +0 -0
- package/dist/asset/images/lawfirm/section_3_4_t.webp +0 -0
- package/dist/asset/images/lawfirm/section_3_5.webp +0 -0
- package/dist/asset/images/lawfirm/section_3_5_m.webp +0 -0
- package/dist/asset/images/lawfirm/section_3_5_t.webp +0 -0
- package/dist/asset/images/lawfirm/section_4.webp +0 -0
- package/dist/asset/images/lawfirm/section_4_m.webp +0 -0
- package/dist/asset/images/lawfirm/section_5_1.webp +0 -0
- package/dist/asset/images/lawfirm/section_5_2.webp +0 -0
- package/dist/asset/images/lawfirm/section_5_3.webp +0 -0
- package/dist/asset/images/lawfirm/section_5_4.webp +0 -0
- package/dist/asset/images/lawfirm/section_5_5.webp +0 -0
- package/dist/asset/images/lawfirm/section_5_6.webp +0 -0
- package/dist/asset/images/lawfirm/section_6.webp +0 -0
- package/dist/asset/images/lawfirm/section_6_m.webp +0 -0
- package/dist/asset/images/lawfirm/section_6_t.webp +0 -0
- package/dist/asset/images/lawfirm/section_7_1.webp +0 -0
- package/dist/asset/images/lawfirm/section_7_2.webp +0 -0
- package/dist/asset/images/lawfirm/section_7_3.webp +0 -0
- package/dist/asset/images/lawfirm/section_9.webp +0 -0
- package/dist/asset/images/lawfirm/section_9_m.webp +0 -0
- package/dist/asset/images/lawfirm/section_9_t.webp +0 -0
- package/dist/components/PageTitleBox/PageTitleBox.d.ts +6 -2
- package/dist/components/PageTitleBox/PageTitleBox.jsx +3 -2
- package/dist/components/PageTitleBox/PageTitleBox.tsx +10 -4
- package/dist/components/common/hook/index.d.ts +1 -0
- package/dist/components/common/hook/index.js +1 -0
- package/dist/components/common/hook/index.ts +1 -0
- package/dist/components/{hook → common/hook}/useElementObserve.d.ts +2 -0
- package/dist/components/{hook → common/hook}/useElementObserve.js +4 -2
- package/dist/components/{hook → common/hook}/useElementObserve.ts +4 -2
- package/dist/components/page/Lawfirm/CardSection1.d.ts +14 -0
- package/dist/components/page/Lawfirm/CardSection1.jsx +41 -0
- package/dist/components/page/Lawfirm/CardSection1.tsx +101 -0
- package/dist/components/page/Lawfirm/CardSection3.d.ts +17 -0
- package/dist/components/page/Lawfirm/CardSection3.jsx +45 -0
- package/dist/components/page/Lawfirm/CardSection3.tsx +132 -0
- package/dist/components/page/Lawfirm/CardSection5.d.ts +10 -0
- package/dist/components/page/Lawfirm/CardSection5.jsx +26 -0
- package/dist/components/page/Lawfirm/CardSection5.tsx +38 -0
- package/dist/components/page/Lawfirm/CardSection7.d.ts +12 -0
- package/dist/components/page/Lawfirm/CardSection7.jsx +21 -0
- package/dist/components/page/Lawfirm/CardSection7.tsx +46 -0
- package/dist/components/page/Lawfirm/Lawfirm.d.ts +2 -0
- package/dist/components/page/Lawfirm/Lawfirm.jsx +28 -0
- package/dist/components/page/Lawfirm/Lawfirm.stories.d.ts +6 -0
- package/dist/components/page/Lawfirm/Lawfirm.stories.jsx +14 -0
- package/dist/components/page/Lawfirm/Lawfirm.stories.tsx +21 -0
- package/dist/components/page/Lawfirm/Lawfirm.tsx +34 -0
- package/dist/components/page/Lawfirm/Section1.d.ts +5 -0
- package/dist/components/page/Lawfirm/Section1.jsx +114 -0
- package/dist/components/page/Lawfirm/Section1.tsx +221 -0
- package/dist/components/page/Lawfirm/Section2.d.ts +5 -0
- package/dist/components/page/Lawfirm/Section2.jsx +81 -0
- package/dist/components/page/Lawfirm/Section2.tsx +121 -0
- package/dist/components/page/Lawfirm/Section3.d.ts +8 -0
- package/dist/components/page/Lawfirm/Section3.jsx +213 -0
- package/dist/components/page/Lawfirm/Section3.tsx +274 -0
- package/dist/components/page/Lawfirm/Section4.d.ts +5 -0
- package/dist/components/page/Lawfirm/Section4.jsx +45 -0
- package/dist/components/page/Lawfirm/Section4.tsx +75 -0
- package/dist/components/page/Lawfirm/Section5.d.ts +8 -0
- package/dist/components/page/Lawfirm/Section5.jsx +135 -0
- package/dist/components/page/Lawfirm/Section5.tsx +174 -0
- package/dist/components/page/Lawfirm/Section6.d.ts +3 -0
- package/dist/components/page/Lawfirm/Section6.jsx +41 -0
- package/dist/components/page/Lawfirm/Section6.tsx +66 -0
- package/dist/components/page/Lawfirm/Section7.d.ts +5 -0
- package/dist/components/page/Lawfirm/Section7.jsx +136 -0
- package/dist/components/page/Lawfirm/Section7.tsx +201 -0
- package/dist/components/page/Lawfirm/Section8.d.ts +5 -0
- package/dist/components/page/Lawfirm/Section8.jsx +110 -0
- package/dist/components/page/Lawfirm/Section8.tsx +145 -0
- package/dist/components/page/Lawfirm/Section9.d.ts +3 -0
- package/dist/components/page/Lawfirm/Section9.jsx +36 -0
- package/dist/components/page/Lawfirm/Section9.tsx +70 -0
- package/dist/components/page/Lawfirm/lawfirm.module.css +541 -0
- package/dist/components/page/index.d.ts +1 -0
- package/dist/components/page/index.js +1 -0
- package/dist/components/page/index.ts +1 -0
- package/dist/styles/globals.css +1491 -16
- package/dist/styles/observe.module.css +19 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
import React, { useEffect, useRef } from 'react';
|
|
2
|
+
import CardSection3 from './CardSection3';
|
|
3
|
+
import useElementObserve from '../../common/hook/useElementObserve';
|
|
4
|
+
import style from './lawfirm.module.css';
|
|
5
|
+
import { SwiperSlide } from 'swiper/react';
|
|
6
|
+
import { Swiper } from 'swiper';
|
|
7
|
+
import { Autoplay, Pagination } from 'swiper/modules';
|
|
8
|
+
import 'swiper/css';
|
|
9
|
+
import 'swiper/css/navigation';
|
|
10
|
+
import 'swiper/css/pagination';
|
|
11
|
+
import useBrowser from '../../hook/useBrowser';
|
|
12
|
+
import Section_3_1 from '../../../asset/images/lawfirm/section_3_1.webp';
|
|
13
|
+
import Section_3_1_m from '../../../asset/images/lawfirm/section_3_1_m.webp';
|
|
14
|
+
import Section_3_1_t from '../../../asset/images/lawfirm/section_3_1_t.webp';
|
|
15
|
+
import Section_3_2 from '../../../asset/images/lawfirm/section_3_2.webp';
|
|
16
|
+
import Section_3_2_m from '../../../asset/images/lawfirm/section_3_2_m.webp';
|
|
17
|
+
import Section_3_2_t from '../../../asset/images/lawfirm/section_3_2_t.webp';
|
|
18
|
+
import Section_3_3 from '../../../asset/images/lawfirm/section_3_3.webp';
|
|
19
|
+
import Section_3_3_m from '../../../asset/images/lawfirm/section_3_3_m.webp';
|
|
20
|
+
import Section_3_3_t from '../../../asset/images/lawfirm/section_3_3_t.webp';
|
|
21
|
+
import Section_3_4 from '../../../asset/images/lawfirm/section_3_4.webp';
|
|
22
|
+
import Section_3_4_m from '../../../asset/images/lawfirm/section_3_4_m.webp';
|
|
23
|
+
import Section_3_4_t from '../../../asset/images/lawfirm/section_3_4_t.webp';
|
|
24
|
+
import Section_3_5 from '../../../asset/images/lawfirm/section_3_5.webp';
|
|
25
|
+
import Section_3_5_m from '../../../asset/images/lawfirm/section_3_5_m.webp';
|
|
26
|
+
import Section_3_5_t from '../../../asset/images/lawfirm/section_3_5_t.webp';
|
|
27
|
+
|
|
28
|
+
const Section3 = ({ CommonPadding }: { CommonPadding: string }) => {
|
|
29
|
+
const { width } = useBrowser();
|
|
30
|
+
const target1Ref = useRef<HTMLDivElement>(null);
|
|
31
|
+
const target2Ref = useRef<HTMLDivElement>(null);
|
|
32
|
+
const { flagFastClass: divClass } = useElementObserve(target1Ref, 0.3);
|
|
33
|
+
const { flag: flag2 } = useElementObserve(target2Ref, 0.1);
|
|
34
|
+
const swiper = useRef<Swiper | null>(null);
|
|
35
|
+
|
|
36
|
+
const cards = [
|
|
37
|
+
{
|
|
38
|
+
title: (
|
|
39
|
+
<>
|
|
40
|
+
조직 <br className={'hidden max-xl:block'} />
|
|
41
|
+
운영 방식
|
|
42
|
+
</>
|
|
43
|
+
),
|
|
44
|
+
label: '대륜',
|
|
45
|
+
description: (
|
|
46
|
+
<>
|
|
47
|
+
원펌 구조, <br className={'hidden max-sm:block'} />
|
|
48
|
+
주사무소 책임
|
|
49
|
+
</>
|
|
50
|
+
),
|
|
51
|
+
compareLabel: '한국형 네트워크 로펌',
|
|
52
|
+
compareDescription: (
|
|
53
|
+
<>
|
|
54
|
+
지점별 독립 운영, <br className={'hidden max-sm:block'} />
|
|
55
|
+
개별 책임
|
|
56
|
+
</>
|
|
57
|
+
),
|
|
58
|
+
image: Section_3_1,
|
|
59
|
+
imageTa: Section_3_1_t,
|
|
60
|
+
imageMo: Section_3_1_m,
|
|
61
|
+
imageWidth: 805,
|
|
62
|
+
imageHeight: 275
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
title: (
|
|
66
|
+
<>
|
|
67
|
+
상담 <br className={'hidden max-xl:block'} />
|
|
68
|
+
시스템
|
|
69
|
+
</>
|
|
70
|
+
),
|
|
71
|
+
label: '대륜',
|
|
72
|
+
description: (
|
|
73
|
+
<>
|
|
74
|
+
정확한 초기 진단을 위한 <br className={'hidden max-sm:block'} />
|
|
75
|
+
상담변호사 투입 및 <br className={'max-5xl:hidden max-lg2:block max-md2:hidden max-sm:block'} />
|
|
76
|
+
변호사 지정 상담 가능
|
|
77
|
+
</>
|
|
78
|
+
),
|
|
79
|
+
compareLabel: '한국형 네트워크 로펌',
|
|
80
|
+
compareDescription: (
|
|
81
|
+
<>
|
|
82
|
+
상담, 서면, 재판 각기 <br className={'hidden max-sm:block'} />
|
|
83
|
+
분리 구조로 사건 처리
|
|
84
|
+
</>
|
|
85
|
+
),
|
|
86
|
+
image: Section_3_2,
|
|
87
|
+
imageTa: Section_3_2_t,
|
|
88
|
+
imageMo: Section_3_2_m,
|
|
89
|
+
imageWidth: 805,
|
|
90
|
+
imageHeight: 275
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
title: (
|
|
94
|
+
<>
|
|
95
|
+
업무 <br className={'hidden max-xl:block'} />
|
|
96
|
+
배당 시스템
|
|
97
|
+
</>
|
|
98
|
+
),
|
|
99
|
+
label: '대륜',
|
|
100
|
+
description: (
|
|
101
|
+
<>
|
|
102
|
+
내부 빅데이터 및
|
|
103
|
+
<br />
|
|
104
|
+
AI 분석 기반 전문가 <br className={'hidden max-sm:block'} />
|
|
105
|
+
TF 배당
|
|
106
|
+
</>
|
|
107
|
+
),
|
|
108
|
+
compareLabel: '한국형 네트워크 로펌',
|
|
109
|
+
compareDescription: (
|
|
110
|
+
<>
|
|
111
|
+
사무소별 상황에 따른 <br className={'hidden max-sm:block'} />
|
|
112
|
+
수동 배정
|
|
113
|
+
</>
|
|
114
|
+
),
|
|
115
|
+
image: Section_3_3,
|
|
116
|
+
imageTa: Section_3_3_t,
|
|
117
|
+
imageMo: Section_3_3_m,
|
|
118
|
+
imageWidth: 805,
|
|
119
|
+
imageHeight: 275
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
title: (
|
|
123
|
+
<>
|
|
124
|
+
고객 <br className={'hidden max-xl:block'} />
|
|
125
|
+
대응 체계
|
|
126
|
+
</>
|
|
127
|
+
),
|
|
128
|
+
label: '대륜',
|
|
129
|
+
description: (
|
|
130
|
+
<>
|
|
131
|
+
상담부터 진단, <br className={'hidden max-sm:block'} />
|
|
132
|
+
배당, 사후관리까지
|
|
133
|
+
<br />
|
|
134
|
+
통합 시스템 운영
|
|
135
|
+
</>
|
|
136
|
+
),
|
|
137
|
+
compareLabel: '한국형 네트워크 로펌',
|
|
138
|
+
compareDescription: (
|
|
139
|
+
<>
|
|
140
|
+
담당자 역량에 따른 <br className={'hidden max-sm:block'} />
|
|
141
|
+
편차 발생
|
|
142
|
+
</>
|
|
143
|
+
),
|
|
144
|
+
image: Section_3_4,
|
|
145
|
+
imageTa: Section_3_4_t,
|
|
146
|
+
imageMo: Section_3_4_m,
|
|
147
|
+
imageWidth: 805,
|
|
148
|
+
imageHeight: 275
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
title: (
|
|
152
|
+
<>
|
|
153
|
+
글로벌 <br className={'hidden max-xl:block'} />
|
|
154
|
+
스탠더드 부합
|
|
155
|
+
</>
|
|
156
|
+
),
|
|
157
|
+
label: '대륜',
|
|
158
|
+
description: (
|
|
159
|
+
<>
|
|
160
|
+
미국 메가 로펌의 <br className={'hidden max-sm:block'} />
|
|
161
|
+
선진화된 시스템 도입
|
|
162
|
+
</>
|
|
163
|
+
),
|
|
164
|
+
compareLabel: '한국형 네트워크 로펌',
|
|
165
|
+
compareDescription: (
|
|
166
|
+
<>
|
|
167
|
+
국내 관행 중심 <br className={'hidden max-sm:block'} />
|
|
168
|
+
운영
|
|
169
|
+
</>
|
|
170
|
+
),
|
|
171
|
+
image: Section_3_5,
|
|
172
|
+
imageTa: Section_3_5_t,
|
|
173
|
+
imageMo: Section_3_5_m,
|
|
174
|
+
imageWidth: 1640,
|
|
175
|
+
imageHeight: 500,
|
|
176
|
+
isFullWidth: true
|
|
177
|
+
}
|
|
178
|
+
];
|
|
179
|
+
|
|
180
|
+
useEffect(() => {
|
|
181
|
+
if (width > 640) return;
|
|
182
|
+
swiper.current = new Swiper('#swiper-container-sec3-m', {
|
|
183
|
+
spaceBetween: 20,
|
|
184
|
+
slidesPerView: 1,
|
|
185
|
+
loop: false,
|
|
186
|
+
autoplay: { delay: 3500, disableOnInteraction: false },
|
|
187
|
+
pagination: {
|
|
188
|
+
clickable: true,
|
|
189
|
+
el: '.sec3-pagination',
|
|
190
|
+
bulletClass: style.bullet,
|
|
191
|
+
bulletActiveClass: style.bulletActive,
|
|
192
|
+
renderBullet: (index, className) => {
|
|
193
|
+
return `<div class="${className} custom-bullet"></div>`;
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
breakpoints: {
|
|
197
|
+
520: {
|
|
198
|
+
spaceBetween: 20,
|
|
199
|
+
slidesPerView: 1
|
|
200
|
+
},
|
|
201
|
+
640: {
|
|
202
|
+
spaceBetween: 40,
|
|
203
|
+
slidesPerView: 1
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
modules: [Pagination, Autoplay]
|
|
207
|
+
});
|
|
208
|
+
return () => {
|
|
209
|
+
if (swiper.current && swiper.current.destroy) {
|
|
210
|
+
swiper.current.destroy();
|
|
211
|
+
}
|
|
212
|
+
};
|
|
213
|
+
}, [width]);
|
|
214
|
+
|
|
215
|
+
return (
|
|
216
|
+
<>
|
|
217
|
+
<section
|
|
218
|
+
className={
|
|
219
|
+
'flex h-fit w-full justify-center overflow-hidden bg-gradient-to-b from-[#eeeeee] to-[#eeeeee00] max-sm:to-[#eeeeee1a]'
|
|
220
|
+
}
|
|
221
|
+
>
|
|
222
|
+
<div
|
|
223
|
+
className={
|
|
224
|
+
CommonPadding +
|
|
225
|
+
` flex flex-col items-center gap-y-[180px] py-[180px] tracking-[-1.92px] max-xl:gap-y-[80px] max-xl:py-[120px] max-sm:gap-y-[60px] max-sm:py-[60px]`
|
|
226
|
+
}
|
|
227
|
+
>
|
|
228
|
+
<p
|
|
229
|
+
ref={target1Ref}
|
|
230
|
+
className={`${divClass} text-center text-[72px] font-extrabold max-xl:text-5xl max-md:text-[40px] max-sm:text-[28px] max-sm:leading-8 `}
|
|
231
|
+
>
|
|
232
|
+
왜 대륜은 <br className={'hidden max-sm:block'} />
|
|
233
|
+
‘글로벌 메가 로펌’인가.
|
|
234
|
+
</p>
|
|
235
|
+
{/*pc*/}
|
|
236
|
+
<div ref={target2Ref} className={'h-fit w-full'}>
|
|
237
|
+
<ol className={`grid w-full grid-cols-2 gap-[30px] max-xl:grid-cols-1 max-sm:hidden`}>
|
|
238
|
+
{cards.map((card, index) => (
|
|
239
|
+
<CardSection3
|
|
240
|
+
key={index}
|
|
241
|
+
{...card}
|
|
242
|
+
className={flag2 ? style.fadeInUp : 'opacity-0'}
|
|
243
|
+
style={flag2 ? { animationDelay: `${index * 0.4}s` } : {}}
|
|
244
|
+
/>
|
|
245
|
+
))}
|
|
246
|
+
</ol>
|
|
247
|
+
{/*모바일*/}
|
|
248
|
+
<div className={`hidden w-full max-sm:block`}>
|
|
249
|
+
<div id={'swiper-container-sec3-m'}>
|
|
250
|
+
<ol className={'swiper-wrapper '}>
|
|
251
|
+
{cards.map((card, index) => {
|
|
252
|
+
return (
|
|
253
|
+
<SwiperSlide key={index}>
|
|
254
|
+
<CardSection3
|
|
255
|
+
key={index}
|
|
256
|
+
{...card}
|
|
257
|
+
className={flag2 ? style.fadeInUp : 'opacity-0'}
|
|
258
|
+
/>
|
|
259
|
+
</SwiperSlide>
|
|
260
|
+
);
|
|
261
|
+
})}
|
|
262
|
+
</ol>
|
|
263
|
+
</div>
|
|
264
|
+
<div
|
|
265
|
+
className={`sec3-pagination mx-auto mt-10 flex !w-fit justify-center space-x-4 rounded-full bg-[#F4F3F6] px-5 py-4 md:hidden`}
|
|
266
|
+
/>
|
|
267
|
+
</div>
|
|
268
|
+
</div>
|
|
269
|
+
</div>
|
|
270
|
+
</section>
|
|
271
|
+
</>
|
|
272
|
+
);
|
|
273
|
+
};
|
|
274
|
+
export default Section3;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import Image from 'next/image';
|
|
2
|
+
import React, { useRef, useEffect, useState } from 'react';
|
|
3
|
+
import useElementObserve from '../../common/hook/useElementObserve';
|
|
4
|
+
import Section_4 from '../../../asset/images/lawfirm/section_4.webp';
|
|
5
|
+
import Section_4_m from '../../../asset/images/lawfirm/section_4_m.webp';
|
|
6
|
+
const Section4 = ({ CommonPadding }) => {
|
|
7
|
+
const targetRef = useRef(null);
|
|
8
|
+
const { flag } = useElementObserve(targetRef, 0.3);
|
|
9
|
+
const [triggered, setTriggered] = useState(false);
|
|
10
|
+
useEffect(() => {
|
|
11
|
+
if (flag && !triggered) {
|
|
12
|
+
const timeout = setTimeout(() => {
|
|
13
|
+
setTriggered(true);
|
|
14
|
+
}, 800); // 1초 후에 triggered true
|
|
15
|
+
return () => clearTimeout(timeout);
|
|
16
|
+
}
|
|
17
|
+
}, [flag, triggered]);
|
|
18
|
+
return (<section ref={targetRef} className={`h-[490px] w-full tracking-[-1.92px] text-white transition-all duration-[900ms] ease-in-out max-xl:h-[399px] max-sm:h-[360px] ${triggered ? 'max-w-[1920px] rounded-[20px] px-10 pb-10 pt-20 max-xl:py-20 max-md:px-10 max-sm:py-5 max-2sm:p-5' : 'max-w-full'}`}>
|
|
19
|
+
<div id="sec_wrap" className={`relative flex h-full w-full items-center justify-center overflow-hidden bg-black transition-all duration-700 ease-in-out
|
|
20
|
+
${triggered ? 'rounded-[20px]' : ''}`}>
|
|
21
|
+
<Image id="sec_img" src={Section_4} className={`ease object-cover transition-opacity duration-[1200ms] max-sm:hidden ${flag ? 'opacity-0' : 'opacity-100'}`} fill sizes="100vw" alt=""/>
|
|
22
|
+
<Image id="sec_img" src={Section_4_m} className={`ease hidden object-cover transition-opacity duration-[1300ms] max-sm:block ${flag ? 'opacity-0' : 'opacity-100'}`} fill sizes="100vw" alt=""/>
|
|
23
|
+
<div id="sec_txt" className={`z-20 transition-opacity duration-500 ease-in-out ${triggered ? 'opacity-100' : 'opacity-0'}`}>
|
|
24
|
+
<p className="text-center text-[40px] font-extrabold max-xl:text-2xl max-md:text-xl">
|
|
25
|
+
국내 최초 <br className={'hidden max-sm:block'}/>
|
|
26
|
+
글로벌 메가 로펌 시스템.
|
|
27
|
+
</p>
|
|
28
|
+
<p className="text-center text-[52px] font-medium max-xl:text-[32px] max-md:text-[28px] max-sm:mt-[30px]">
|
|
29
|
+
전세계·전국의 <br className={'hidden max-sm:block'}/>
|
|
30
|
+
<span className="bg-gradient-to-r from-[#3482F6] via-[#A358FB] to-[#E73B6A] bg-clip-text font-extrabold text-transparent">
|
|
31
|
+
모든 고객
|
|
32
|
+
</span>
|
|
33
|
+
이
|
|
34
|
+
<span className="bg-gradient-to-r from-[#E73B6A] to-[#ED4914] bg-clip-text font-extrabold text-transparent">
|
|
35
|
+
{' '}
|
|
36
|
+
<br className={'hidden max-sm:block'}/>
|
|
37
|
+
경험
|
|
38
|
+
</span>
|
|
39
|
+
하실 수 있습니다
|
|
40
|
+
</p>
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
</section>);
|
|
44
|
+
};
|
|
45
|
+
export default Section4;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import Image from 'next/image';
|
|
2
|
+
import React, { useRef, useEffect, useState } from 'react';
|
|
3
|
+
import useElementObserve from '../../common/hook/useElementObserve';
|
|
4
|
+
import Section_4 from '../../../asset/images/lawfirm/section_4.webp';
|
|
5
|
+
import Section_4_m from '../../../asset/images/lawfirm/section_4_m.webp';
|
|
6
|
+
|
|
7
|
+
const Section4 = ({ CommonPadding }: { CommonPadding: string }) => {
|
|
8
|
+
const targetRef = useRef<HTMLDivElement>(null);
|
|
9
|
+
const { flag } = useElementObserve(targetRef, 0.3);
|
|
10
|
+
const [triggered, setTriggered] = useState(false);
|
|
11
|
+
|
|
12
|
+
useEffect(() => {
|
|
13
|
+
if (flag && !triggered) {
|
|
14
|
+
const timeout = setTimeout(() => {
|
|
15
|
+
setTriggered(true);
|
|
16
|
+
}, 800); // 1초 후에 triggered true
|
|
17
|
+
|
|
18
|
+
return () => clearTimeout(timeout);
|
|
19
|
+
}
|
|
20
|
+
}, [flag, triggered]);
|
|
21
|
+
|
|
22
|
+
return (
|
|
23
|
+
<section
|
|
24
|
+
ref={targetRef}
|
|
25
|
+
className={`h-[490px] w-full tracking-[-1.92px] text-white transition-all duration-[900ms] ease-in-out max-xl:h-[399px] max-sm:h-[360px] ${triggered ? 'max-w-[1920px] rounded-[20px] px-10 pb-10 pt-20 max-xl:py-20 max-md:px-10 max-sm:py-5 max-2sm:p-5' : 'max-w-full'}`}
|
|
26
|
+
>
|
|
27
|
+
<div
|
|
28
|
+
id="sec_wrap"
|
|
29
|
+
className={`relative flex h-full w-full items-center justify-center overflow-hidden bg-black transition-all duration-700 ease-in-out
|
|
30
|
+
${triggered ? 'rounded-[20px]' : ''}`}
|
|
31
|
+
>
|
|
32
|
+
<Image
|
|
33
|
+
id="sec_img"
|
|
34
|
+
src={Section_4}
|
|
35
|
+
className={`ease object-cover transition-opacity duration-[1200ms] max-sm:hidden ${flag ? 'opacity-0' : 'opacity-100'}`}
|
|
36
|
+
fill
|
|
37
|
+
sizes="100vw"
|
|
38
|
+
alt=""
|
|
39
|
+
/>
|
|
40
|
+
<Image
|
|
41
|
+
id="sec_img"
|
|
42
|
+
src={Section_4_m}
|
|
43
|
+
className={`ease hidden object-cover transition-opacity duration-[1300ms] max-sm:block ${flag ? 'opacity-0' : 'opacity-100'}`}
|
|
44
|
+
fill
|
|
45
|
+
sizes="100vw"
|
|
46
|
+
alt=""
|
|
47
|
+
/>
|
|
48
|
+
<div
|
|
49
|
+
id="sec_txt"
|
|
50
|
+
className={`z-20 transition-opacity duration-500 ease-in-out ${triggered ? 'opacity-100' : 'opacity-0'}`}
|
|
51
|
+
>
|
|
52
|
+
<p className="text-center text-[40px] font-extrabold max-xl:text-2xl max-md:text-xl">
|
|
53
|
+
국내 최초 <br className={'hidden max-sm:block'} />
|
|
54
|
+
글로벌 메가 로펌 시스템.
|
|
55
|
+
</p>
|
|
56
|
+
<p className="text-center text-[52px] font-medium max-xl:text-[32px] max-md:text-[28px] max-sm:mt-[30px]">
|
|
57
|
+
전세계·전국의 <br className={'hidden max-sm:block'} />
|
|
58
|
+
<span className="bg-gradient-to-r from-[#3482F6] via-[#A358FB] to-[#E73B6A] bg-clip-text font-extrabold text-transparent">
|
|
59
|
+
모든 고객
|
|
60
|
+
</span>
|
|
61
|
+
이
|
|
62
|
+
<span className="bg-gradient-to-r from-[#E73B6A] to-[#ED4914] bg-clip-text font-extrabold text-transparent">
|
|
63
|
+
{' '}
|
|
64
|
+
<br className={'hidden max-sm:block'} />
|
|
65
|
+
경험
|
|
66
|
+
</span>
|
|
67
|
+
하실 수 있습니다
|
|
68
|
+
</p>
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
|
+
</section>
|
|
72
|
+
);
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
export default Section4;
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import React, { useEffect, useRef } from 'react';
|
|
2
|
+
import CardSection5 from './CardSection5';
|
|
3
|
+
import useElementObserve from '../../common/hook/useElementObserve';
|
|
4
|
+
import style from './lawfirm.module.css';
|
|
5
|
+
import useBrowser from '../../hook/useBrowser';
|
|
6
|
+
import { SwiperSlide } from 'swiper/react';
|
|
7
|
+
import { Swiper } from 'swiper';
|
|
8
|
+
import { Autoplay, Pagination } from 'swiper/modules';
|
|
9
|
+
import 'swiper/css';
|
|
10
|
+
import 'swiper/css/navigation';
|
|
11
|
+
import 'swiper/css/pagination';
|
|
12
|
+
import Section_5_1 from '../../../asset/images/lawfirm/section_5_1.webp';
|
|
13
|
+
import Section_5_2 from '../../../asset/images/lawfirm/section_5_2.webp';
|
|
14
|
+
import Section_5_3 from '../../../asset/images/lawfirm/section_5_3.webp';
|
|
15
|
+
import Section_5_4 from '../../../asset/images/lawfirm/section_5_4.webp';
|
|
16
|
+
import Section_5_5 from '../../../asset/images/lawfirm/section_5_5.webp';
|
|
17
|
+
import Section_5_6 from '../../../asset/images/lawfirm/section_5_6.webp';
|
|
18
|
+
const Section5 = ({ CommonPadding }) => {
|
|
19
|
+
const target1Ref = useRef(null);
|
|
20
|
+
const target2Ref = useRef(null);
|
|
21
|
+
const { flagFastClass: divClass } = useElementObserve(target1Ref, 0.3);
|
|
22
|
+
const { flag: flag2 } = useElementObserve(target2Ref, 0.1);
|
|
23
|
+
const { width } = useBrowser();
|
|
24
|
+
const swiper = useRef(null);
|
|
25
|
+
const lawFirmSteps = [
|
|
26
|
+
{
|
|
27
|
+
img: Section_5_1,
|
|
28
|
+
title: ['상담변호사가', '상담 진행'],
|
|
29
|
+
desc: ['치열한 경쟁을 통해 선발된 상담변호사가', '상담을 진행합니다']
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
img: Section_5_2,
|
|
33
|
+
title: ['상담변호사가', '재판까지 수행'],
|
|
34
|
+
desc: ['상담변호사가 사건의 전 과정을', '책임지고 진행합니다']
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
img: Section_5_3,
|
|
38
|
+
title: ['고객이 직접', '사건 수행 변호사 지정'],
|
|
39
|
+
desc: ['원하는 변호사가 있다면', '그 변호사가 재판에 나섭니다']
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
img: Section_5_4,
|
|
43
|
+
title: ['상담변호사&지정변호사', '공동 참여'],
|
|
44
|
+
desc: ['상담변호사와 고객이 선택한 변호사가', '함께 협업해 사건을 대응합니다']
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
img: Section_5_5,
|
|
48
|
+
title: ['지정변호사가', '상담 및 재판 수행'],
|
|
49
|
+
desc: ['상담변호사가 아닌 원하는 변호사와', '상담부터 함께할 수 있습니다']
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
img: Section_5_6,
|
|
53
|
+
title: ['전문 그룹에 맡기는', '확장 대응'],
|
|
54
|
+
desc: ['원하는 변호사와 상담 후 사건을 전문적으로', '수행하는 그룹과 심화 대응이 가능합니다']
|
|
55
|
+
}
|
|
56
|
+
];
|
|
57
|
+
useEffect(() => {
|
|
58
|
+
if (width > 640)
|
|
59
|
+
return;
|
|
60
|
+
swiper.current = new Swiper('#swiper-container-sec5-m', {
|
|
61
|
+
spaceBetween: 20,
|
|
62
|
+
slidesPerView: 1,
|
|
63
|
+
loop: false,
|
|
64
|
+
autoplay: { delay: 3500, disableOnInteraction: false },
|
|
65
|
+
pagination: {
|
|
66
|
+
clickable: true,
|
|
67
|
+
el: '.sec5-pagination',
|
|
68
|
+
bulletClass: style.bullet,
|
|
69
|
+
bulletActiveClass: style.bulletActive,
|
|
70
|
+
renderBullet: (index, className) => {
|
|
71
|
+
return `<div class="${className} custom-bullet"></div>`;
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
breakpoints: {
|
|
75
|
+
520: {
|
|
76
|
+
spaceBetween: 20,
|
|
77
|
+
slidesPerView: 1
|
|
78
|
+
},
|
|
79
|
+
640: {
|
|
80
|
+
spaceBetween: 40,
|
|
81
|
+
slidesPerView: 1
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
modules: [Pagination, Autoplay]
|
|
85
|
+
});
|
|
86
|
+
return () => {
|
|
87
|
+
if (swiper.current && swiper.current.destroy) {
|
|
88
|
+
swiper.current.destroy();
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
}, [width]);
|
|
92
|
+
return (<>
|
|
93
|
+
<section className={CommonPadding +
|
|
94
|
+
' flex flex-col gap-y-[120px] overflow-hidden py-[180px] tracking-[-1.92px] max-xl:gap-y-20 max-xl:py-[120px] max-sm:gap-y-[60px]'}>
|
|
95
|
+
<div ref={target1Ref} className={`${divClass} flex flex-col`}>
|
|
96
|
+
<span className={'mb-[60px] w-fit border-b border-solid border-black text-[32px] font-extrabold max-xl:mb-10 max-xl:text-2xl max-xl:!leading-[144%] max-xl:tracking-[-0.04em] max-sm:text-xl'}>
|
|
97
|
+
고객 맞춤형 조력 시스템
|
|
98
|
+
</span>
|
|
99
|
+
<p className={'mb-5 text-[52px] font-extrabold text-[#909090] max-xl:text-[32px] max-xl:leading-[145%] max-xl:tracking-[-0.04em] max-sm:text-[28px]'}>
|
|
100
|
+
대륜은 정해진 대로가 아닌 <br className={'hidden max-2sm:block'}/>
|
|
101
|
+
<span className={'text-black'}>‘ 고객이 원하는 대로’ </span>
|
|
102
|
+
<br className={'hidden max-2sm:block'}/> 움직입니다
|
|
103
|
+
</p>
|
|
104
|
+
<p className={'text-[32px] max-xl:text-2xl max-xl:leading-[140%] max-xl:tracking-[-0.04em] max-sm:text-xl'}>
|
|
105
|
+
고객의 니즈와 사건의 특성을 반영해{' '}
|
|
106
|
+
<br className={'hidden max-xl:block max-md:hidden max-2sm:block'}/>
|
|
107
|
+
변호사 구성과 수행 방식까지 선택이 가능한 <br className={'hidden max-2sm:block'}/>
|
|
108
|
+
유연한 시스템을 운영합니다
|
|
109
|
+
</p>
|
|
110
|
+
</div>
|
|
111
|
+
<div className={'w-full'} ref={target2Ref}>
|
|
112
|
+
<ol className="grid w-full grid-cols-3 gap-x-5 gap-y-[77px] max-xl:grid-cols-2 max-xl:gap-y-9 max-sm:hidden max-sm:grid-cols-1 max-sm:gap-y-5">
|
|
113
|
+
{lawFirmSteps.map((item, index) => (<CardSection5 key={index} {...item} className={flag2 ? style.fadeInUp : 'opacity-0 max-xl:translate-y-0 max-xl:opacity-100'} style={flag2 && width >= 1280
|
|
114
|
+
? { animationDelay: width === 1280 ? '0s' : index < 3 ? '0s' : '0.8s' }
|
|
115
|
+
: {}}/>))}
|
|
116
|
+
</ol>
|
|
117
|
+
<div className={`hidden w-full max-sm:block`}>
|
|
118
|
+
<div id={'swiper-container-sec5-m'}>
|
|
119
|
+
<ul className="swiper-wrapper">
|
|
120
|
+
{lawFirmSteps.map((item, i) => (<SwiperSlide key={i}>
|
|
121
|
+
<li className="flex flex-col gap-y-5">
|
|
122
|
+
<CardSection5 {...item} className={flag2
|
|
123
|
+
? style.fadeInUp
|
|
124
|
+
: 'opacity-0 max-xl:translate-y-0 max-xl:opacity-100'}/>
|
|
125
|
+
</li>
|
|
126
|
+
</SwiperSlide>))}
|
|
127
|
+
</ul>
|
|
128
|
+
</div>
|
|
129
|
+
<div className={`sec5-pagination mx-auto mt-10 flex !w-fit justify-center space-x-4 rounded-full bg-[#F4F3F6] px-5 py-4 md:hidden`}/>
|
|
130
|
+
</div>
|
|
131
|
+
</div>
|
|
132
|
+
</section>
|
|
133
|
+
</>);
|
|
134
|
+
};
|
|
135
|
+
export default Section5;
|