@daeryun/dr_components 1.2.5 → 1.2.6

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.
@@ -5,23 +5,33 @@ import React from 'react';
5
5
  import Link from 'next/link';
6
6
  import Wrapper from '../Layout/Wrapper';
7
7
  import useBrowser from '../hook/useBrowser';
8
+ import { IInitialDataTypes } from '../common';
8
9
 
9
10
  import LineWashington from '../../asset/images/globalOffice/washington_line.svg';
10
11
  import LineNewYork from '../../asset/images/globalOffice/newyork_line.svg';
11
- import LineKorea from '../../asset/images/globalOffice/korea_line.svg';
12
- import IconArrow from '../../asset/images/globalOffice/global_arrow.svg';
12
+ import LineSeoul from '../../asset/images/globalOffice/seoul_line.svg';
13
+ import LineBusan from '../../asset/images/globalOffice/busan_line.svg';
13
14
  import LineWashingtonMd from '../../asset/images/globalOffice/washington_line_md.svg';
14
15
  import LineNewYorkMd from '../../asset/images/globalOffice/newyork_line_md.svg';
15
- import LineKoreaMd from '../../asset/images/globalOffice/korea_line_md.svg';
16
- import LineWashingtonSm from '../../asset/images/globalOffice/washington_line_sm.svg';
17
- import LineNewYorkSm from '../../asset/images/globalOffice/newyork_line_sm.svg';
18
- import LineKoreaSm from '../../asset/images/globalOffice/korea_line_sm.svg';
16
+ import LineSeoulMd from '../../asset/images/globalOffice/seoul_line_md.svg';
17
+ import LineBusanMd from '../../asset/images/globalOffice/busan_line_md.svg';
18
+
19
+ import ViewMoreArrow from '../../asset/images/globalOffice/view_more_arrow.svg';
20
+ import IconArrow from '../../asset/images/globalOffice/global_arrow.svg';
19
21
 
20
22
  // 좌표계산용
21
23
  const MAP_W = 3873;
22
24
  const MAP_H = 1853;
23
25
 
