@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,61 @@
1
+ import { useEffect, useState } from 'react';
2
+ import Router from 'next/router';
3
+ export function saveScrollPos(url) {
4
+ if (!(window.scrollX === 0 && window.scrollY === 0)) {
5
+ const scrollPos = { x: window.scrollX, y: window.scrollY };
6
+ sessionStorage.setItem(url, JSON.stringify(scrollPos));
7
+ }
8
+ }
9
+ export function restoreScrollPos(url) {
10
+ // @ts-ignore
11
+ const scrollPos = JSON.parse(sessionStorage.getItem(url));
12
+ if (scrollPos) {
13
+ window.scrollTo(scrollPos.x, scrollPos.y);
14
+ }
15
+ }
16
+ export function removeScrollPos(url) {
17
+ sessionStorage.removeItem(url);
18
+ }
19
+ //스크롤 위치 저장 및 복구 훅
20
+ export default function useScrollRestoration(router) {
21
+ const [shouldScrollRestore, setShouldScrollRestore] = useState(false);
22
+ //뒤로가기로 접근할때 스크롤 복원, 페이지 떠날때 스크롤 저장
23
+ useEffect(() => {
24
+ if ('scrollRestoration' in window.history) {
25
+ window.history.scrollRestoration = 'manual';
26
+ const onRouteChangeStart = () => {
27
+ saveScrollPos(router.asPath);
28
+ };
29
+ Router.events.on('routeChangeStart', onRouteChangeStart);
30
+ window.addEventListener('popstate', () => {
31
+ setShouldScrollRestore(true);
32
+ });
33
+ return () => {
34
+ Router.events.off('routeChangeStart', onRouteChangeStart);
35
+ window.removeEventListener('popstate', () => { });
36
+ };
37
+ }
38
+ }, [router]);
39
+ //뒤로가기 접근일시 스크롤 복원
40
+ useEffect(() => {
41
+ if (shouldScrollRestore) {
42
+ const onRouteChangeComplete = (url) => {
43
+ if (shouldScrollRestore) {
44
+ restoreScrollPos(url);
45
+ //리스트 api로 스크롤 위치 안잡히는 페이지
46
+ if (!url.includes('/lawyer') &&
47
+ !url.includes('/partners') &&
48
+ !url.includes('/success') &&
49
+ !url.includes('/map') &&
50
+ !url.includes('/integrate'))
51
+ removeScrollPos(url);
52
+ }
53
+ };
54
+ Router.events.on('routeChangeComplete', onRouteChangeComplete);
55
+ return () => {
56
+ Router.events.off('routeChangeComplete', onRouteChangeComplete);
57
+ setShouldScrollRestore(false);
58
+ };
59
+ }
60
+ }, [router, shouldScrollRestore]);
61
+ }
@@ -0,0 +1,80 @@
1
+ import { useEffect, useState } from 'react';
2
+ import Router, { NextRouter } from 'next/router';
3
+
4
+ interface ScrollPosition {
5
+ x: number;
6
+ y: number;
7
+ }
8
+
9
+ export function saveScrollPos(url: string) {
10
+ if (!(window.scrollX === 0 && window.scrollY === 0)) {
11
+ const scrollPos: ScrollPosition = { x: window.scrollX, y: window.scrollY };
12
+ sessionStorage.setItem(url, JSON.stringify(scrollPos));
13
+ }
14
+ }
15
+
16
+ export function restoreScrollPos(url: string) {
17
+ // @ts-ignore
18
+ const scrollPos: ScrollPosition = JSON.parse(sessionStorage.getItem(url));
19
+
20
+ if (scrollPos) {
21
+ window.scrollTo(scrollPos.x, scrollPos.y);
22
+ }
23
+ }
24
+ export function removeScrollPos(url: string) {
25
+ sessionStorage.removeItem(url);
26
+ }
27
+
28
+ //스크롤 위치 저장 및 복구 훅
29
+ export default function useScrollRestoration(router: NextRouter) {
30
+ const [shouldScrollRestore, setShouldScrollRestore] = useState<boolean>(false);
31
+
32
+ //뒤로가기로 접근할때 스크롤 복원, 페이지 떠날때 스크롤 저장
33
+ useEffect(() => {
34
+ if ('scrollRestoration' in window.history) {
35
+ window.history.scrollRestoration = 'manual';
36
+
37
+ const onRouteChangeStart = () => {
38
+ saveScrollPos(router.asPath);
39
+ };
40
+
41
+ Router.events.on('routeChangeStart', onRouteChangeStart);
42
+
43
+ window.addEventListener('popstate', () => {
44
+ setShouldScrollRestore(true);
45
+ });
46
+
47
+ return () => {
48
+ Router.events.off('routeChangeStart', onRouteChangeStart);
49
+ window.removeEventListener('popstate', () => {});
50
+ };
51
+ }
52
+ }, [router]);
53
+
54
+ //뒤로가기 접근일시 스크롤 복원
55
+ useEffect(() => {
56
+ if (shouldScrollRestore) {
57
+ const onRouteChangeComplete = (url: string) => {
58
+ if (shouldScrollRestore) {
59
+ restoreScrollPos(url);
60
+ //리스트 api로 스크롤 위치 안잡히는 페이지
61
+ if (
62
+ !url.includes('/lawyer') &&
63
+ !url.includes('/partners') &&
64
+ !url.includes('/success') &&
65
+ !url.includes('/map') &&
66
+ !url.includes('/integrate')
67
+ )
68
+ removeScrollPos(url);
69
+ }
70
+ };
71
+
72
+ Router.events.on('routeChangeComplete', onRouteChangeComplete);
73
+
74
+ return () => {
75
+ Router.events.off('routeChangeComplete', onRouteChangeComplete);
76
+ setShouldScrollRestore(false);
77
+ };
78
+ }
79
+ }, [router, shouldScrollRestore]);
80
+ }
@@ -0,0 +1,2 @@
1
+ import { NextRouter } from 'next/router';
2
+ export default function useScrollRestorationException(router: NextRouter, list: any[]): void;
@@ -0,0 +1,24 @@
1
+ import { useEffect, useState } from 'react';
2
+ import { removeScrollPos, restoreScrollPos } from './useScrollRestoration';
3
+ //리스트나 특정 플래그가 필요할 때 사용하는 스크롤 훅
4
+ export default function useScrollRestorationException(router, list) {
5
+ const [isFromBack, setIsFromBack] = useState(false);
6
+ useEffect(() => {
7
+ if (list.length > 0 && isFromBack) {
8
+ restoreScrollPos(router.asPath);
9
+ removeScrollPos(router.asPath);
10
+ }
11
+ }, [list, isFromBack]);
12
+ useEffect(() => {
13
+ // 페이지 이동 시 이전 경로 저장
14
+ const handleRouteChange = ({ shallow }) => {
15
+ if (!shallow) {
16
+ setIsFromBack(true);
17
+ }
18
+ };
19
+ router.events.on('routeChangeComplete', handleRouteChange);
20
+ return () => {
21
+ router.events.off('routeChangeComplete', handleRouteChange);
22
+ };
23
+ }, []);
24
+ }
@@ -0,0 +1,30 @@
1
+ import Router, { NextRouter } from 'next/router';
2
+ import { useEffect, useState } from 'react';
3
+ import { removeScrollPos, restoreScrollPos } from './useScrollRestoration';
4
+
5
+ //리스트나 특정 플래그가 필요할 때 사용하는 스크롤 훅
6
+ export default function useScrollRestorationException(router: NextRouter, list: any[]) {
7
+ const [isFromBack, setIsFromBack] = useState(false);
8
+
9
+ useEffect(() => {
10
+ if (list.length > 0 && isFromBack) {
11
+ restoreScrollPos(router.asPath);
12
+ removeScrollPos(router.asPath);
13
+ }
14
+ }, [list, isFromBack]);
15
+
16
+ useEffect(() => {
17
+ // 페이지 이동 시 이전 경로 저장
18
+ const handleRouteChange = ({ shallow }: { shallow: boolean }) => {
19
+ if (!shallow) {
20
+ setIsFromBack(true);
21
+ }
22
+ };
23
+
24
+ router.events.on('routeChangeComplete', handleRouteChange);
25
+
26
+ return () => {
27
+ router.events.off('routeChangeComplete', handleRouteChange);
28
+ };
29
+ }, []);
30
+ }
@@ -7,4 +7,5 @@ export { default as CategoryView } from './categoryView/CategoryView';
7
7
  export { default as CountingSection } from './CountingSection/CountingSection';
