@daeryun/dr_components 0.1.91 → 0.1.93

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 (56) hide show
  1. package/dist/asset/images/header/logo_b.webp +0 -0
  2. package/dist/asset/images/header/logo_w.webp +0 -0
  3. package/dist/asset/images/header/military.svg +38 -0
  4. package/dist/asset/images/header/military_w.svg +38 -0
  5. package/dist/cjs/tsconfig-cjs.tsbuildinfo +1 -1
  6. package/dist/components/Header/Header.d.ts +4 -0
  7. package/dist/components/Header/Header.jsx +189 -0
  8. package/dist/components/Header/Header.stories.d.ts +8 -0
  9. package/dist/components/Header/Header.stories.jsx +200 -0
  10. package/dist/components/Header/Header.stories.tsx +209 -0
  11. package/dist/components/Header/Header.tsx +280 -0
  12. package/dist/components/Header/Menu.d.ts +4 -0
  13. package/dist/components/Header/Menu.jsx +10 -0
  14. package/dist/components/Header/Menu.tsx +29 -0
  15. package/dist/components/Header/MobileMenu.d.ts +4 -0
  16. package/dist/components/Header/MobileMenu.jsx +209 -0
  17. package/dist/components/Header/MobileMenu.tsx +370 -0
  18. package/dist/components/Header/PCMenu.d.ts +4 -0
  19. package/dist/components/Header/PCMenu.jsx +130 -0
  20. package/dist/components/Header/PCMenu.tsx +243 -0
  21. package/dist/components/Header/main.module.css +150 -0
  22. package/dist/components/MapFix/AreaImage.jsx +12 -11
  23. package/dist/components/MapFix/AreaImage.tsx +26 -28
  24. package/dist/components/MapSection/MapSection.stories.jsx +17 -1
  25. package/dist/components/MapSection/MapSection.stories.tsx +35 -1
  26. package/dist/components/common/data/index.js +39 -219
  27. package/dist/components/common/data/index.ts +39 -219
  28. package/dist/components/hook/useBrowser.d.ts +5 -0
  29. package/dist/components/hook/useBrowser.js +51 -0
  30. package/dist/components/hook/useBrowser.ts +58 -0
  31. package/dist/components/hook/useCountNum.d.ts +4 -0
  32. package/dist/components/hook/useCountNum.jsx +23 -0
  33. package/dist/components/hook/useCountNum.tsx +28 -0
  34. package/dist/components/hook/useElementObserve.d.ts +7 -0
  35. package/dist/components/hook/useElementObserve.js +39 -0
  36. package/dist/components/hook/useElementObserve.ts +46 -0
  37. package/dist/components/hook/useScrollRestoration.d.ts +5 -0
  38. package/dist/components/hook/useScrollRestoration.js +61 -0
  39. package/dist/components/hook/useScrollRestoration.ts +80 -0
  40. package/dist/components/hook/useScrollRestorationException.d.ts +2 -0
  41. package/dist/components/hook/useScrollRestorationException.js +24 -0
  42. package/dist/components/hook/useScrollRestorationException.ts +30 -0
  43. package/dist/components/index.js +1 -0
  44. package/dist/components/index.ts +1 -0
  45. package/dist/components/myCase/MyCase.d.ts +5 -0
  46. package/dist/components/myCase/MyCase.jsx +26 -0
  47. package/dist/components/myCase/MyCase.tsx +47 -0
  48. package/dist/components/routes/gnb.d.ts +11 -0
  49. package/dist/components/routes/gnb.jsx +165 -0
  50. package/dist/components/routes/gnb.tsx +172 -0
  51. package/dist/styles/globals.css +348 -0
  52. package/dist/tsconfig.tsbuildinfo +1 -1
  53. package/dist/types/header.d.ts +52 -0
  54. package/dist/types/header.js +1 -0
  55. package/dist/types/header.ts +54 -0
  56. package/package.json +1 -1
