
--- client/views/layout/Header.vue
+++ client/views/layout/Header.vue
... | ... | @@ -4,9 +4,6 @@ |
4 | 4 |
<div class="name"> |
5 | 5 |
<p>테이큰소프트 <span>님</span></p> |
6 | 6 |
</div> |
7 |
- <div class="mypage"> |
|
8 |
- <router-link to="/Info.page"><button id="input">마이페이지</button></router-link> |
|
9 |
- </div> |
|
10 | 7 |
<div class="login"> |
11 | 8 |
<i class="fa-solid fa-user fa-lg" style="color: #ffffff;"></i> |
12 | 9 |
<router-link to="/Login.page"><button id="input">로그인</button></router-link> |
--- client/views/layout/Menu copy.vue
... | ... | @@ -1,284 +0,0 @@ |
1 | -<template> | |
2 | - <div class="w1400 header-wrap"> | |
3 | - <div class="logo"> | |
4 | - <router-link to="/"><span>AI 디지털교과서 통합지원센터</span></router-link> | |
5 | - </div> | |
6 | - <header> | |
7 | - <nav> | |
8 | - <ul class="clearfix"> | |
9 | - <li @mouseenter="toggleSubMenu" @mouseleave="toggleSubMenu">통합지원센터 소개 | |
10 | - <ul v-if="showSubMenu"> | |
11 | - <li>통합지원센터란?</li> | |
12 | - <li>협력 기업</li> | |
13 | - </ul> | |
14 | - </li> | |
15 | - <!-- Add more menu items here --> | |
16 | - </ul> | |
17 | - <ul class="clearfix"> | |
18 | - <li @mouseenter="expandHeader" @mouseleave="collapseHeader">자료실 | |
19 | - <ul> | |
20 | - <li>기술문서</li> | |
21 | - <li>자료집</li> | |
22 | - </ul> | |
23 | - </li> | |
24 | - <!-- Add more menu items here --> | |
25 | - </ul> | |
26 | - <ul class="clearfix"> | |
27 | - <li @mouseenter="expandHeader" @mouseleave="collapseHeader">내트워킹 | |
28 | - <ul> | |
29 | - <li>기업 홍보관</li> | |
30 | - </ul> | |
31 | - </li> | |
32 | - <!-- Add more menu items here --> | |
33 | - </ul> | |
34 | - <ul class="clearfix"> | |
35 | - <li @mouseenter="expandHeader" @mouseleave="collapseHeader">커뮤니티 | |
36 | - <ul> | |
37 | - <li>공지사항</li> | |
38 | - <li>홍보/뉴스</li> | |
39 | - </ul> | |
40 | - </li> | |
41 | - <!-- Add more menu items here --> | |
42 | - </ul> | |
43 | - <ul class="clearfix"> | |
44 | - <li @mouseenter="expandHeader" @mouseleave="collapseHeader">마이페이지 | |
45 | - <ul> | |
46 | - <li>내 정보 수정</li> | |
47 | - <li>매칭 관리</li> | |
48 | - </ul> | |
49 | - </li> | |
50 | - <!-- Add more menu items here --> | |
51 | - </ul> | |
52 | - </nav> | |
53 | - </header> | |
54 | - </div> | |
55 | -</template> | |
56 | - | |
57 | -<script> | |
58 | -export default { | |
59 | - data() { | |
60 | - return { | |
61 | - showSubMenu: false, | |
62 | - } | |
63 | - }, | |
64 | - methods: { | |
65 | - toggleSubMenu() { | |
66 | - this.showSubMenu = !this.showSubMenu; | |
67 | - }, | |
68 | - }, | |
69 | - watch: { | |
70 | - | |
71 | - }, | |
72 | - computed: { | |
73 | - | |
74 | - }, | |
75 | - mounted() { | |
76 | - console.log('Menu mounted'); | |
77 | - } | |
78 | -} | |
79 | -</script> | |
80 | - | |
81 | -<style scoped> | |
82 | -.sub-menu { | |
83 | - width: 100%; | |
84 | -} | |
85 | - | |
86 | -header { | |
87 | - display: flex | |
88 | -} | |
89 | - | |
90 | - | |
91 | -/* 폰트 적용 */ | |
92 | -@import url(//fonts.googleapis.com/earlyaccess/notosanskr.css); | |
93 | - | |
94 | -html { | |
95 | - font-family: "Noto Sans KR", sans-serif; | |
96 | -} | |
97 | - | |
98 | -/* 노말라이즈 */ | |
99 | -body, | |
100 | -ul, | |
101 | -li, | |
102 | -h1 { | |
103 | - margin: 0; | |
104 | - padding: 0; | |
105 | - list-style: none; | |
106 | -} | |
107 | - | |
108 | -a { | |
109 | - color: inherit; | |
110 | - text-decoration: none; | |
111 | -} | |
112 | - | |
113 | -/* 라이브러리 */ | |
114 | -.con { | |
115 | - margin: 0 auto; | |
116 | -} | |
117 | - | |
118 | -.img-box>img { | |
119 | - width: 100%; | |
120 | - display: block; | |
121 | -} | |
122 | - | |
123 | -.row::after { | |
124 | - content: ""; | |
125 | - display: block; | |
126 | - clear: both; | |
127 | -} | |
128 | - | |
129 | -.cell { | |
130 | - float: left; | |
131 | - box-sizing: border-box; | |
132 | -} | |
133 | - | |
134 | -.cell-right { | |
135 | - float: right; | |
136 | - box-sizing: border-box; | |
137 | -} | |
138 | - | |
139 | -.margin-0-auto { | |
140 | - margin: 0 auto; | |
141 | -} | |
142 | - | |
143 | -.block { | |
144 | - display: block; | |
145 | -} | |
146 | - | |
147 | -.inline-block { | |
148 | - display: inline-block; | |
149 | -} | |
150 | - | |
151 | -.text-align-center { | |
152 | - text-align: center; | |
153 | -} | |
154 | - | |
155 | -.line-height-0-ch-only { | |
156 | - line-height: 0; | |
157 | -} | |
158 | - | |
159 | -.line-height-0-ch-only>* { | |
160 | - line-height: normal; | |
161 | -} | |
162 | - | |
163 | -.relative { | |
164 | - position: relative; | |
165 | -} | |
166 | - | |
167 | -.absolute-left { | |
168 | - position: absolute; | |
169 | - left: 0; | |
170 | -} | |
171 | - | |
172 | -.absolute-right { | |
173 | - position: absolute; | |
174 | - right: 0; | |
175 | -} | |
176 | - | |
177 | -.absolute-middle { | |
178 | - position: absolute; | |
179 | - top: 50%; | |
180 | - transform: translateY(-50%); | |
181 | -} | |
182 | - | |
183 | -.width-100p { | |
184 | - width: 100%; | |
185 | -} | |
186 | - | |
187 | -.table { | |
188 | - display: table; | |
189 | -} | |
190 | - | |
191 | -.table-cell { | |
192 | - display: table-cell; | |
193 | -} | |
194 | - | |
195 | -.vertical-align-top { | |
196 | - vertical-align: top; | |
197 | -} | |
198 | - | |
199 | -.vertical-align-middle { | |
200 | - vertical-align: middle; | |
201 | -} | |
202 | - | |
203 | -.vertical-align-bottom { | |
204 | - vertical-align: bottom; | |
205 | -} | |
206 | - | |
207 | -/* 커스텀 */ | |
208 | - | |
209 | -.con { | |
210 | - width: 1180px; | |
211 | -} | |
212 | - | |
213 | -.con-min-width { | |
214 | - min-width: 1180px; | |
215 | -} | |
216 | - | |
217 | -/* 반응형 레이아웃 */ | |
218 | -/* | |
219 | -.con { | |
220 | - max-width:1150px; | |
221 | -} | |
222 | - | |
223 | -.con-min-width { | |
224 | - min-width:320px; | |
225 | -} | |
226 | - | |
227 | -html, body { | |
228 | - overflow-x:hidden; | |
229 | -} | |
230 | -*/ | |
231 | - | |
232 | -body { | |
233 | - background: rgb(255, 255, 255); | |
234 | -} | |
235 | - | |
236 | -header { | |
237 | - | |
238 | - /* border: 1px solid red; */ | |
239 | - /* background: -webkit-linear-gradient(rgb(255, 255, 255) 50px, rgb(255, 255, 255) 50px); */ | |
240 | - transition: 0.3s ease-in; | |
241 | - height: 50px; | |
242 | - /* overflow: hidden; */ | |
243 | -} | |
244 | - | |
245 | - | |
246 | -nav { | |
247 | - width: 960px; | |
248 | - margin: 0 auto; | |
249 | - display: flex; | |
250 | - justify-content: flex-end; | |
251 | -} | |
252 | - | |
253 | -nav>ul>li { | |
254 | - display: inline-block; | |
255 | - /* float: lef/t; */ | |
256 | - right: 0; | |
257 | - | |
258 | - line-height: 50px; | |
259 | - margin-left: 40px; | |
260 | - font-size: 1.4rem; | |
261 | - /* position: relative; */ | |
262 | - font-family: "Pretendard-Regular"; | |
263 | - | |
264 | -} | |
265 | - | |
266 | -nav>ul>li ul { | |
267 | - width: 100%; | |
268 | - opacity: 0; | |
269 | - position: absolute; | |
270 | - transition: 0.3s 0.2s; | |
271 | -} | |
272 | - | |
273 | -nav>ul>li ul li { | |
274 | - white-space: nowrap; | |
275 | -} | |
276 | - | |
277 | -nav>ul>li:hover ul { | |
278 | - opacity: 1; | |
279 | - transition: 0.3s 0.2s; | |
280 | - z-index: 1; | |
281 | - background-color: white; | |
282 | - | |
283 | -} | |
284 | -</style>(No newline at end of file) |
--- client/views/layout/Menu.vue
+++ client/views/layout/Menu.vue
... | ... | @@ -55,14 +55,6 @@ |
55 | 55 |
isOpened: false, |
56 | 56 |
menuItems: [ |
57 | 57 |
{ |
58 |
- text: "통합지원센터 소개", |
|
59 |
- link: "/Introduction.page", |
|
60 |
- subMenu: [ |
|
61 |
- { text: "통합지원센터란?", link: "/Introduction.page" }, |
|
62 |
- { text: "협력 기업", link: "" } |
|
63 |
- ] |
|
64 |
- }, |
|
65 |
- { |
|
66 | 58 |
text: "자료실", |
67 | 59 |
link: "/Technology.page", |
68 | 60 |
isHovered: false, |
... | ... | @@ -87,18 +79,26 @@ |
87 | 79 |
subMenu: [ |
88 | 80 |
{ text: "공지사항", link: "/Notice.page" }, |
89 | 81 |
{ text: "홍보/뉴스", link: "/News.page" }, |
90 |
- { text: "WG 커뮤니티", link: "" } |
|
82 |
+ { text: "전문가 협의체", link: "" } |
|
91 | 83 |
] |
92 | 84 |
}, |
93 |
- // { |
|
94 |
- // text: "마이페이지", |
|
95 |
- // link: "/Info.page", |
|
96 |
- // isHovered: false, |
|
97 |
- // subMenu: [ |
|
98 |
- // { text: "내 정보 수정", link: "/Info.page" }, |
|
99 |
- // { text: "매칭 관리", link: "" } |
|
100 |
- // ] |
|
101 |
- // } |
|
85 |
+ { |
|
86 |
+ text: "통합지원센터 소개", |
|
87 |
+ link: "/Introduction.page", |
|
88 |
+ subMenu: [ |
|
89 |
+ { text: "통합지원센터란?", link: "/Introduction.page" }, |
|
90 |
+ // { text: "협력 기업", link: "" } |
|
91 |
+ ] |
|
92 |
+ }, |
|
93 |
+ { |
|
94 |
+ text: "마이페이지", |
|
95 |
+ link: "/Info.page", |
|
96 |
+ isHovered: false, |
|
97 |
+ subMenu: [ |
|
98 |
+ { text: "내 정보 수정", link: "/Info.page" }, |
|
99 |
+ { text: "매칭 관리", link: "" } |
|
100 |
+ ] |
|
101 |
+ } |
|
102 | 102 |
] |
103 | 103 |
}; |
104 | 104 |
}, |
--- client/views/layout/Menusub.vue
... | ... | @@ -1,44 +0,0 @@ |
1 | -<template> | |
2 | - <div class="w1400 header-sub-wrap"> | |
3 | - <div> | |
4 | - <div class="sub-sub-menu"> | |
5 | - <ul> | |
6 | - <li><router-link to="/"> <span>통합지원센터 소개</span></router-link></li> | |
7 | - <li><router-link to="/"> <span>자료실</span></router-link></li> | |
8 | - <li><router-link to="/"> <span>네트워킹</span></router-link></li> | |
9 | - <li><router-link to="/"> <span>커뮤니티</span></router-link></li> | |
10 | - <li><router-link to="/main2"> <span>마이페이지</span></router-link></li> | |
11 | - </ul> | |
12 | - </div> | |
13 | - | |
14 | - </div> | |
15 | - | |
16 | - </div> | |
17 | -</template> | |
18 | - | |
19 | -<script> | |
20 | -export default { | |
21 | - data() { | |
22 | - return { | |
23 | - } | |
24 | - }, | |
25 | - methods: { | |
26 | - | |
27 | - }, | |
28 | - watch: { | |
29 | - | |
30 | - }, | |
31 | - computed: { | |
32 | - | |
33 | - }, | |
34 | - mounted() { | |
35 | - console.log('Menu mounted'); | |
36 | - } | |
37 | -} | |
38 | -</script> | |
39 | - | |
40 | -<style scoped> | |
41 | -.sub-menu { | |
42 | - width: 100%; | |
43 | -} | |
44 | -</style>(No newline at end of file) |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?