@daeryun/dr_components 1.1.82 → 1.1.84
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/globalOffice/global_arrow.svg +3 -0
- package/dist/asset/images/globalOffice/icon_arrow_white.webp +0 -0
- package/dist/asset/images/globalOffice/korea_line.svg +3 -0
- package/dist/asset/images/globalOffice/korea_line_md.svg +3 -0
- package/dist/asset/images/globalOffice/korea_line_sm.svg +3 -0
- package/dist/asset/images/globalOffice/newyork_line.svg +3 -0
- package/dist/asset/images/globalOffice/newyork_line_md.svg +3 -0
- package/dist/asset/images/globalOffice/newyork_line_sm.svg +3 -0
- package/dist/asset/images/globalOffice/washington_line.svg +3 -0
- package/dist/asset/images/globalOffice/washington_line_md.svg +3 -0
- package/dist/asset/images/globalOffice/washington_line_sm.svg +3 -0
- package/dist/components/GlobalOfficeSection/GlobalOfficeSection.d.ts +3 -0
- package/dist/components/GlobalOfficeSection/GlobalOfficeSection.jsx +204 -0
- package/dist/components/GlobalOfficeSection/GlobalOfficeSection.stories.d.ts +6 -0
- package/dist/components/GlobalOfficeSection/GlobalOfficeSection.stories.jsx +13 -0
- package/dist/components/GlobalOfficeSection/GlobalOfficeSection.stories.tsx +22 -0
- package/dist/components/GlobalOfficeSection/GlobalOfficeSection.tsx +419 -0
- package/dist/components/MapSection/Map.jsx +26 -23
- package/dist/components/MapSection/Map.tsx +27 -23
- package/dist/components/index.js +1 -0
- package/dist/components/index.ts +1 -0
- package/dist/components/page/MapPage/MapPage.d.ts +2 -1
- package/dist/components/page/MapPage/MapPage.jsx +2 -2
- package/dist/components/page/MapPage/MapPage.tsx +10 -2
- package/dist/styles/globals.css +858 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,419 @@
|
|
|
1
|
+
import Image from 'next/image';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Link from 'next/link';
|
|
4
|
+
import Wrapper from '../Layout/Wrapper';
|
|
5
|
+
import useBrowser from '../hook/useBrowser';
|
|
6
|
+
|
|
7
|
+
import LineWashington from '../../asset/images/globalOffice/washington_line.svg';
|
|
8
|
+
import LineNewYork from '../../asset/images/globalOffice/newyork_line.svg';
|
|
9
|
+
import LineKorea from '../../asset/images/globalOffice/korea_line.svg';
|
|
10
|
+
import IconArrow from '../../asset/images/globalOffice/global_arrow.svg';
|
|
11
|
+
import LineWashingtonMd from '../../asset/images/globalOffice/washington_line_md.svg';
|
|
12
|
+
import LineNewYorkMd from '../../asset/images/globalOffice/newyork_line_md.svg';
|
|
13
|
+
import LineKoreaMd from '../../asset/images/globalOffice/korea_line_md.svg';
|
|
14
|
+
import LineWashingtonSm from '../../asset/images/globalOffice/washington_line_sm.svg';
|
|
15
|
+
import LineNewYorkSm from '../../asset/images/globalOffice/newyork_line_sm.svg';
|
|
16
|
+
import LineKoreaSm from '../../asset/images/globalOffice/korea_line_sm.svg';
|
|
17
|
+
|
|
18
|
+
// 좌표계산용
|
|
19
|
+
const MAP_W = 3873;
|
|
20
|
+
const MAP_H = 1853;
|
|
21
|
+
|
|
22
|
+
const GlobalOfficeSection = () => {
|
|
23
|
+
const { width } = useBrowser(true);
|
|
24
|
+
|
|
25
|
+
return (
|
|
26
|
+
<section
|
|
27
|
+
className={
|
|
28
|
+
'relative z-[6] h-[1300px] w-full overflow-hidden bg-white transition-opacity duration-700 ' +
|
|
29
|
+
'max-[1935px]:aspect-[1935/1000] max-[1935px]:h-auto ' +
|
|
30
|
+
'max-xl:aspect-[900/790] ' +
|
|
31
|
+
'max-md:aspect-[360/640] ' +
|
|
32
|
+
'max-[360px]:aspect-auto max-[360px]:h-[640px] '
|
|
33
|
+
}
|
|
34
|
+
>
|
|
35
|
+
<Image
|
|
36
|
+
src={`https://d1tgonli21s4df.cloudfront.net/main_new/global_map_bg${width >= 1280 ? '' : width >= 768 ? '_md' : '_sm'}.webp`}
|
|
37
|
+
alt=""
|
|
38
|
+
fill
|
|
39
|
+
draggable="false"
|
|
40
|
+
loading={'lazy'}
|
|
41
|
+
className={'absolute left-0 top-0 h-full w-full object-cover '}
|
|
42
|
+
/>
|
|
43
|
+
<Wrapper className={'relative h-full font-[NotoSansKR]'}>
|
|
44
|
+
{/*title*/}
|
|
45
|
+
<span
|
|
46
|
+
className={
|
|
47
|
+
'absolute bottom-[200px] z-[1] w-[800px] ' +
|
|
48
|
+
'max-[1935px]:bottom-[6vw] max-[1935px]:w-[41.37vw] ' +
|
|
49
|
+
'max-xl:bottom-[10.34vw] max-xl:w-[70.37vw] ' +
|
|
50
|
+
'max-md:bottom-[50px] max-md:w-[80vw] ' +
|
|
51
|
+
'max-[360px]:bottom-[60px] max-[360px]:w-[290px] '
|
|
52
|
+
}
|
|
53
|
+
>
|
|
54
|
+
<h2
|
|
55
|
+
className={
|
|
56
|
+
'flex items-center gap-[10px] text-[#04325A] ' +
|
|
57
|
+
'max-[1935px]:gap-[0.52vw] ' +
|
|
58
|
+
'max-xl:gap-[1.8vw] ' +
|
|
59
|
+
'max-[360px]:gap-[7px]'
|
|
60
|
+
}
|
|
61
|
+
>
|
|
62
|
+
<span
|
|
63
|
+
className={
|
|
64
|
+
'text-[250px] font-[900] leading-none ' +
|
|
65
|
+
'max-[1935px]:text-[10vw] ' +
|
|
66
|
+
'max-xl:text-[17.78vw] ' +
|
|
67
|
+
'max-md:text-[27vw] ' +
|
|
68
|
+
'max-[360px]:text-[97.2px]'
|
|
69
|
+
}
|
|
70
|
+
>
|
|
71
|
+
3
|
|
72
|
+
</span>
|
|
73
|
+
<span
|
|
74
|
+
className={
|
|
75
|
+
'pt-[24px] text-[70px] font-[700] tracking-[-0.9px] ' +
|
|
76
|
+
'max-[1935px]:pt-[1.24vw] max-[1935px]:text-[3.2vw] max-[1935px]:tracking-[-0.05vw] ' +
|
|
77
|
+
'max-xl:text-[5.3vw] max-xl:tracking-[-0.15vw] ' +
|
|
78
|
+
'max-md:translate-y-[-40%] max-md:pt-0 max-md:text-[8vw] ' +
|
|
79
|
+
'max-[360px]:text-[28.8px]'
|
|
80
|
+
}
|
|
81
|
+
>
|
|
82
|
+
Global Offices
|
|
83
|
+
</span>
|
|
84
|
+
</h2>
|
|
85
|
+
<span
|
|
86
|
+
className={
|
|
87
|
+
'absolute bottom-[8px] left-[170px] flex items-center gap-[36px] ' +
|
|
88
|
+
'max-[1935px]:bottom-[0.41vw] max-[1935px]:left-[7.1vw] max-[1935px]:gap-[1.86vw] ' +
|
|
89
|
+
'max-xl:bottom-[1vw] max-xl:left-[13vw] max-xl:gap-[3.8vw] ' +
|
|
90
|
+
'max-md:bottom-[3vw] max-md:left-[19vw] max-md:flex-wrap max-md:gap-y-[0.7vw] ' +
|
|
91
|
+
'max-[360px]:bottom-[10.8px] max-[360px]:left-[69px] max-[360px]:gap-y-[2.52px]'
|
|
92
|
+
}
|
|
93
|
+
>
|
|
94
|
+
<TextCon text={'korea'} />
|
|
95
|
+
<TextCon text={'New York'} />
|
|
96
|
+
<TextCon text={'WASHINGTON'} />
|
|
97
|
+
</span>
|
|
98
|
+
</span>
|
|
99
|
+
<div
|
|
100
|
+
className={
|
|
101
|
+
'relative h-fit w-full translate-y-[-200px] scale-110 ' +
|
|
102
|
+
'max-4xl:translate-y-[-250px] max-4xl:scale-105 ' +
|
|
103
|
+
'max-xl:translate-x-[100px] max-xl:translate-y-[-100px] max-xl:scale-110 ' +
|
|
104
|
+
'max-lg:max-xl:translate-y-[-60px] max-lg:translate-x-[70px] ' +
|
|
105
|
+
'max-md:translate-x-[-20px] max-md:translate-y-[83%] max-md:scale-[1.5] ' +
|
|
106
|
+
'max-2sm:translate-y-[65%] '
|
|
107
|
+
}
|
|
108
|
+
>
|
|
109
|
+
{/*지도 이미지*/}
|
|
110
|
+
<Image
|
|
111
|
+
src={'https://d1tgonli21s4df.cloudfront.net/main_new/global_map.webp'}
|
|
112
|
+
alt=""
|
|
113
|
+
width={MAP_W}
|
|
114
|
+
height={MAP_H}
|
|
115
|
+
draggable="false"
|
|
116
|
+
loading={'lazy'}
|
|
117
|
+
className={'h-full w-full'}
|
|
118
|
+
/>
|
|
119
|
+
{/*워싱턴*/}
|
|
120
|
+
<Link
|
|
121
|
+
href={'https://www.sjkplawfirm.com/'}
|
|
122
|
+
target={'_blank'}
|
|
123
|
+
style={{ left: `${(930 / MAP_W) * 100}%`, top: `${(730 / MAP_H) * 100}%` }}
|
|
124
|
+
className={
|
|
125
|
+
'global_link group absolute h-fit w-fit object-cover ' +
|
|
126
|
+
'-translate-x-[100%] -translate-y-[42px] ' +
|
|
127
|
+
'max-[1935px]:-translate-y-[2.17vw] max-4xl:-translate-y-[2.6vw] max-xl:-translate-y-[4.17vw] ' +
|
|
128
|
+
'max-md:translate-x-0 max-md:translate-y-0 '
|
|
129
|
+
}
|
|
130
|
+
>
|
|
131
|
+
<span className={'relative block h-fit w-fit '}>
|
|
132
|
+
{width >= 1280 ? (
|
|
133
|
+
<LineWashington
|
|
134
|
+
className={
|
|
135
|
+
'h-auto w-[260px] stroke-[#04325A] transition-colors duration-500 group-hover:stroke-[#285FA7] ' +
|
|
136
|
+
'max-[1935px]:w-[13.44vw] ' +
|
|
137
|
+
'max-4xl:w-[16vw] '
|
|
138
|
+
}
|
|
139
|
+
/>
|
|
140
|
+
) : width >= 768 ? (
|
|
141
|
+
<LineWashingtonMd
|
|
142
|
+
className={
|
|
143
|
+
'h-auto w-[21vw] stroke-[#04325A] transition-colors duration-500 group-hover:stroke-[#285FA7] '
|
|
144
|
+
}
|
|
145
|
+
/>
|
|
146
|
+
) : (
|
|
147
|
+
<LineWashingtonSm
|
|
148
|
+
className={
|
|
149
|
+
'h-auto w-[22.44vw] stroke-[#04325A] transition-colors duration-500 group-hover:stroke-[#285FA7] ' +
|
|
150
|
+
'max-[360px]:w-[80.8px]'
|
|
151
|
+
}
|
|
152
|
+
/>
|
|
153
|
+
)}
|
|
154
|
+
|
|
155
|
+
<Ping
|
|
156
|
+
className={
|
|
157
|
+
'bottom-0 right-0 translate-x-1/2 translate-y-1/2 ' +
|
|
158
|
+
'max-md:bottom-[unset] max-md:left-0 max-md:right-[unset] max-md:top-0 max-md:-translate-x-[40%] max-md:-translate-y-1/2'
|
|
159
|
+
}
|
|
160
|
+
/>
|
|
161
|
+
<p
|
|
162
|
+
className={
|
|
163
|
+
'absolute -top-[50px] flex h-[50px] w-fit items-end text-[22px] font-[900] uppercase tracking-[-0.5px] text-[#04325A] ' +
|
|
164
|
+
'transition-[color,font-size] duration-300 group-hover:text-[26px] group-hover:text-[#285FA7] ' +
|
|
165
|
+
'max-[1935px]:-top-[2.58vw] max-[1935px]:h-[2.58vw] max-[1935px]:text-[1.14vw] max-[1935px]:group-hover:text-[1.34vw] ' +
|
|
166
|
+
'max-4xl:-top-[3vw] max-4xl:text-[1.5vw] max-4xl:group-hover:text-[1.7vw] ' +
|
|
167
|
+
'max-xl:text-[2.1vw] max-xl:tracking-[-0.1vw] max-xl:group-hover:text-[2.4vw] ' +
|
|
168
|
+
'max-md:bottom-[0.8vw] max-md:right-0 max-md:top-[unset] max-md:text-[3.06vw] max-md:tracking-[-0.1vw] max-md:group-hover:text-[3.06vw] ' +
|
|
169
|
+
'max-[360px]:bottom-[2.88px] max-[360px]:h-fit max-[360px]:text-[11px] max-[360px]:tracking-[-0.4px] max-[360px]:group-hover:text-[11px]'
|
|
170
|
+
}
|
|
171
|
+
>
|
|
172
|
+
WASHINGTON
|
|
173
|
+
</p>
|
|
174
|
+
</span>
|
|
175
|
+
<div
|
|
176
|
+
className={
|
|
177
|
+
'relative aspect-square w-[220px] translate-y-[-15px] overflow-hidden bg-[#ddd] ' +
|
|
178
|
+
'max-[1935px]:w-[11.37vw] max-[1935px]:translate-y-[-0.78vw] ' +
|
|
179
|
+
'max-4xl:w-[13vw] ' +
|
|
180
|
+
'max-xl:w-[18.1vw] max-xl:translate-y-[-2.2vw] ' +
|
|
181
|
+
'max-md:mt-[2.55vw] max-md:w-[22.22vw] max-md:translate-y-0 ' +
|
|
182
|
+
'max-[360px]:mt-[8px] max-[360px]:w-[80px] '
|
|
183
|
+
}
|
|
184
|
+
>
|
|
185
|
+
<Image
|
|
186
|
+
src={'https://d1tgonli21s4df.cloudfront.net/main_new/washington_img.webp'}
|
|
187
|
+
alt=""
|
|
188
|
+
fill
|
|
189
|
+
draggable="false"
|
|
190
|
+
loading={'lazy'}
|
|
191
|
+
unoptimized
|
|
192
|
+
sizes={'280px'}
|
|
193
|
+
className={'h-full w-full object-cover ' + 'duration-700 group-hover:scale-105'}
|
|
194
|
+
/>
|
|
195
|
+
</div>
|
|
196
|
+
</Link>
|
|
197
|
+
|
|
198
|
+
{/*뉴욕*/}
|
|
199
|
+
<Link
|
|
200
|
+
href={'https://www.sjkplawfirm.com/'}
|
|
201
|
+
target={'_blank'}
|
|
202
|
+
style={{ left: `${(980 / MAP_W) * 100}%`, top: `${(670 / MAP_H) * 100}%` }}
|
|
203
|
+
className={
|
|
204
|
+
'global_link group absolute flex h-fit w-fit flex-col items-end object-cover ' +
|
|
205
|
+
'max-md:-translate-y-[100%] max-md:flex-col-reverse '
|
|
206
|
+
}
|
|
207
|
+
>
|
|
208
|
+
<span className={'relative block h-fit w-fit '}>
|
|
209
|
+
{width >= 1280 ? (
|
|
210
|
+
<LineNewYork
|
|
211
|
+
className={
|
|
212
|
+
'h-auto w-[269px] stroke-[#04325A] transition-colors duration-500 group-hover:stroke-[#285FA7] ' +
|
|
213
|
+
'max-[1935px]:w-[13.90vw] ' +
|
|
214
|
+
'max-4xl:w-[15.2vw]'
|
|
215
|
+
}
|
|
216
|
+
/>
|
|
217
|
+
) : width >= 768 ? (
|
|
218
|
+
<LineNewYorkMd
|
|
219
|
+
className={
|
|
220
|
+
'h-auto w-[21vw] stroke-[#04325A] transition-colors duration-500 group-hover:stroke-[#285FA7] '
|
|
221
|
+
}
|
|
222
|
+
/>
|
|
223
|
+
) : (
|
|
224
|
+
<LineNewYorkSm
|
|
225
|
+
className={
|
|
226
|
+
'h-auto w-[28.61vw] stroke-[#04325A] transition-colors duration-500 group-hover:stroke-[#285FA7] ' +
|
|
227
|
+
'max-[360px]:w-[103px] '
|
|
228
|
+
}
|
|
229
|
+
/>
|
|
230
|
+
)}
|
|
231
|
+
|
|
232
|
+
<Ping
|
|
233
|
+
className={
|
|
234
|
+
'left-0 top-0 -translate-x-1/2 -translate-y-1/2 ' +
|
|
235
|
+
'max-md:bottom-0 max-md:top-[unset] max-md:translate-y-1/2 '
|
|
236
|
+
}
|
|
237
|
+
/>
|
|
238
|
+
<p
|
|
239
|
+
className={
|
|
240
|
+
'absolute bottom-0 right-0 text-[22px] font-[900] uppercase tracking-[-0.5px] text-[#04325A] ' +
|
|
241
|
+
'transition-[color,font-size] duration-300 group-hover:text-[26px] group-hover:text-[#285FA7] ' +
|
|
242
|
+
'max-[1935px]:text-[1.14vw] max-[1935px]:group-hover:text-[1.34vw] ' +
|
|
243
|
+
'max-4xl:text-[1.5vw] max-4xl:group-hover:text-[1.7vw] ' +
|
|
244
|
+
'max-xl:bottom-[0.6vw] max-xl:text-[2.1vw] max-xl:tracking-[-0.1vw] max-xl:group-hover:text-[2.4vw] ' +
|
|
245
|
+
'max-md:bottom-[unset] max-md:top-[0.5vw] max-md:text-[3.06vw] max-md:tracking-[-0.1vw] max-md:group-hover:text-[3.06vw] ' +
|
|
246
|
+
'max-[360px]:top-[1.8px] max-[360px]:text-[11px] max-[360px]:tracking-[-0.4px] max-[360px]:group-hover:text-[11px] '
|
|
247
|
+
}
|
|
248
|
+
>
|
|
249
|
+
New York
|
|
250
|
+
</p>
|
|
251
|
+
</span>
|
|
252
|
+
<div
|
|
253
|
+
className={
|
|
254
|
+
'relative mt-[20px] aspect-square w-[220px] overflow-hidden bg-[#ddd] ' +
|
|
255
|
+
'max-[1935px]:mt-[1.03vw] max-[1935px]:w-[11.37vw] ' +
|
|
256
|
+
'max-4xl:w-[13vw] ' +
|
|
257
|
+
'max-xl:mt-[1.49vw] max-xl:w-[18.1vw] ' +
|
|
258
|
+
'max-md:mb-[2.22vw] max-md:mt-0 max-md:w-[22.22vw] ' +
|
|
259
|
+
'max-[360px]:mb-[8px] max-[360px]:w-[80px] '
|
|
260
|
+
}
|
|
261
|
+
>
|
|
262
|
+
<Image
|
|
263
|
+
src={'https://d1tgonli21s4df.cloudfront.net/main_new/newyork_img.webp'}
|
|
264
|
+
alt=""
|
|
265
|
+
fill
|
|
266
|
+
draggable="false"
|
|
267
|
+
loading={'lazy'}
|
|
268
|
+
unoptimized
|
|
269
|
+
sizes={'280px'}
|
|
270
|
+
className={'h-full w-full object-cover ' + 'duration-700 group-hover:scale-105'}
|
|
271
|
+
/>
|
|
272
|
+
</div>
|
|
273
|
+
</Link>
|
|
274
|
+
|
|
275
|
+
{/*한국*/}
|
|
276
|
+
<Link
|
|
277
|
+
style={{ right: `${(615 / MAP_W) * 100}%`, top: `${(685 / MAP_H) * 100}%` }}
|
|
278
|
+
className={
|
|
279
|
+
'global_link group absolute h-fit w-fit translate-x-[20px] cursor-pointer object-cover ' +
|
|
280
|
+
'max-[1935px]:translate-x-[1.03vw] max-4xl:translate-x-[0.9vw] max-xl:translate-x-0'
|
|
281
|
+
}
|
|
282
|
+
href={'/map/seoulbon?scroll=false'}
|
|
283
|
+
>
|
|
284
|
+
<span className={'relative block h-fit w-fit '}>
|
|
285
|
+
{width >= 1280 ? (
|
|
286
|
+
<LineKorea
|
|
287
|
+
className={
|
|
288
|
+
'h-auto w-[199px] stroke-[#04325A] transition-colors duration-500 group-hover:stroke-[#285FA7] ' +
|
|
289
|
+
'max-[1935px]:w-[10.28vw] ' +
|
|
290
|
+
'max-4xl:w-[12vw] '
|
|
291
|
+
}
|
|
292
|
+
/>
|
|
293
|
+
) : width >= 768 ? (
|
|
294
|
+
<LineKoreaMd
|
|
295
|
+
className={
|
|
296
|
+
'h-auto w-[21vw] stroke-[#04325A] transition-colors duration-500 group-hover:stroke-[#285FA7] '
|
|
297
|
+
}
|
|
298
|
+
/>
|
|
299
|
+
) : (
|
|
300
|
+
<LineKoreaSm
|
|
301
|
+
className={
|
|
302
|
+
'h-auto w-[21.67vw] stroke-[#04325A] transition-colors duration-500 group-hover:stroke-[#285FA7] ' +
|
|
303
|
+
'max-[360px]:w-[78px]'
|
|
304
|
+
}
|
|
305
|
+
/>
|
|
306
|
+
)}
|
|
307
|
+
|
|
308
|
+
<Ping className={'right-0 top-0 -translate-y-1/2 translate-x-1/2 '} />
|
|
309
|
+
<p
|
|
310
|
+
className={
|
|
311
|
+
'absolute bottom-0 left-0 text-[22px] font-[900] uppercase tracking-[-0.5px] text-[#04325A] ' +
|
|
312
|
+
'transition-[color,font-size] duration-300 group-hover:text-[26px] group-hover:text-[#285FA7] ' +
|
|
313
|
+
'max-[1935px]:text-[1.14vw] max-[1935px]:group-hover:text-[1.34vw] ' +
|
|
314
|
+
'max-4xl:text-[1.5vw] max-4xl:group-hover:text-[1.7vw] ' +
|
|
315
|
+
'max-xl:bottom-[0.6vw] max-xl:text-[2.1vw] max-xl:tracking-[-0.1vw] max-xl:group-hover:text-[2.4vw] ' +
|
|
316
|
+
'max-md:bottom-[0.8vw] max-md:h-fit max-md:text-[3.06vw] max-md:tracking-[-0.1vw] max-md:group-hover:text-[3.06vw] ' +
|
|
317
|
+
'max-[360px]:bottom-[2.88px] max-[360px]:h-fit max-[360px]:text-[11px] max-[360px]:tracking-[-0.4px] max-[360px]:group-hover:text-[11px]'
|
|
318
|
+
}
|
|
319
|
+
>
|
|
320
|
+
korea
|
|
321
|
+
</p>
|
|
322
|
+
</span>
|
|
323
|
+
<div
|
|
324
|
+
className={
|
|
325
|
+
'relative mt-[20px] aspect-square w-[220px] overflow-hidden bg-[#ddd] ' +
|
|
326
|
+
'max-[1935px]:mt-[1.03vw] max-[1935px]:w-[11.37vw] ' +
|
|
327
|
+
'max-4xl:w-[13vw] ' +
|
|
328
|
+
'max-xl:mt-[1.49vw] max-xl:w-[18.1vw] ' +
|
|
329
|
+
'max-md:mt-[2vw] max-md:w-[22.22vw] ' +
|
|
330
|
+
'max-[360px]:mt-[8px] max-[360px]:w-[80px] '
|
|
331
|
+
}
|
|
332
|
+
>
|
|
333
|
+
<Image
|
|
334
|
+
src={'https://d1tgonli21s4df.cloudfront.net/main_new/korea_img.webp'}
|
|
335
|
+
alt=""
|
|
336
|
+
fill
|
|
337
|
+
draggable="false"
|
|
338
|
+
loading={'lazy'}
|
|
339
|
+
unoptimized
|
|
340
|
+
sizes={'280px'}
|
|
341
|
+
className={
|
|
342
|
+
'h-full w-full scale-[1.01] object-cover transition-transform ' +
|
|
343
|
+
'duration-700 group-hover:scale-105 '
|
|
344
|
+
}
|
|
345
|
+
/>
|
|
346
|
+
</div>
|
|
347
|
+
<div
|
|
348
|
+
className={
|
|
349
|
+
'flex h-[55px] w-[220px] translate-y-[-1px] items-center justify-between bg-[#04325A] px-[26px] text-[18px] tracking-[-0.9px] text-white ' +
|
|
350
|
+
'transition-colors group-hover:bg-[#285FA7] ' +
|
|
351
|
+
'max-[1935px]:h-[2.84vw] max-[1935px]:w-[11.37vw] max-[1935px]:px-[1.34vw] max-[1935px]:text-[0.93vw] max-[1935px]:tracking-[-0.05vw] ' +
|
|
352
|
+
'max-4xl:h-[3.5vw] max-4xl:w-[13vw] max-4xl:text-[1.1vw] ' +
|
|
353
|
+
'max-xl:h-[5vw] max-xl:w-[18.1vw] max-xl:text-[1.7vw] ' +
|
|
354
|
+
'max-md:h-[6.39vw] max-md:w-[22.22vw] max-md:px-[2.22vw] max-md:text-[2.22vw] ' +
|
|
355
|
+
'max-[360px]:h-[23px] max-[360px]:w-[80px] max-[360px]:px-[8px] max-[360px]:text-[8px] '
|
|
356
|
+
}
|
|
357
|
+
>
|
|
358
|
+
사무소 더 보기
|
|
359
|
+
<IconArrow
|
|
360
|
+
className={
|
|
361
|
+
'h-auto w-[16px] ' +
|
|
362
|
+
'max-[1935px]:w-[0.83vw] ' +
|
|
363
|
+
'max-4xl:w-[1vw] ' +
|
|
364
|
+
'max-xl:w-[1.5vw] ' +
|
|
365
|
+
'max-md:w-[2vw] ' +
|
|
366
|
+
'max-[360px]:w-[7px]'
|
|
367
|
+
}
|
|
368
|
+
/>
|
|
369
|
+
</div>
|
|
370
|
+
</Link>
|
|
371
|
+
</div>
|
|
372
|
+
</Wrapper>
|
|
373
|
+
</section>
|
|
374
|
+
);
|
|
375
|
+
};
|
|
376
|
+
|
|
377
|
+
export default GlobalOfficeSection;
|
|
378
|
+
|
|
379
|
+
const Ping = ({ className }: { className?: string }) => {
|
|
380
|
+
return (
|
|
381
|
+
<div className={'absolute aspect-square w-[9px] max-xl:scale-[0.8] max-2sm:scale-[0.6] ' + className}>
|
|
382
|
+
<div
|
|
383
|
+
className={
|
|
384
|
+
'absolute left-0 top-0 h-full w-full rounded-full bg-[#04325A] ' +
|
|
385
|
+
'transition-[transform,background-color] duration-300 group-hover:scale-[1.8] group-hover:bg-[#285FA7] '
|
|
386
|
+
}
|
|
387
|
+
/>
|
|
388
|
+
<div
|
|
389
|
+
className={
|
|
390
|
+
'ping_1 absolute left-0 top-0 h-full w-full rounded-full bg-[#285FA7] opacity-0 ' +
|
|
391
|
+
'group-hover:animate-global_map_ping_1 duration-500'
|
|
392
|
+
}
|
|
393
|
+
/>
|
|
394
|
+
<div
|
|
395
|
+
className={
|
|
396
|
+
'ping_2 absolute left-0 top-0 h-full w-full rounded-full bg-[#285FA7] opacity-0 ' +
|
|
397
|
+
'group-hover:animate-global_map_ping_2 duration-500'
|
|
398
|
+
}
|
|
399
|
+
/>
|
|
400
|
+
</div>
|
|
401
|
+
);
|
|
402
|
+
};
|
|
403
|
+
|
|
404
|
+
const TextCon = ({ text }: { text: string }) => {
|
|
405
|
+
return (
|
|
406
|
+
<p
|
|
407
|
+
className={
|
|
408
|
+
'text-[30px] font-[700] uppercase tracking-[-0.5px] text-[#7F8791] ' +
|
|
409
|
+
'before:mr-[16px] before:inline-block before:h-[24px] before:w-[3px] before:bg-[#04325A] before:content-[""] ' +
|
|
410
|
+
'max-[1935px]:text-[1.4vw] max-[1935px]:tracking-[-0.03vw] max-[1935px]:before:mr-[0.83vw] max-[1935px]:before:h-[1.1vw] ' +
|
|
411
|
+
'max-xl:text-[2.4vw] max-xl:tracking-[-0.08vw] max-xl:before:mr-[1.33vw] max-xl:before:h-[2vw] ' +
|
|
412
|
+
'max-md:text-[4vw] max-md:leading-none max-md:before:h-[3.33vw] max-md:before:w-[2px] ' +
|
|
413
|
+
'max-[360px]:text-[14.4px] max-[360px]:before:h-[12px] '
|
|
414
|
+
}
|
|
415
|
+
>
|
|
416
|
+
{text}
|
|
417
|
+
</p>
|
|
418
|
+
);
|
|
419
|
+
};
|