@@ -0,0 +1,370 @@
1
+ import Link from 'next/link';
2
+ import React, { useEffect, useState } from 'react';
3
+ import Image from 'next/image';
4
+ import { insert } from '../../lib';
5
+ import * as gtag from '../../lib/gtag';
6
+ import { useRouter } from 'next/router';
7
+ import { savePowerLinkConversion } from '../../lib';
8
+ import MyCase from '../myCase/MyCase';
9
+ import Menu_x from '../../asset/images/header/menu_x.webp';
10
+ import M_sr from '../../asset/images/header/m_sr.webp';
11
+ import M_right from '../../asset/images/header/m_right.webp';
12
+ import Call from '../../asset/images/header/h_call_line_b.webp';
13
+ import { blankArr, IMobileMenuType } from '../../types/header';
14
+ import BrochureBtn from '../BrochureBtn/BrochureBtn';
15
+
16
+ const MobileMenu = ({
17
+ handleMenuToggle,
18
+ opacity,
19
+ menuToggle,
20
+ routes,
21
+ tel,
22
+ keywordArr,
23
+ logo,
24
+ isBrochureBtn
25
+ }: IMobileMenuType) => {
26
+ const router = useRouter();
27
+ const mobile = require('is-mobile');
28
+ const [isMobile, setIsMobile] = useState<boolean>(false);
29
+
30
+ //활성화 메뉴관리
31
+ const currentPath = router.pathname;
32
+ const [activeMenu, setActiveMenu] = useState<string>();
33
+
34
+ //검색기능
35
+ const [search, setSearch] = useState<string>('');
36
+
37
+ //나의사건검색
38
+ const [isMyCaseOn, setIsMyCaseOn] = useState<boolean>(false);
39
+
40
+ // GA 클릭이벤트
41
+ const menuTelClickMo = () => {
42
+ gtag.event({
43
+ action: 'mobile_menu_tel',
44
+ category: 'menutel',
45
+ label: '모바일메뉴내전화버튼',
46
+ value: '1'
47
+ });
48
+ };
49
+
50
+ // 에이스카운터 전환태그
51
+ const ace_ToptelClick = () => {
52
+ try {
53
+ // @ts-ignore
54
+ AM_PL('/m_Toptel');
55
+ } catch (e) {}
56
+ };
57
+
58
+ // 현재 주소로 활성화
59
+ const findOuterName = (currentPath: string) => {
60
+ for (const route of routes) {
61
+ if (currentPath === route.path || currentPath.startsWith(route.path + '/')) {
62
+ return route.name;
63
+ }
64
+
65
+ for (const nestedRoute of route.routes) {
66
+ if (currentPath === nestedRoute.path || currentPath.startsWith(nestedRoute.path + '/')) {
67
+ return route.name;
68
+ }
69
+ }
70
+ }
71
+ return routes[0].name;
72
+ };
73
+
74
+ // 클릭시 활성화
75
+ const handleClickForMobile = (e: any) => {
76
+ setActiveMenu(e.target.textContent);
77
+ };
78
+
79
+ //감색기능 엔터
80
+ const handleKeyPressSearch = (e: React.KeyboardEvent<HTMLInputElement>) => {
81
+ e.preventDefault();
82
+ if (e.key === 'Enter' && search.length > 0) {
83
+ handleMenuToggle(`https://www.daeryunlaw.com/integrate?tab=전체&search=${search}`);
84
+ window.open(`https://www.daeryunlaw.com/integrate?tab=전체&search=${search}`, '_blank');
85
+ }
86
+ };
87
+
88
+ //감색기능 클릭
89
+ const handleClickSearch = () => {
90
+ handleMenuToggle(`https://www.daeryunlaw.com/integrate?tab=전체&search=${search}`);
91
+ window.open(`https://www.daeryunlaw.com/integrate?tab=전체&search=${search}`, '_blank');
92
+ };
93
+
94
+ const handleClickKeyword = (keyword: string) => {
95
+ //recommend - 추천 검색어 버튼 클릭이면 true
96
+ if (keyword) {
97
+ handleMenuToggle(`https://www.daeryunlaw.com/integrate?tab=전체&search=${keyword}&recommend=true`);
98
+ window.open(`https://www.daeryunlaw.com/integrate?tab=전체&search=${keyword}&recommend=true`, '_blank');
99
+ }
100
+ };
101
+
102
+ //나의사건검샛
103
+ const onClickMyCase = () => {
104
+ setIsMyCaseOn(false);
105
+ };
106
+
107
+ //페이지 내부에서 쿼리 파라미터 없이 루트 경로로 돌아갈 때 새로고침
108
+ const reloadUrl = (url: string) => {
109
+ if (router.pathname === url) {
110
+ router.push(url).then(() => {
111
+ router.reload();
112
+ });
113
+ }
114
+ };
115
+
116
+ useEffect(() => {
117
+ setIsMobile(mobile());
118
+ setActiveMenu(findOuterName(currentPath));
119
+ }, []);
120
+
121
+ return (
122
+ <>
123
+ {isMyCaseOn ? <MyCase onClick={onClickMyCase} /> : <></>}
124
+
125
+ {/*모바일 메뉴 1024px*/}
126
+ {/*<div style={{ opacity }} className={style.main + ' hidden max-lg:block fixed top-0 left-0 w-full h-full'}>*/}
127
+ <div
128
+ style={{ opacity, zIndex: menuToggle ? 50 : -9999, pointerEvents: menuToggle ? 'auto' : 'none' }}
129
+ className={' fixed left-0 top-0 hidden h-full w-full max-lg:block'}
130
+ >
131
+ <div
132
+ className={'absolute left-0 top-0 h-full w-full bg-black bg-opacity-[55%]'}
133
+ onClick={() => handleMenuToggle()}
134
+ ></div>
135
+ <span
136
+ style={{
137
+ //스크롤 숨기기
138
+ msOverflowStyle: 'none',
139
+ scrollbarWidth: 'none'
140
+ }}
141
+ className={
142
+ 'absolute right-0 top-0 z-0 h-full w-[65%] overflow-y-auto ' +
143
+ //640px
144
+ 'bg-white max-sm:w-[100%]'
145
+ }
146
+ >
147
+ <nav className={'h-full min-h-[800px] w-full'}>
148
+ {/*세로 800px 이상이면 스크롤가능*/}
149
+ <div
150
+ className={
151
+ 'flex h-[55%] max-h-[290px] w-full flex-col justify-end border-b-[1px] border-solid border-b-[#F2F2F2] px-[30px] py-[30px] ' +
152
+ //768px
153
+ 'max-md:h-[20%] max-md:max-h-[180px] max-md:min-h-[250px]'
154
+ }
155
+ >
156
+ {/* x icon */}
157
+ <Image
158
+ tabIndex={0}
159
+ src={Menu_x}
160
+ width={54}
161
+ height={54}
162
+ alt={'메뉴'}
163
+ className={
164
+ 'absolute right-[20px] top-[30px] h-[18px] w-[18px] cursor-pointer ' +
165
+ //768px
166
+ 'max-md:h-[15px] max-md:w-[15px]'
167
+ }
168
+ draggable={false}
169
+ onKeyDown={(e: any) => {
170
+ if (e.key === 'Enter') {
171
+ handleMenuToggle();
172
+ }
173
+ }}
174
+ onClick={() => handleMenuToggle()}
175
+ />
176
+ <span>
177
+ <Link href="/" onClick={() => handleMenuToggle('/')}>
178
+ <Image
179
+ src={logo}
180
+ alt={`${process.env.NEXT_PUBLIC_KEYWORD}전문변호사 로고`}
181
+ width={324}
182
+ height={50}
183
+ className={
184
+ 'h-auto w-[200px] ' +
185
+ //768px
186
+ 'max-md:w-[155px]'
187
+ }
188
+ />
189
+ </Link>
190
+ <div
191
+ className={
192
+ 'relative mt-[20px] h-[50px] w-full ' + //768px
193
+ 'max-md:h-[40px] '
194
+ }
195
+ >
196
+ <input
197
+ placeholder={'사건분야, 변호사, 법률정보 등을 검색해보세요'}
198
+ className={
199
+ 'h-full w-full border-[1px] border-solid border-[#285FA7] px-[20px] text-base tracking-[-0.6px] ' +
200
+ //768px
201
+ 'max-md:text-sm'
202
+ }
203
+ onChange={e => {
204
+ setSearch(e.target.value);
205
+ }}
206
+ onKeyUp={handleKeyPressSearch}
207
+ ></input>
208
+ <Image
209
+ src={M_sr}
210
+ alt={'sr_icon'}
211
+ width={35}
212
+ height={34}
213
+ className={
214
+ 'absolute right-[15px] top-[50%] h-auto w-[20px] translate-y-[-50%] cursor-pointer ' +
215
+ //768px
216
+ 'max-md:w-[17px]'
217
+ }
218
+ onClick={handleClickSearch}
219
+ />
220
+ </div>
221
+
222
+ <div className={'relative mt-[20px] grid w-full grid-cols-4 gap-2 '}>
223
+ {keywordArr.map((item: string, index: number) => (
224
+ <div
225
+ key={index}
226
+ tabIndex={0}
227
+ className={
228
+ 'cursor-pointer rounded-full border-[1px] border-solid border-[#285FA7] p-1 text-center text-[14px] font-[800] tracking-tighter text-[#285FA7] max-xs:text-[12px] '
229
+ }
230
+ onKeyDown={(e: any) => {
231
+ if (e.key === 'Enter') {
232
+ handleClickKeyword(item);
233
+ }
234
+ }}
235
+ onClick={() => {
236
+ handleClickKeyword(item);
237
+ }}
238
+ >
239
+ #{item}
240
+ </div>
241
+ ))}
242
+ </div>
243
+ </span>
244
+ </div>
245
+
246
+ {/*메뉴시작*/}
247
+ <div className={'relative h-[60%] max-h-[600px] w-full bg-[#FCFCFC] py-[30px]'}>
248
+ <div className={'absolute top-0 h-full w-[45%] bg-[#F7F7F7]'}></div>
249
+ <div className={'flex h-full w-full flex-col justify-between'}>
250
+ {routes.map((menu, index) => (
251
+ <span key={index} className={'relative w-full'}>
252
+ {/*main menu*/}
253
+ <button
254
+ type={'button'}
255
+ className={
256
+ 'h-[35px] w-[48%] flex-shrink-0 translate-x-[15px] rounded-full pl-[20px] text-left text-base font-[800] ' +
257
+ //버튼 활성화상태
258
+ `${
259
+ activeMenu == menu.name
260
+ ? '!bg-[#285FA7] text-white '
261
+ : 'hover:bg-[#EAEAEA]'
262
+ }`
263
+ }
264
+ onClick={handleClickForMobile}
265
+ >
266
+ {menu.name}
267
+ </button>
268
+ {/*sub menu*/}
269
+ {menu.routes ? (
270
+ <ul
271
+ className={
272
+ 'absolute right-0 top-[5px] z-10 flex max-h-[160px] w-[55%] flex-col gap-[2vh] ' +
273
+ `${activeMenu == menu.name ? '' : 'hidden'}`
274
+ }
275
+ >
276
+ {menu.routes?.map((submenu, index) => (
277
+ <li key={index} className={' pl-[50px] pr-[30px] '}>
278
+ {submenu.name !== '나의 사건검색' ? (
279
+ <Link
280
+ href={submenu.path}
281
+ className={
282
+ 'flex items-center justify-between text-base text-[#5C5C5C] hover:text-[#333333] '
283
+ }
284
+ onClick={() => {
285
+ handleMenuToggle(submenu.path);
286
+ reloadUrl(submenu.path);
287
+ }}
288
+ target={
289
+ blankArr.includes(submenu.name) ? '_blank' : '_self'
290
+ }
291
+ >
292
+ {submenu.name}
293
+ <Image
294
+ src={M_right}
295
+ alt={'arrow_icon'}
296
+ width={12}
297
+ height={23}
298
+ className={'h-auto w-[4px]'}
299
+ />
300
+ </Link>
301
+ ) : (
302
+ <div
303
+ className={
304
+ 'flex cursor-pointer items-center justify-between text-base text-[#5C5C5C] hover:text-[#333333] '
305
+ }
306
+ onClick={() => setIsMyCaseOn(true)}
307
+ >
308
+ {submenu.name}
309
+ <Image
310
+ src={M_right}
311
+ alt={'arrow_icon'}
312
+ width={12}
313
+ height={23}
314
+ className={'h-auto w-[4px]'}
315
+ />
316
+ </div>
317
+ )}
318
+ </li>
319
+ ))}
320
+ </ul>
321
+ ) : (
322
+ ''
323
+ )}
324
+ </span>
325
+ ))}
326
+ </div>
327
+ </div>
328
+ {/*전화번호*/}
329
+ <div className={'mt-[30px] flex w-full justify-start pb-[100px] max-2xs:flex-col'}>
330
+ <Link
331
+ href={`tel:${tel}`}
332
+ onClick={() => {
333
+ insert('call', isMobile);
334
+ savePowerLinkConversion('call', isMobile);
335
+ menuTelClickMo();
336
+ ace_ToptelClick();
337
+ }}
338
+ className={
339
+ 'ml-[30px] flex w-fit items-center justify-end gap-[10px] text-lg font-black'
340
+ }
341
+ >
342
+ <Image
343
+ src={Call}
344
+ width={57}
345
+ height={57}
346
+ alt={'전화상담'}
347
+ className={'h-auto w-[30px]'}
348
+ />
349
+ {tel}
350
+ </Link>
351
+ {isBrochureBtn ? (
352
+ <BrochureBtn
353
+ width={'280px'}
354
+ height={'58px'}
355
+ className={
356
+ 'scale-75 max-md:-mx-[23px] max-xs:scale-[0.7] max-2xs:-mx-[15px] max-2xs:mt-1 '
357
+ }
358
+ />
359
+ ) : (
360
+ <></>
361
+ )}
362
+ </div>
363
+ </nav>
364
+ </span>
365
+ </div>
366
+ </>
367
+ );
368
+ };
369
+
370
+ export default MobileMenu;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IPcMenuType } from '../../types/header';
3
+ declare const PCMenu: ({ handleMenuToggle, opacity, menuToggle, tel, routes, isBrochureBtn }: IPcMenuType) => React.JSX.Element;
4
+ export default PCMenu;
@@ -0,0 +1,130 @@
1
+ import Link from 'next/link';
2
+ import React, { useEffect, useState } from 'react';
3
+ import Image from 'next/image';
4
+ import { insert } from '../../lib';
5
+ import * as gtag from '../../lib/gtag';
6
+ import { savePowerLinkConversion } from '../../lib';
7
+ import MyCase from '../myCase/MyCase';
8
+ import { useRouter } from 'next/router';
9
+ import Menu from '../../asset/images/header/menu_x.webp';
10
+ import Window from '../../asset/images/header/image_b.webp';
11
+ import Call from '../../asset/images/header/h_call_line_b.webp';
12
+ import BrochureBtn from '../BrochureBtn/BrochureBtn';
13
+ const PCMenu = ({ handleMenuToggle, opacity, menuToggle, tel, routes, isBrochureBtn }) => {
14
+ const mobile = require('is-mobile');
15
+ const [isMobile, setIsMobile] = useState(false);
16
+ const router = useRouter();
17
+ //나의사건검색
18
+ const [isMyCaseOn, setIsMyCaseOn] = useState(false);
19
+ // GA 클릭이벤트
20
+ const menuTelClickPC = () => {
21
+ gtag.event({
22
+ action: 'menu_tel',
23
+ category: 'menutel',
24
+ label: 'PC메뉴내전화버튼',
25
+ value: '1'
26
+ });
27
+ };
28
+ //나의사건검샛
29
+ const onClickMyCase = () => {
30
+ setIsMyCaseOn(false);
31
+ };
32
+ const handleKeyPress = (e) => {
33
+ if (e.key === 'Enter') {
34
+ handleMenuToggle();
35
+ }
36
+ };
37
+ useEffect(() => {
38
+ setIsMobile(mobile());
39
+ }, []);
40
+ //페이지 내부에서 쿼리 파라미터 없이 루트 경로로 돌아갈 때 새로고침
41
+ const reloadUrl = (url) => {
42
+ if (router.pathname === url) {
43
+ router.push(url).then(() => {
44
+ router.reload();
45
+ });
46
+ }
47
+ };
48
+ return (<>
49
+ {isMyCaseOn ? <MyCase onClick={onClickMyCase}/> : <></>}
50
+
51
+ {/*pc 메뉴*/}
52
+ {/*<div style={{ opacity }} className={style.main + ' max-lg:hidden'}>*/}
53
+ <div style={{ opacity, zIndex: menuToggle ? 50 : -9999, pointerEvents: menuToggle ? 'auto' : 'none' }} className={`relative max-lg:hidden`}>
54
+ <Image onKeyDown={handleKeyPress} tabIndex={0} src={Menu} width={54} height={54} alt={'메뉴'} className={`fixed right-[7.5%] top-[5%] z-[101] w-[16px] cursor-pointer max-lg:right-[3.5%] max-lg:top-[2.8%] sm:w-[18px] md:w-[20px]`} onClick={() => handleMenuToggle()}/>
55
+ <div className={`fixed inset-0 z-50 block bg-black bg-opacity-[55%]`} onClick={() => handleMenuToggle()}></div>
56
+ <div className={'fixed right-0 top-0 z-[50] h-full w-[68.5%] min-w-[320px] overflow-hidden bg-white pt-[100px]'}>
57
+ <div className={'flex h-full max-h-[800px] flex-col justify-between overflow-y-auto pb-[30px] text-center xl:ml-[75px] xl:w-[80%]'}>
58
+ {[...Array(2)].map((_, index) => {
59
+ return (<ul key={index} className={`flex ${index === 0 ? 'pb-[30px]' : 'mt-0'}`}>
60
+ {[...Array(4)].map((_, index2) => {
61
+ var _a;
62
+ return (<li key={index2} className={'mt-[11.14px] lg:float-left lg:mt-0 lg:w-3/5 '}>
63
+ <ul className={'inline-block w-full text-black'}>
64
+ <li>
65
+ <span className={'inline-block w-full cursor-pointer text-[1.2rem] font-[800] max-lg:pb-2 sm:text-[1.4em] md:text-[24px] lg:cursor-auto'}>
66
+ {routes[index2 + index * 4].name}
67
+ </span>
68
+ <div className={`mx-auto max-lg:ml-3`}>
69
+ <ul className={'mt-2 flex w-4/5 flex-col gap-y-3 text-sm md:mt-2 md:text-2xl lg:block lg:w-full'}>
70
+ {(_a = routes[index2 + index * 4].routes) === null || _a === void 0 ? void 0 : _a.map((item, index) => {
71
+ return (<li key={index} className={'relative'}>
72
+ {item.name != '나의 사건검색' ? (<Link href={item.path ? item.path : ''} onClick={() => {
73
+ handleMenuToggle(item.path);
74
+ reloadUrl(item.path
75
+ ? item.path
76
+ : '');
77
+ }} className={'block w-1/2 pt-1 text-[18px] hover:text-[#285FA7] lg:w-full lg:py-2'} target={item.name === '통합검색' ||
78
+ item.name === '판결분석' ||
79
+ item.name ===
80
+ '만화로 보는 사례' ||
81
+ item.name === '인재채용'
82
+ ? '_blank'
83
+ : '_self'}>
84
+ <span className={'relative w-[10em]'}>
85
+ {item.name}
86
+ {item.name === '통합검색' ||
87
+ item.name === '판결분석' ||
88
+ item.name ===
89
+ '만화로 보는 사례' ||
90
+ item.name === '인재채용' ? (<Image src={Window} alt="새창이미지" width={13} height={13} className="absolute left-[4em] top-[6px] sm:top-[5px] md:left-auto md:right-[-1.2em] md:top-[5px]"/>) : null}
91
+ </span>
92
+ </Link>) : (<span onClick={() => setIsMyCaseOn(true)} className={'block w-1/2 cursor-pointer pt-1 text-[18px] hover:text-[#285FA7] lg:w-full lg:py-2'}>
93
+ <span className={'relative w-[10em]'}>
94
+ {item.name}
95
+ </span>
96
+ </span>)}
97
+ </li>);
98
+ })}
99
+ </ul>
100
+ </div>
101
+ </li>
102
+ </ul>
103
+ </li>);
104
+ })}
105
+ </ul>);
106
+ })}
107
+
108
+ {/*전화번호*/}
109
+ <div className={'mt-[30px] text-left text-black max-lg:mr-4 max-lg:text-right lg:ml-[4vw] xl:ml-[2vw] 2xl:ml-[3vw] ' +
110
+ 'flex items-center justify-start'}>
111
+ <Link href={`tel:${tel}`} onClick={() => {
112
+ insert('call', isMobile);
113
+ savePowerLinkConversion('call', isMobile);
114
+ menuTelClickPC();
115
+ }} className={'inline-block'}>
116
+ <div className={'flex items-center justify-center'}>
117
+ <Image src={Call} width={57} height={57} alt={'전화상담'} className={'aspect-square w-[35px] lg:w-[49px] '}/>
118
+ <span className={'whitespace-nowrap pl-[12px] text-[24px] font-[800] lg:pl-[18px] lg:text-[32px] '}>
119
+ {tel}
120
+ </span>
121
+ </div>
122
+ </Link>
123
+ {isBrochureBtn ? (<BrochureBtn width={'280px'} height={'58px'} className={'ml-16'}/>) : (<></>)}
124
+ </div>
125
+ </div>
126
+ </div>
127
+ </div>
128
+ </>);
129
+ };
130
+ export default PCMenu;