24
- const GlobalOfficeSection = ({ isCenter, customFont }: { isCenter?: boolean; customFont: string }) => {
26
+ const GlobalOfficeSection = ({
27
+ initialData,
28
+ isCenter,
29
+ customFont
30
+ }: {
31
+ initialData: IInitialDataTypes;
32
+ isCenter?: boolean;
33
+ customFont: string;
34
+ }) => {
25
35
  const { width } = useBrowser(true);
26
36
 
27
37
  return (
@@ -29,9 +39,9 @@ const GlobalOfficeSection = ({ isCenter, customFont }: { isCenter?: boolean; cus
29
39
  className={
30
40
  'relative z-[6] h-[1300px] w-full overflow-hidden bg-white transition-opacity duration-700 ' +
31
41
  'max-[1935px]:aspect-[1935/1000] max-[1935px]:h-auto ' +
32
- 'max-xl:aspect-[900/790] ' +
33
- 'max-md:aspect-[360/700] ' +
34
- 'max-[360px]:aspect-auto max-[360px]:h-[700px] '
42
+ 'max-4xl:aspect-[1935/1100] ' +
43
+ 'max-xl:aspect-[900/870] ' +
44
+ 'max-md:aspect-[unset] max-md:h-fit'
35
45
  }
36
46
  >
37
47
  <Image
@@ -42,82 +52,110 @@ const GlobalOfficeSection = ({ isCenter, customFont }: { isCenter?: boolean; cus
42
52
  loading={'lazy'}
43
53
  className={'absolute left-0 top-0 h-full w-full object-cover '}
44
54
  />
45
- <Wrapper className={`relative h-full ${customFont}`}>
55
+ {/*지도 이미지*/}
56
+ {width < 768 && (
57
+ <Image
58
+ src={'https://d1tgonli21s4df.cloudfront.net/main_new/global_map.webp'}
59
+ alt="법무법인 대륜 전 세계 사무소"
60
+ fill
61
+ draggable="false"
62
+ loading={'lazy'}
63
+ className={' h-full w-full translate-x-[20%] scale-[1.9] object-contain'}
64
+ />
65
+ )}
66
+ <Wrapper
67
+ className={`relative h-full font-[NotoSansKR] max-md:flex max-md:flex-col max-md:!py-[80px] max-2sm:!py-[60px] ${customFont}`}
68
+ >
46
69
  {/*title*/}
70
+ <h2 className={'sr-only'}>{initialData.total_world_office_cnt} Global Offices</h2>
47
71
  <span
48
72
  className={
49
73
  'absolute bottom-[200px] z-[1] w-[850px] ' +
50
74
  'max-[1935px]:bottom-[6vw] max-[1935px]:w-[41.37vw] ' +
51
75
  'max-xl:bottom-[10.34vw] max-xl:w-[70.37vw] ' +
52
- 'max-md:bottom-[50px] max-md:w-[80vw] ' +
53
- 'max-[360px]:bottom-[60px] max-[360px]:w-[290px] '
76
+ 'max-md:relative max-md:bottom-0 max-md:order-2 max-md:w-full '
54
77
  }
55
78
  >
56
- <h2
79
+ <span
57
80
  className={
58
- 'flex items-center gap-[10px] text-[#04325A] ' +
81
+ 'flex items-end gap-7 text-[#04325A] ' +
59
82
  'max-[1935px]:gap-[0.52vw] ' +
60
83
  'max-xl:gap-[1.8vw] ' +
61
- 'max-[360px]:gap-[7px]'
84
+ 'max-md:mt-[50px] max-md:gap-[16px] ' +
85
+ 'max-2sm:mt-[30px] max-2sm:gap-[8px]'
62
86
  }
63
87
  >
64
88
  <span
65
89
  className={
66
- 'text-[250px] font-[900] leading-none ' +
90
+ 'text-[250px] font-[900] leading-none tracking-[-8px] ' +
67
91
  'max-[1935px]:text-[10vw] ' +
68
- 'max-xl:text-[17.78vw] ' +
69
- 'max-md:text-[27vw] ' +
70
- 'max-[360px]:text-[97.2px]'
92
+ 'max-xl:text-[15vw] ' +
93
+ 'max-md:text-[140px] ' +
94
+ 'max-2sm:text-[100px]'
71
95
  }
72
96
  >
73
- 3
97
+ {initialData.total_world_office_cnt}
74
98
  </span>
75
- <span
76
- className={
77
- 'pt-[24px] text-[70px] font-[700] tracking-[-0.9px] ' +
78
- 'max-[1935px]:pt-[1.24vw] max-[1935px]:text-[3.2vw] max-[1935px]:tracking-[-0.05vw] ' +
79
- 'max-xl:text-[5.3vw] max-xl:tracking-[-0.15vw] ' +
80
- 'max-md:translate-y-[-40%] max-md:pt-0 max-md:text-[8vw] ' +
81
- 'max-[360px]:text-[28.8px]'
82
- }
83
- >
84
- Global Offices
99
+ <span className={'flex flex-col gap-5 ' + 'max-[1935px]:gap-[0.8vw] ' + 'max-xl:gap-[1.3vw]'}>
100
+ <span
101
+ className={
102
+ 'text-[70px] font-[700] leading-none tracking-[-0.9px] ' +
103
+ 'max-[1935px]:pt-[1.24vw] max-[1935px]:text-[3vw] max-[1935px]:tracking-[-0.05vw] ' +
104
+ 'max-xl:text-[5vw] max-xl:tracking-[-0.15vw] ' +
105
+ 'max-md:translate-y-[-10%] max-md:pt-0 max-md:text-[45px] ' +
106
+ 'max-2sm:text-[28px]'
107
+ }
108
+ >
109
+ Global Offices
110
+ </span>
111
+ <Link
112
+ href={'/map'}
113
+ className={
114
+ 'group flex items-center gap-4 pb-3 text-[26px] font-[700] leading-none tracking-[-0.5px] text-[#7F8791] ' +
115
+ 'transition-colors hover:text-[#04325A] ' +
116
+ 'max-[1935px]:gap-[0.83vw] max-[1935px]:text-[1.34vw] ' +
117
+ 'max-xl:gap-[0.94vw] max-xl:text-[2.1vw] ' +
118
+ 'max-md:gap-[6px] max-md:text-[20px] ' +
119
+ 'max-2sm:text-[16px] '
120
+ }
121
+ >
122
+ 사무소 전체 보기
123
+ <ViewMoreArrow
124
+ className={
125
+ 'h-auto w-[24px] fill-[#7F8791] ' +
126
+ 'transition-[transform_fill] group-hover:translate-x-[50%] group-hover:fill-[#04325A] ' +
127
+ 'max-[1935px]:w-[1.24vw] ' +
128
+ 'max-xl:w-[1.8vw] ' +
129
+ 'max-md:w-[16px] max-2sm:w-[14px]'
130
+ }
131
+ />
132
+ </Link>
85
133
  </span>
86
- </h2>
87
- <span
88
- className={
89
- 'absolute bottom-[8px] left-[170px] flex items-center gap-[36px] ' +
90
- 'max-[1935px]:bottom-[0.41vw] max-[1935px]:left-[7.1vw] max-[1935px]:gap-[1.86vw] ' +
91
- 'max-xl:bottom-[1vw] max-xl:left-[13vw] max-xl:gap-[3.8vw] ' +
92
- 'max-md:bottom-[3vw] max-md:left-[19vw] max-md:flex-wrap max-md:gap-y-[0.7vw] ' +
93
- 'max-[360px]:bottom-[10.8px] max-[360px]:left-[69px] max-[360px]:gap-y-[2.52px]'
94
- }
95
- >
96
- <TextCon text={'korea'} />
97
- <TextCon text={'New York'} />
98
- <TextCon text={'WASHINGTON, DC'} />
99
134
  </span>
100
135
  </span>
101
136
  <div
102
137
  className={
103
138
  'relative h-fit w-full translate-y-0 scale-110 ' +
104
- 'max-[1935px]:translate-y-[-80px] ' +
105
- 'max-4xl:translate-y-[-100px] max-4xl:scale-105 ' +
106
- 'max-xl:translate-x-[100px] max-xl:translate-y-[80px] max-xl:scale-110 ' +
107
- 'max-lg:translate-x-[70px] max-lg:translate-y-[60px] ' +
108
- 'max-md:translate-x-[-20px] max-md:translate-y-[130%] max-md:scale-[1.5] '
139
+ 'max-[1935px]:translate-y-[-50px] ' +
140
+ 'max-4xl:translate-y-[0px] max-4xl:scale-105 ' +
141
+ 'max-xl:translate-x-[100px] max-xl:translate-y-[150px] max-xl:scale-[1.08] ' +
142
+ 'max-lg:translate-x-[70px] max-lg:translate-y-[100px] ' +
143
+ 'max-md:mx-auto max-md:grid max-md:w-fit max-md:translate-x-[unset] max-md:translate-y-[unset] max-md:scale-[1] max-md:grid-cols-2 max-md:gap-[50px] ' +
144
+ 'max-sm:w-full max-sm:gap-[30px] '
109
145
  }
110
146
  >
111
147
  {/*지도 이미지*/}
112
- <Image
113
- src={'https://d1tgonli21s4df.cloudfront.net/main_new/global_map.webp'}
114
- alt="법무법인 대륜 전 세계 사무소"
115
- width={MAP_W}
116
- height={MAP_H}
117
- draggable="false"
118
- loading={'lazy'}
119
- className={'h-full w-full'}
120
- />
148
+ {width >= 768 && (
149
+ <Image
150
+ src={'https://d1tgonli21s4df.cloudfront.net/main_new/global_map.webp'}
151
+ alt="법무법인 대륜 전 세계 사무소"
152
+ width={MAP_W}
153
+ height={MAP_H}
154
+ draggable="false"
155
+ loading={'lazy'}
156
+ className={'h-full w-full max-md:absolute'}
157
+ />
158
+ )}
121
159
  {/*워싱턴*/}
122
160
  <Link
123
161
  href={'https://www.sjkplawfirm.com/'}
@@ -127,7 +165,8 @@ const GlobalOfficeSection = ({ isCenter, customFont }: { isCenter?: boolean; cus
127
165
  'group absolute h-fit w-fit object-cover ' +
128
166
  '-translate-x-[100%] -translate-y-[42px] ' +
129
167
  'max-[1935px]:-translate-y-[2.17vw] max-4xl:-translate-y-[2.6vw] max-xl:-translate-y-[4.17vw] ' +
130
- 'max-md:translate-x-0 max-md:translate-y-0 '
168
+ 'max-md:relative max-md:!left-0 max-md:!top-0 max-md:block max-md:translate-x-0 max-md:translate-y-0 ' +
169
+ 'max-sm:w-full'
131
170
  }
132
171
  >
133
172
  <span className={'relative block h-fit w-fit '}>
@@ -146,12 +185,7 @@ const GlobalOfficeSection = ({ isCenter, customFont }: { isCenter?: boolean; cus
146
185
  }
147
186
  />
148
187
  ) : (
149
- <LineWashingtonSm
150
- className={
151
- 'h-auto w-[22.44vw] stroke-[#04325A] transition-colors duration-500 group-hover:stroke-[#285FA7] ' +
152
- 'max-[360px]:w-[80.8px]'
153
- }
154
- />
188
+ <></>
155
189
  )}
156
190
 
157
191
  <Ping
@@ -165,11 +199,10 @@ const GlobalOfficeSection = ({ isCenter, customFont }: { isCenter?: boolean; cus
165
199
  'absolute -top-[50px] flex h-[50px] w-fit items-end text-[22px] font-[900] uppercase tracking-[-0.5px] text-[#04325A] ' +
166
200
  'transition-[color,font-size] duration-300 group-hover:text-[26px] group-hover:text-[#285FA7] ' +
167
201
  'max-[1935px]:-top-[2.58vw] max-[1935px]:h-[2.58vw] max-[1935px]:text-[1.14vw] max-[1935px]:group-hover:text-[1.34vw] ' +
168
- 'max-4xl:-top-[3vw] max-4xl:text-[1.45vw] max-4xl:group-hover:text-[1.65vw] ' +
202
+ 'max-4xl:-top-[2.6vw] max-4xl:text-[1.45vw] max-4xl:group-hover:text-[1.65vw] ' +
169
203
  'max-xl:text-[2vw] max-xl:tracking-[-0.1vw] max-xl:group-hover:text-[2.3vw] ' +
170
- 'max-md:bottom-[0.8vw] max-md:right-0 max-md:top-[unset] max-md:text-[2.3vw] max-md:tracking-[-0.15vw] max-md:group-hover:text-[2.3vw] ' +
171
- 'max-xs:text-[2.5vw] max-xs:tracking-[-0.2vw] max-xs:group-hover:text-[2.5vw] ' +
172
- 'max-[360px]:bottom-[2.88px] max-[360px]:h-fit max-[360px]:text-[9.5px] max-[360px]:tracking-[-0.8px] max-[360px]:group-hover:text-[9.5px]'
204
+ 'max-md:relative max-md:bottom-0 max-md:right-0 max-md:top-[unset] max-md:h-fit max-md:text-[20px] max-md:tracking-[-0.9px] max-md:group-hover:text-[20px] ' +
205
+ 'max-2sm:text-[16px] max-2sm:leading-none max-2sm:group-hover:text-[16px]'
173
206
  }
174
207
  >
175
208
  WASHINGTON, DC
@@ -177,12 +210,12 @@ const GlobalOfficeSection = ({ isCenter, customFont }: { isCenter?: boolean; cus
177
210
  </span>
178
211
  <div
179
212
  className={
180
- 'relative aspect-square w-[220px] translate-y-[-15px] overflow-hidden bg-[#ddd] ' +
181
- 'max-[1935px]:w-[11.37vw] max-[1935px]:translate-y-[-0.78vw] ' +
213
+ 'relative mt-[-16px] aspect-square w-[220px] overflow-hidden bg-[#ddd] ' +
214
+ 'max-[1935px]:mt-[-0.78vw] max-[1935px]:w-[11.37vw] ' +
182
215
  'max-4xl:w-[13vw] ' +
183
- 'max-xl:w-[18.1vw] max-xl:translate-y-[-2.2vw] ' +
184
- 'max-md:mt-[2.55vw] max-md:w-[22.22vw] max-md:translate-y-0 ' +
185
- 'max-[360px]:mt-[8px] max-[360px]:w-[80px] '
216
+ 'max-xl:mt-[-2.2vw] max-xl:w-[18.1vw] ' +
217
+ 'max-md:mt-[8px] max-md:w-[250px] max-md:translate-y-0 ' +
218
+ 'max-sm:aspect-[14/12] max-sm:w-full '
186
219
  }
187
220
  >
188
221
  <Image
@@ -196,29 +229,7 @@ const GlobalOfficeSection = ({ isCenter, customFont }: { isCenter?: boolean; cus
196
229
  className={'h-full w-full object-cover ' + 'duration-700 group-hover:scale-105'}
197
230
  />
198
231
  </div>
199
- <div
200
- className={
201
- 'flex h-[55px] w-[220px] translate-y-[-16px] items-center justify-between bg-[#04325A] px-[26px] text-[18px] tracking-[-0.9px] text-white ' +
202
- 'transition-colors group-hover:bg-[#285FA7] ' +
203
- 'max-[1935px]:h-[2.84vw] max-[1935px]:w-[11.37vw] max-[1935px]:translate-y-[-0.83vw] max-[1935px]:px-[1.34vw] max-[1935px]:text-[0.93vw] max-[1935px]:tracking-[-0.05vw] ' +
204
- 'max-4xl:h-[3.5vw] max-4xl:w-[13vw] max-4xl:text-[1.1vw] ' +
205
- 'max-xl:h-[5vw] max-xl:w-[18.1vw] max-xl:translate-y-[-2.3vw] max-xl:text-[1.7vw] ' +
206
- 'max-md:h-[6.39vw] max-md:w-[22.22vw] max-md:translate-y-[-1px] max-md:px-[2vw] max-md:text-[1.8vw] ' +
207
- 'max-[360px]:h-[23px] max-[360px]:w-[80px] max-[360px]:px-[5px] max-[360px]:text-[7px] '
208
- }
209
- >
210
- 홈페이지 바로가기
211
- <IconArrow
212
- className={
213
- 'h-auto w-[16px] ' +
214
- 'max-[1935px]:w-[0.83vw] ' +
215
- 'max-4xl:w-[1vw] ' +
216
- 'max-xl:w-[1.5vw] ' +
217
- 'max-md:w-[2vw] ' +
218
- 'max-[360px]:w-[7px]'
219
- }
220
- />
221
- </div>
232
+ <GoPage text={'홈페이지 바로가기'} />
222
233
  </Link>
223
234
 
224
235
  {/*뉴욕*/}
@@ -228,7 +239,7 @@ const GlobalOfficeSection = ({ isCenter, customFont }: { isCenter?: boolean; cus
228
239
  style={{ left: `${(980 / MAP_W) * 100}%`, top: `${(670 / MAP_H) * 100}%` }}
229
240
  className={
230
241
  'group absolute flex h-fit w-fit flex-col items-end object-cover ' +
231
- 'max-md:-translate-y-[100%] max-md:flex-col-reverse '
242
+ 'max-md:relative max-md:!left-0 max-md:!top-0 max-md:w-full max-md:items-start '
232
243
  }
233
244
  >
234
245
  <span className={'relative block h-fit w-fit '}>
@@ -247,12 +258,7 @@ const GlobalOfficeSection = ({ isCenter, customFont }: { isCenter?: boolean; cus
247
258
  }
248
259
  />
249
260
  ) : (
250
- <LineNewYorkSm
251
- className={
252
- 'h-auto w-[28.61vw] stroke-[#04325A] transition-colors duration-500 group-hover:stroke-[#285FA7] ' +
253
- 'max-[360px]:w-[103px] '
254
- }
255
- />
261
+ <></>
256
262
  )}
257
263
 
258
264
  <Ping
@@ -267,10 +273,9 @@ const GlobalOfficeSection = ({ isCenter, customFont }: { isCenter?: boolean; cus
267
273
  'transition-[color,font-size] duration-300 group-hover:text-[26px] group-hover:text-[#285FA7] ' +
268
274
  'max-[1935px]:text-[1.14vw] max-[1935px]:group-hover:text-[1.34vw] ' +
269
275
  'max-4xl:text-[1.45vw] max-4xl:group-hover:text-[1.65vw] ' +
270
- 'max-xl:bottom-[0.6vw] max-xl:text-[2vw] max-xl:tracking-[-0.1vw] max-xl:group-hover:text-[2.3vw] ' +
271
- 'max-md:bottom-[unset] max-md:top-[0.5vw] max-md:text-[2.3vw] max-md:tracking-[-0.15vw] max-md:group-hover:text-[2.3vw] ' +
272
- 'max-xs:text-[2.5vw] max-xs:tracking-[-0.2vw] max-xs:group-hover:text-[2.5vw] ' +
273
- 'max-[360px]:top-[1.8px] max-[360px]:text-[9.5px] max-[360px]:tracking-[-0.8px] max-[360px]:group-hover:text-[9.5px] '
276
+ 'max-xl:bottom-[0.2vw] max-xl:text-[2vw] max-xl:tracking-[-0.1vw] max-xl:group-hover:text-[2.3vw] ' +
277
+ 'max-md:relative max-md:bottom-0 max-md:right-0 max-md:top-[unset] max-md:text-[20px] max-md:tracking-[-0.9px] max-md:group-hover:text-[20px] ' +
278
+ 'max-2sm:text-[16px] max-2sm:leading-none max-2sm:group-hover:text-[16px]'
274
279
  }
275
280
  >
276
281
  New York
@@ -282,8 +287,8 @@ const GlobalOfficeSection = ({ isCenter, customFont }: { isCenter?: boolean; cus
282
287
  'max-[1935px]:mt-[1.03vw] max-[1935px]:w-[11.37vw] ' +
283
288
  'max-4xl:w-[13vw] ' +
284
289
  'max-xl:mt-[1.49vw] max-xl:w-[18.1vw] ' +
285
- 'max-md:order-2 max-md:mb-[2.22vw] max-md:mt-0 max-md:w-[22.22vw] ' +
286
- 'max-[360px]:mb-[8px] max-[360px]:w-[80px] '
290
+ 'max-md:mt-[8px] max-md:w-[250px] max-md:translate-y-0 ' +
291
+ 'max-sm:aspect-[14/12] max-sm:w-full '
287
292
  }
288
293
  >
289
294
  <Image
@@ -297,83 +302,130 @@ const GlobalOfficeSection = ({ isCenter, customFont }: { isCenter?: boolean; cus
297
302
  className={'h-full w-full object-cover ' + 'duration-700 group-hover:scale-105'}
298
303
  />
299
304
  </div>
305
+ <GoPage text={'홈페이지 바로가기'} />
306
+ </Link>
307
+
308
+ {/*서울*/}
309
+ <Link
310
+ style={{ right: `${(631 / MAP_W) * 100}%`, top: `${(670 / MAP_H) * 100}%` }}
311
+ className={
312
+ 'group absolute h-fit w-fit -translate-y-[140px] cursor-pointer object-cover ' +
313
+ 'max-[1935px]:-translate-y-[7.23vw] ' +
314
+ 'max-4xl:-translate-y-[8vw] ' +
315
+ 'max-xl:-translate-y-[18.8vw] ' +
316
+ 'max-md:relative max-md:!left-0 max-md:!top-0 max-md:w-full max-md:translate-y-0 max-md:items-start '
317
+ }
318
+ href={'/map/seoulbon?scroll=false'}
319
+ >
320
+ <span className={'relative block h-fit w-fit '}>
321
+ {width >= 1280 ? (
322
+ <LineSeoul
323
+ className={
324
+ 'h-auto w-[382px] stroke-[#04325A] transition-colors duration-500 group-hover:stroke-[#285FA7] ' +
325
+ 'max-[1935px]:w-[19.74vw] ' +
326
+ 'max-4xl:w-[22vw] '
327
+ }
328
+ />
329
+ ) : width >= 768 ? (
330
+ <LineSeoulMd
331
+ className={
332
+ 'h-auto w-[30vw] stroke-[#04325A] transition-colors duration-500 group-hover:stroke-[#285FA7] '
333
+ }
334
+ />
335
+ ) : (
336
+ <></>
337
+ )}
338
+
339
+ <Ping className={'bottom-0 right-0 translate-x-1/2 translate-y-1/2 '} />
340
+ <p
341
+ className={
342
+ 'absolute -top-[50px] flex h-[50px] w-fit items-end text-[22px] font-[900] uppercase tracking-[-0.5px] text-[#04325A] ' +
343
+ 'transition-[color,font-size] duration-300 group-hover:text-[26px] group-hover:text-[#285FA7] ' +
344
+ 'max-[1935px]:text-[1.14vw] max-[1935px]:group-hover:text-[1.34vw] ' +
345
+ 'max-4xl:text-[1.45vw] max-4xl:group-hover:text-[1.65vw] ' +
346
+ 'max-xl:bottom-[0.6vw] max-xl:text-[2vw] max-xl:tracking-[-0.1vw] max-xl:group-hover:text-[2.3vw] ' +
347
+ 'max-md:relative max-md:bottom-0 max-md:right-0 max-md:top-[unset] max-md:h-fit max-md:text-[20px] max-md:tracking-[-0.9px] max-md:group-hover:text-[20px] ' +
348
+ 'max-2sm:text-[16px] max-2sm:leading-none max-2sm:group-hover:text-[16px]'
349
+ }
350
+ >
351
+ Seoul
352
+ </p>
353
+ </span>
300
354
  <div
301
355
  className={
302
- 'flex h-[55px] w-[220px] translate-y-[-1px] items-center justify-between bg-[#04325A] px-[26px] text-[18px] tracking-[-0.9px] text-white ' +
303
- 'transition-colors group-hover:bg-[#285FA7] ' +
304
- '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] ' +
305
- 'max-4xl:h-[3.5vw] max-4xl:w-[13vw] max-4xl:text-[1.1vw] ' +
306
- 'max-xl:h-[5vw] max-xl:w-[18.1vw] max-xl:text-[1.7vw] ' +
307
- 'max-md:order-1 max-md:h-[6.39vw] max-md:w-[22.22vw] max-md:translate-y-[-2.5vw] max-md:px-[2vw] max-md:text-[1.8vw] ' +
308
- 'max-[360px]:h-[23px] max-[360px]:w-[80px] max-[360px]:translate-y-[-9px] max-[360px]:px-[5px] max-[360px]:text-[7px] '
356
+ 'relative mt-[-120px] aspect-square w-[220px] overflow-hidden bg-[#ddd] ' +
357
+ 'max-[1935px]:mt-[-6.20vw] max-[1935px]:w-[11.37vw] ' +
358
+ 'max-4xl:mt-[-7vw] max-4xl:w-[13vw] ' +
359
+ 'max-xl:mt-[-17.3vw] max-xl:w-[18.1vw] ' +
360
+ 'max-md:mt-[8px] max-md:w-[250px] max-md:translate-y-0 ' +
361
+ 'max-sm:aspect-[14/12] max-sm:w-full '
309
362
  }
310
363
  >
311
- 홈페이지 바로가기
312
- <IconArrow
364
+ <Image
365
+ src={'https://d1tgonli21s4df.cloudfront.net/main_new/seoul_img.webp'}
366
+ alt="법무법인 대륜 한국 사무소"
367
+ fill
368
+ draggable="false"
369
+ loading={'lazy'}
370
+ unoptimized
371
+ sizes={'280px'}
313
372
  className={
314
- 'h-auto w-[16px] ' +
315
- 'max-[1935px]:w-[0.83vw] ' +
316
- 'max-4xl:w-[1vw] ' +
317
- 'max-xl:w-[1.5vw] ' +
318
- 'max-md:w-[2vw] ' +
319
- 'max-[360px]:w-[7px]'
373
+ 'h-full w-full scale-[1.01] object-cover transition-transform ' +
374
+ 'duration-700 group-hover:scale-105 '
320
375
  }
321
376
  />
322
377
  </div>
378
+ <GoPage text={'사무소 안내 바로가기'} />
323
379
  </Link>
324
380
 
325
- {/*한국*/}
381
+ {/*부산*/}
326
382
  <Link
327
- style={{ right: `${(615 / MAP_W) * 100}%`, top: `${(685 / MAP_H) * 100}%` }}
383
+ style={{ right: `${(593 / MAP_W) * 100}%`, top: `${(690 / MAP_H) * 100}%` }}
328
384
  className={
329
- 'group absolute h-fit w-fit translate-x-[20px] cursor-pointer object-cover ' +
330
- 'max-[1935px]:translate-x-[1.03vw] max-4xl:translate-x-[0.9vw] max-xl:translate-x-0'
331
- }
332
- href={
333
- isCenter
334
- ? 'https://www.daeryunlaw.com//map/seoulbon?scroll=false'
335
- : '/map/seoulbon?scroll=false'
385
+ 'group absolute flex h-fit w-fit translate-x-[70%] cursor-pointer flex-col items-end object-cover ' +
386
+ 'max-4xl:translate-x-[75%] ' +
387
+ 'max-xl:translate-x-0 max-xl:items-start ' +
388
+ 'max-md:relative max-md:!right-0 max-md:!top-0 max-md:w-full '
336
389
  }
337
- target={isCenter ? '_blank' : '_self'}
390
+ href={'/map/busan1?scroll=false'}
338
391
  >
339
392
  <span className={'relative block h-fit w-fit '}>
340
393
  {width >= 1280 ? (
341
- <LineKorea
394
+ <LineBusan
342
395
  className={
343
- 'h-auto w-[199px] stroke-[#04325A] transition-colors duration-500 group-hover:stroke-[#285FA7] ' +
344
- 'max-[1935px]:w-[10.28vw] ' +
345
- 'max-4xl:w-[12vw] '
396
+ 'h-auto w-[160px] stroke-[#04325A] transition-colors duration-500 group-hover:stroke-[#285FA7] ' +
397
+ 'max-[1935px]:w-[8.27vw] ' +
398
+ 'max-4xl:w-[10vw] '
346
399
  }
347
400
  />
348
401
  ) : width >= 768 ? (
349
- <LineKoreaMd
402
+ <LineBusanMd
350
403
  className={
351
404
  'h-auto w-[21vw] stroke-[#04325A] transition-colors duration-500 group-hover:stroke-[#285FA7] '
352
405
  }
353
406
  />
354
407
  ) : (
355
- <LineKoreaSm
356
- className={
357
- 'h-auto w-[21.67vw] stroke-[#04325A] transition-colors duration-500 group-hover:stroke-[#285FA7] ' +
358
- 'max-[360px]:w-[78px]'
359
- }
360
- />
408
+ <></>
361
409
  )}
362
410
 
363
- <Ping className={'right-0 top-0 -translate-y-1/2 translate-x-1/2 '} />
411
+ <Ping
412
+ className={
413
+ 'left-0 top-0 -translate-x-1/2 -translate-y-1/2 ' +
414
+ 'max-xl:left-[unset] max-xl:right-0 max-xl:translate-x-[30%]'
415
+ }
416
+ />
364
417
  <p
365
418
  className={
366
- 'absolute bottom-0 left-0 text-[22px] font-[900] uppercase tracking-[-0.5px] text-[#04325A] ' +
419
+ 'absolute bottom-0 right-0 text-[22px] font-[900] uppercase tracking-[-0.5px] text-[#04325A] ' +
367
420
  'transition-[color,font-size] duration-300 group-hover:text-[26px] group-hover:text-[#285FA7] ' +
368
421
  'max-[1935px]:text-[1.14vw] max-[1935px]:group-hover:text-[1.34vw] ' +
369
422
  'max-4xl:text-[1.45vw] max-4xl:group-hover:text-[1.65vw] ' +
370
- 'max-xl:bottom-[0.6vw] max-xl:text-[2vw] max-xl:tracking-[-0.1vw] max-xl:group-hover:text-[2.3vw] ' +
371
- 'max-md:bottom-[0.8vw] max-md:h-fit max-md:text-[2.3vw] max-md:tracking-[-0.15vw] max-md:group-hover:text-[2.3vw] ' +
372
- 'max-xs:text-[2.5vw] max-xs:tracking-[-0.2vw] max-xs:group-hover:text-[2.5vw] ' +
373
- 'max-[360px]:bottom-[2.88px] max-[360px]:h-fit max-[360px]:text-[9.5px] max-[360px]:tracking-[-0.8px] max-[360px]:group-hover:text-[9.5px]'
423
+ 'max-xl:bottom-[0.2vw] max-xl:left-0 max-xl:right-[unset] max-xl:text-[2vw] max-xl:tracking-[-0.1vw] max-xl:group-hover:text-[2.3vw] ' +
424
+ 'max-md:relative max-md:bottom-0 max-md:right-0 max-md:top-[unset] max-md:text-[20px] max-md:tracking-[-0.9px] max-md:group-hover:text-[20px] ' +
425
+ 'max-2sm:text-[16px] max-2sm:leading-none max-2sm:group-hover:text-[16px] '
374
426
  }
375
427
  >
376
- korea
428
+ Busan
377
429
  </p>
378
430
  </span>
379
431
  <div
@@ -382,12 +434,12 @@ const GlobalOfficeSection = ({ isCenter, customFont }: { isCenter?: boolean; cus
382
434
  'max-[1935px]:mt-[1.03vw] max-[1935px]:w-[11.37vw] ' +
383
435
  'max-4xl:w-[13vw] ' +
384
436
  'max-xl:mt-[1.49vw] max-xl:w-[18.1vw] ' +
385
- 'max-md:mt-[2vw] max-md:w-[22.22vw] ' +
386
- 'max-[360px]:mt-[8px] max-[360px]:w-[80px] '
437
+ 'max-md:mt-[8px] max-md:w-[250px] max-md:translate-y-0 ' +
438
+ 'max-sm:aspect-[14/12] max-sm:w-full '
387
439
  }
388
440
  >
389
441
  <Image
390
- src={'https://d1tgonli21s4df.cloudfront.net/main_new/korea_img.webp'}
442
+ src={'https://d1tgonli21s4df.cloudfront.net/main_new/busan_img.webp'}
391
443
  alt="법무법인 대륜 한국 사무소"
392
444
  fill
393
445
  draggable="false"
@@ -400,29 +452,7 @@ const GlobalOfficeSection = ({ isCenter, customFont }: { isCenter?: boolean; cus
400
452
  }
401
453
  />
402
454
  </div>
403
- <div
404
- className={
405
- 'flex h-[55px] w-[220px] translate-y-[-1px] items-center justify-between bg-[#04325A] px-[26px] text-[18px] tracking-[-0.9px] text-white ' +
406
- 'transition-colors group-hover:bg-[#285FA7] ' +
407
- '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] ' +
408
- 'max-4xl:h-[3.5vw] max-4xl:w-[13vw] max-4xl:text-[1.1vw] ' +
409
- 'max-xl:h-[5vw] max-xl:w-[18.1vw] max-xl:text-[1.7vw] ' +
410
- 'max-md:h-[6.39vw] max-md:w-[22.22vw] max-md:px-[2vw] max-md:text-[1.8vw] ' +
411
- 'max-[360px]:h-[23px] max-[360px]:w-[80px] max-[360px]:px-[5px] max-[360px]:text-[7px] '
412
- }
413
- >
414
- 사무소 더 보기
415
- <IconArrow
416
- className={
417
- 'h-auto w-[16px] ' +
418
- 'max-[1935px]:w-[0.83vw] ' +
419
- 'max-4xl:w-[1vw] ' +
420
- 'max-xl:w-[1.5vw] ' +
421
- 'max-md:w-[2vw] ' +
422
- 'max-[360px]:w-[7px]'
423
- }
424
- />
425
- </div>
455
+ <GoPage text={'사무소 안내 바로가기'} />
426
456
  </Link>
427
457
  </div>
428
458
  </Wrapper>
@@ -434,7 +464,11 @@ export default GlobalOfficeSection;
434
464
 
435
465
  const Ping = ({ className }: { className?: string }) => {
436
466
  return (
437
- <div className={'absolute aspect-square w-[9px] max-xl:scale-[0.8] max-2sm:scale-[0.6] ' + className}>
467
+ <div
468
+ className={
469
+ 'absolute aspect-square w-[9px] max-xl:scale-[0.8] max-md:hidden max-2sm:scale-[0.6] ' + className
470
+ }
471
+ >
438
472
  <div
439
473
  className={
440
474
  'absolute left-0 top-0 h-full w-full rounded-full bg-[#04325A] ' +
@@ -473,3 +507,31 @@ const TextCon = ({ text }: { text: string }) => {
473
507
  </p>
474
508
  );
475
509
  };
510
+
511
+ const GoPage = ({ text }: { text: string }) => {
512
+ return (
513
+ <div
514
+ className={
515
+ 'flex h-[55px] w-[220px] translate-y-[-1px] items-center justify-between bg-[#04325A] px-[20px] text-[18px] tracking-[-0.9px] text-white ' +
516
+ 'transition-colors group-hover:bg-[#285FA7] ' +
517
+ 'max-[1935px]:h-[2.84vw] max-[1935px]:w-[11.37vw] max-[1935px]:px-[1.1vw] max-[1935px]:text-[0.93vw] max-[1935px]:tracking-[-0.05vw] ' +
518
+ 'max-4xl:h-[3.5vw] max-4xl:w-[13vw] max-4xl:text-[1.1vw] ' +
519
+ 'max-xl:h-[5vw] max-xl:w-[18.1vw] max-xl:text-[1.5vw] ' +
520
+ 'max-md:h-[50px] max-md:w-[250px] max-md:px-[2vw] max-md:text-[18px] ' +
521
+ 'max-sm:h-[45px] max-sm:w-full max-sm:text-[16px] ' +
522
+ 'max-2sm:h-[36px] max-2sm:text-[13px]'
523
+ }
524
+ >
525
+ {text}
526
+ <IconArrow
527
+ className={
528
+ 'h-auto w-[16px] ' +
529
+ 'max-[1935px]:w-[0.83vw] ' +
530
+ 'max-4xl:w-[1vw] ' +
531
+ 'max-xl:w-[1.5vw] ' +
532
+ 'max-md:w-[14px] '
533
+ }
534
+ />
535
+ </div>
536
+ );
537
+ };
@@ -2,7 +2,7 @@ export declare const getSearchKeywordJson: (searchKeywords: {
2
2
  code_name: string;
3
3
  survey_title: string;
4
4
  }[]) => {
5
- [key: string]: string[];
5
+ [x: string]: string[];
6
6
  };
7
7
  export declare const tabTypes: {
8
8
  tab: string;