@daeryun/dr_components 0.1.92 → 0.1.95

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 (55) 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/components/Header/Header.d.ts +4 -0
  6. package/dist/components/Header/Header.jsx +189 -0
  7. package/dist/components/Header/Header.stories.d.ts +8 -0
  8. package/dist/components/Header/Header.stories.jsx +200 -0
  9. package/dist/components/Header/Header.stories.tsx +209 -0
  10. package/dist/components/Header/Header.tsx +281 -0
  11. package/dist/components/Header/Menu.d.ts +4 -0
  12. package/dist/components/Header/Menu.jsx +10 -0
  13. package/dist/components/Header/Menu.tsx +29 -0
  14. package/dist/components/Header/MobileMenu.d.ts +4 -0
  15. package/dist/components/Header/MobileMenu.jsx +209 -0
  16. package/dist/components/Header/MobileMenu.tsx +370 -0
  17. package/dist/components/Header/PCMenu.d.ts +4 -0
  18. package/dist/components/Header/PCMenu.jsx +130 -0
  19. package/dist/components/Header/PCMenu.tsx +243 -0
  20. package/dist/components/Header/main.module.css +150 -0
  21. package/dist/components/MapFix/AreaImage.jsx +10 -9
  22. package/dist/components/MapFix/AreaImage.tsx +21 -26
  23. package/dist/components/MapSection/MapSection.stories.jsx +16 -0
  24. package/dist/components/MapSection/MapSection.stories.tsx +34 -0
  25. package/dist/components/categoryView/CategoryView.jsx +1 -1
  26. package/dist/components/categoryView/CategoryView.tsx +1 -3
  27. package/dist/components/hook/useBrowser.d.ts +5 -0
  28. package/dist/components/hook/useBrowser.js +51 -0
  29. package/dist/components/hook/useBrowser.ts +58 -0
  30. package/dist/components/hook/useCountNum.d.ts +4 -0
  31. package/dist/components/hook/useCountNum.jsx +23 -0
  32. package/dist/components/hook/useCountNum.tsx +28 -0
  33. package/dist/components/hook/useElementObserve.d.ts +7 -0
  34. package/dist/components/hook/useElementObserve.js +39 -0
  35. package/dist/components/hook/useElementObserve.ts +46 -0
  36. package/dist/components/hook/useScrollRestoration.d.ts +5 -0
  37. package/dist/components/hook/useScrollRestoration.js +61 -0
  38. package/dist/components/hook/useScrollRestoration.ts +80 -0
  39. package/dist/components/hook/useScrollRestorationException.d.ts +2 -0
  40. package/dist/components/hook/useScrollRestorationException.js +24 -0
  41. package/dist/components/hook/useScrollRestorationException.ts +30 -0
  42. package/dist/components/index.js +1 -0
  43. package/dist/components/index.ts +1 -0
  44. package/dist/components/myCase/MyCase.d.ts +5 -0
  45. package/dist/components/myCase/MyCase.jsx +26 -0
  46. package/dist/components/myCase/MyCase.tsx +47 -0
  47. package/dist/components/routes/gnb.d.ts +11 -0
  48. package/dist/components/routes/gnb.jsx +165 -0
  49. package/dist/components/routes/gnb.tsx +172 -0
  50. package/dist/styles/globals.css +324 -0
  51. package/dist/tsconfig.tsbuildinfo +1 -1
  52. package/dist/types/header.d.ts +53 -0
  53. package/dist/types/header.js +1 -0
  54. package/dist/types/header.ts +55 -0
  55. package/package.json +1 -1
@@ -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
+ ];