8
8
  export { default as LogoSection } from './LogoSection/LogoSection';
9
9
  export { default as MapSection } from './MapSection/MapSection';
10
+ export { default as Header } from './Header/Header';
10
11
  export { default as Wrapper } from './Layout/Wrapper';
@@ -7,4 +7,5 @@ export { default as CategoryView } from './categoryView/CategoryView';
7
7
  export { default as CountingSection } from './CountingSection/CountingSection';
8
8
  export { default as LogoSection } from './LogoSection/LogoSection';
9
9
  export { default as MapSection } from './MapSection/MapSection';
10
+ export { default as Header } from './Header/Header';
10
11
  export { default as Wrapper } from './Layout/Wrapper';
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ declare const MyCase: (props: {
3
+ onClick: () => void;
4
+ }) => React.JSX.Element;
5
+ export default MyCase;
@@ -0,0 +1,26 @@
1
+ import React, { useEffect } from 'react';
2
+ const MyCase = (props) => {
3
+ //전체 body 스크롤 잠금
4
+ useEffect(() => {
5
+ document.body.style.overflow = 'hidden';
6
+ return () => {
7
+ document.body.style.overflow = 'visible';
8
+ };
9
+ }, []);
10
+ return (<>
11
+ <div className={'w-full h-[100vh] top-0 left-0 z-[900] fixed'}>
12
+ <div className={'w-full h-full bg-black bg-opacity-80 absolute top-0 left-0 z-[1]'}></div>
13
+ <div className={'w-[80%] h-[80%] px-[20px] max-w-[1000px] max-h-[1200px] bg-white z-[2] absolute bottom-[50%] translate-y-[50%] left-[50%] translate-x-[-50%] ' +
14
+ //1024px
15
+ 'max-lg:w-full max-lg:h-[calc(100%-60px)] max-lg:bottom-0 max-lg:translate-y-0 max-lg:px-[10px] max-lg:pt-[10px] max-lg:pb-[100px]'}>
16
+ <button type={'button'} className={'text-[35px] text-white absolute top-[-50px] right-[-40px] ' +
17
+ //1024px
18
+ ' max-lg:text-[25px] max-lg:right-[10px] max-lg:top-[-45px]'} onClick={props.onClick}>
19
+ ✕
20
+ </button>
21
+ <iframe width="100%" height="100%" title="나의 사건검색" src="https://safind.scourt.go.kr/sf/mysafind.jsp?sch_sa_gbn=&amp;sch_bub_nm=&amp;sa_year=&amp;sa_gubun=&amp;sa_serial=&amp;x=&amp;y=&amp;saveCookie="></iframe>
22
+ </div>
23
+ </div>
24
+ </>);
25
+ };
26
+ export default MyCase;
@@ -0,0 +1,47 @@
1
+ import React, { useEffect } from 'react';
2
+
3
+ const MyCase = (props: { onClick: () => void }) => {
4
+ //전체 body 스크롤 잠금
5
+ useEffect(() => {
6
+ document.body.style.overflow = 'hidden';
7
+
8
+ return () => {
9
+ document.body.style.overflow = 'visible';
10
+ };
11
+ }, []);
12
+
13
+ return (
14
+ <>
15
+ <div className={'w-full h-[100vh] top-0 left-0 z-[900] fixed'}>
16
+ <div className={'w-full h-full bg-black bg-opacity-80 absolute top-0 left-0 z-[1]'}></div>
17
+ <div
18
+ className={
19
+ 'w-[80%] h-[80%] px-[20px] max-w-[1000px] max-h-[1200px] bg-white z-[2] absolute bottom-[50%] translate-y-[50%] left-[50%] translate-x-[-50%] ' +
20
+ //1024px
21
+ 'max-lg:w-full max-lg:h-[calc(100%-60px)] max-lg:bottom-0 max-lg:translate-y-0 max-lg:px-[10px] max-lg:pt-[10px] max-lg:pb-[100px]'
22
+ }
23
+ >
24
+ <button
25
+ type={'button'}
26
+ className={
27
+ 'text-[35px] text-white absolute top-[-50px] right-[-40px] ' +
28
+ //1024px
29
+ ' max-lg:text-[25px] max-lg:right-[10px] max-lg:top-[-45px]'
30
+ }
31
+ onClick={props.onClick}
32
+ >
33
+ ✕
34
+ </button>
35
+ <iframe
36
+ width="100%"
37
+ height="100%"
38
+ title="나의 사건검색"
39
+ src="https://safind.scourt.go.kr/sf/mysafind.jsp?sch_sa_gbn=&amp;sch_bub_nm=&amp;sa_year=&amp;sa_gubun=&amp;sa_serial=&amp;x=&amp;y=&amp;saveCookie="
40
+ ></iframe>
41
+ </div>
42
+ </div>
43
+ </>
44
+ );
45
+ };
46
+
47
+ export default MyCase;
@@ -0,0 +1,11 @@
1
+ interface IRoute {
2
+ path: string;
3
+ name: string;
4
+ routes: {
5
+ path: string;
6
+ name: string;
7
+ ename: string;
8
+ }[];
9
+ }
10
+ export declare const routes: IRoute[];
11
+ export {};
@@ -0,0 +1,165 @@
1
+ export const routes = [
2
+ {
3
+ path: '/greeting',
4
+ name: '그룹소개',
5
+ routes: [
6
+ {
7
+ path: '/greeting',
8
+ name: '비전',
9
+ ename: 'VISION'
10
+ },
11
+ {
12
+ path: '/strength',
13
+ name: '대륜의 강점',
14
+ ename: 'String point'
15
+ },
16
+ {
17
+ path: '/map',
18
+ name: '오시는 길',
19
+ ename: 'Locations'
20
+ },
21
+ {
22
+ path: 'https://www.daeryunlaw.com/integrate?search=&tab=전체',
23
+ name: '통합검색',
24
+ ename: 'Search entire site'
25
+ }
26
+ ]
27
+ },
28
+ {
29
+ path: '/success?page=1',
30
+ name: '업무사례',
31
+ routes: [
32
+ {
33
+ path: '/success?page=1&search=',
34
+ name: '업무사례',
35
+ ename: 'Deals & Cases'
36
+ },
37
+ {
38
+ path: 'https://www.daeryunlaw.com/trend',
39
+ name: '판결분석',
40
+ ename: 'Class action'
41
+ },
42
+ {
43
+ path: '/info',
44
+ name: '법률정보',
45
+ ename: 'LawInfo'
46
+ },
47
+ {
48
+ path: 'https://www.daeryunlaw.com/webtoon',
49
+ name: '만화로 보는 사례',
50
+ ename: 'Cartoon cases'
51
+ },
52
+ {
53
+ path: '/reply',
54
+ name: '고객후기',
55
+ ename: "Client's reviews"
56
+ }
57
+ ]
58
+ },
59
+ {
60
+ path: '/field/area',
61
+ name: '업무분야',
62
+ routes: [
63
+ {
64
+ path: '/field/area',
65
+ name: process.env.NEXT_PUBLIC_GROUPNAME + ' 업무',
66
+ ename: 'Practices'
67
+ },
68
+ {
69
+ path: '/field/areaAll',
70
+ name: '전체',
71
+ ename: 'All'
72
+ }
73
+ ]
74
+ },
75
+ {
76
+ path: '/lawyer?pro=false&page=1&search=',
77
+ name: '구성원 소개',
78
+ routes: [
79
+ {
80
+ path: '/lawyer?pro=false&page=1&search=',
81
+ name: process.env.NEXT_PUBLIC_KEYWORD + '전문변호사',
82
+ ename: 'Attorneys'
83
+ },
84
+ {
85
+ path: '/lawyer?pro=true&page=1&search=',
86
+ name: '특수분야전문가',
87
+ ename: 'Specialists'
88
+ }
89
+ ]
90
+ },
91
+ {
92
+ path: '/broadcast',
93
+ name: '소식/자료',
94
+ routes: [
95
+ {
96
+ path: 'https://www.daeryunlaw.com/broadcast',
97
+ name: '언론보도',
98
+ ename: 'News'
99
+ },
100
+ {
101
+ path: '/notice',
102
+ name: '공지사항',
103
+ ename: 'Notices'
104
+ },
105
+ {
106
+ path: '/archive',
107
+ name: '법률서식',
108
+ ename: 'Archive'
109
+ },
110
+ {
111
+ path: 'https://career.daeryunlaw.com',
112
+ name: '인재채용',
113
+ ename: 'Career'
114
+ }
115
+ ]
116
+ },
117
+ {
118
+ path: '/youtube?search=&page=1',
119
+ name: 'SNS',
120
+ routes: [
121
+ {
122
+ path: '/youtube?search=&page=1',
123
+ name: '유튜브',
124
+ ename: 'Youtube'
125
+ },
126
+ {
127
+ path: '/blog',
128
+ name: '블로그',
129
+ ename: 'Blog'
130
+ },
131
+ {
132
+ path: '/instagram?page=1',
133
+ name: '인스타그램',
134
+ ename: 'Instagram'
135
+ },
136
+ {
137
+ path: '/kin?page=1',
138
+ name: '법률지식인',
139
+ ename: 'Legal Expert'
140
+ }
141
+ ]
142
+ },
143
+ {
144
+ path: 'https://www.scourt.go.kr/portal/information/events/search/search.jsp',
145
+ name: '나의 사건검색',
146
+ routes: [
147
+ {
148
+ path: 'https://www.scourt.go.kr/portal/information/events/search/search.jsp',
149
+ name: '나의 사건검색',
150
+ ename: 'Find my cases'
151
+ }
152
+ ]
153
+ },
154
+ {
155
+ path: '/choice',
156
+ name: '대륜법률상담예약',
157
+ routes: [
158
+ {
159
+ path: '/choice',
160
+ name: '대륜법률상담예약',
161
+ ename: 'Request a counseling'
162
+ }
163
+ ]
164
+ }
165
+ ];
@@ -0,0 +1,172 @@
1
+ interface IRoute {
2
+ path: string;
3
+ name: string;
4
+ routes: { path: string; name: string; ename: string }[];
5
+ }
6
+
7
+ export const routes: IRoute[] = [
8
+ {
9
+ path: '/greeting',
10
+ name: '그룹소개',
11
+ routes: [
12
+ {
13
+ path: '/greeting',
14
+ name: '비전',
15
+ ename: 'VISION'
16
+ },
17
+ {
18
+ path: '/strength',
19
+ name: '대륜의 강점',
20
+ ename: 'String point'
21
+ },
22
+ {
23
+ path: '/map',
24
+ name: '오시는 길',
25
+ ename: 'Locations'
26
+ },
27
+ {
28
+ path: 'https://www.daeryunlaw.com/integrate?search=&tab=전체',
29
+ name: '통합검색',
30
+ ename: 'Search entire site'
31
+ }
32
+ ]
33
+ },
34
+ {
35
+ path: '/success?page=1',
36
+ name: '업무사례',
37
+ routes: [
38
+ {
39
+ path: '/success?page=1&search=',
40
+ name: '업무사례',
41
+ ename: 'Deals & Cases'
42
+ },
43
+ {
44
+ path: 'https://www.daeryunlaw.com/trend',
45
+ name: '판결분석',
46
+ ename: 'Class action'
47
+ },
48
+ {
49
+ path: '/info',
50
+ name: '법률정보',
51
+ ename: 'LawInfo'
52
+ },
53
+ {
54
+ path: 'https://www.daeryunlaw.com/webtoon',
55
+ name: '만화로 보는 사례',
56
+ ename: 'Cartoon cases'
57
+ },
58
+ {
59
+ path: '/reply',
60
+ name: '고객후기',
61
+ ename: "Client's reviews"
62
+ }
63
+ ]
64
+ },
65
+ {
66
+ path: '/field/area',
67
+ name: '업무분야',
68
+ routes: [
69
+ {
70
+ path: '/field/area',
71
+ name: process.env.NEXT_PUBLIC_GROUPNAME + ' 업무',
72
+ ename: 'Practices'
73
+ },
74
+ {
75
+ path: '/field/areaAll',
76
+ name: '전체',
77
+ ename: 'All'
78
+ }
79
+ ]
80
+ },
81
+ {
82
+ path: '/lawyer?pro=false&page=1&search=',
83
+ name: '구성원 소개',
84
+ routes: [
85
+ {
86
+ path: '/lawyer?pro=false&page=1&search=',
87
+ name: process.env.NEXT_PUBLIC_KEYWORD + '전문변호사',
88
+ ename: 'Attorneys'
89
+ },
90
+ {
91
+ path: '/lawyer?pro=true&page=1&search=',
92
+ name: '특수분야전문가',
93
+ ename: 'Specialists'
94
+ }
95
+ ]
96
+ },
97
+
98
+ {
99
+ path: '/broadcast',
100
+ name: '소식/자료',
101
+ routes: [
102
+ {
103
+ path: 'https://www.daeryunlaw.com/broadcast',
104
+ name: '언론보도',
105
+ ename: 'News'
106
+ },
107
+ {
108
+ path: '/notice',
109
+ name: '공지사항',
110
+ ename: 'Notices'
111
+ },
112
+ {
113
+ path: '/archive',
114
+ name: '법률서식',
115
+ ename: 'Archive'
116
+ },
117
+ {
118
+ path: 'https://career.daeryunlaw.com',
119
+ name: '인재채용',
120
+ ename: 'Career'
121
+ }
122
+ ]
123
+ },
124
+ {
125
+ path: '/youtube?search=&page=1',
126
+ name: 'SNS',
127
+ routes: [
128
+ {
129
+ path: '/youtube?search=&page=1',
130
+ name: '유튜브',
131
+ ename: 'Youtube'
132
+ },
133
+ {
134
+ path: '/blog',
135
+ name: '블로그',
136
+ ename: 'Blog'
137
+ },
138
+ {
139
+ path: '/instagram?page=1',
140
+ name: '인스타그램',
141
+ ename: 'Instagram'
142
+ },
143
+ {
144
+ path: '/kin?page=1',
145
+ name: '법률지식인',
146
+ ename: 'Legal Expert'
147
+ }
148
+ ]
149
+ },
150
+ {
151
+ path: 'https://www.scourt.go.kr/portal/information/events/search/search.jsp',
152
+ name: '나의 사건검색',
153
+ routes: [
154
+ {
155
+ path: 'https://www.scourt.go.kr/portal/information/events/search/search.jsp',
156
+ name: '나의 사건검색',
157
+ ename: 'Find my cases'
158
+ }
159
+ ]
160
+ },
161
+ {
162
+ path: '/choice',
163
+ name: '대륜법률상담예약',
164
+ routes: [
165
+ {
166
+ path: '/choice',
167
+ name: '대륜법률상담예약',
168
+ ename: 'Request a counseling'
169
+ }
170
+ ]
171
+ }
172
+ ];