Skip to content

Commit 6a4d91d

Browse files
committed
Work in progress pages + header fixes
1 parent b22d11d commit 6a4d91d

File tree

5 files changed

+39
-14
lines changed

5 files changed

+39
-14
lines changed

public/Home.vue

Whitespace-only changes.

public/assets/wip.gif

20.4 KB
Loading

src/WorkInProgress.vue

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<template>
2+
<div class="container">
3+
<img src="/assets/wip.gif" alt="Work in progress">
4+
</div>
5+
</template>
6+
7+
<script>
8+
export default {
9+
name: "WorkInProgress"
10+
}
11+
</script>
12+
13+
<style scoped>
14+
.container {
15+
display: flex;
16+
justify-content: center;
17+
align-items: center;
18+
padding: 4rem;
19+
}
20+
21+
.container img {
22+
width: 50%;
23+
max-width: 480px;
24+
}
25+
</style>

src/components/HeaderLogIn.vue

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,14 @@ export default {
8080
margin: 0;
8181
justify-content: center;
8282
align-items: center;
83-
margin-left: 0px;
8483
}
8584
8685
.nav-links .link {
8786
margin-left: 40px;
8887
}
8988
9089
.nav-links ul li:first-child .link {
91-
margin-left: 0px;
90+
margin-left: 0;
9291
}
9392
9493
a:hover {
@@ -113,26 +112,24 @@ a:hover {
113112
flex-direction: column;
114113
}
115114
116-
.logo,
115+
.logo {
116+
align-items: start;
117+
}
118+
119+
.name {
120+
margin-top: 80px;
121+
}
122+
117123
.link,
118124
.nav-links {
119125
width: 100%;
120126
justify-content: center;
121127
}
122128
123-
.logo {
124-
order: -1;
125-
margin-bottom: 30px;
126-
}
127-
128129
.nav-links ul {
129130
justify-content: center;
130131
}
131132
132-
.logo {
133-
margin-bottom: 30px;
134-
}
135-
136133
.link {
137134
display: inline-block;
138135
margin-bottom: 20px;
@@ -146,7 +143,7 @@ a:hover {
146143
align-items: center;
147144
}
148145
149-
.nav-links ul li a {
146+
.nav-links .link {
150147
margin: 5px 0;
151148
}
152149
}

src/main.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
import Vue from "vue";
22
import VueRouter from "vue-router";
3+
import Axios from "axios";
34
import App from "./App.vue";
45
import LogIn from "./components/LogIn";
56
import Dashboard from "./Dashboard";
67
import Notes from "./Notes";
78
import Register from "./Register";
89
import Landing from "./Landing";
9-
import Axios from "axios";
10+
import WorkInProgress from "@/WorkInProgress";
1011

1112
Vue.config.productionTip = false;
1213

@@ -29,6 +30,8 @@ const routes = [
2930
{ path: "/dashboard", component: Dashboard, beforeEnter: loginGuard },
3031
{ path: "/notes/:id", component: Notes, beforeEnter: loginGuard },
3132
{ path: "/new-notes", component: Notes, beforeEnter: loginGuard },
33+
{ path: "/settings", component: WorkInProgress, beforeEnter: loginGuard },
34+
{ path: "/help", component: WorkInProgress, beforeEnter: loginGuard },
3235
{ path: "*", component: Landing }
3336
];
3437

0 commit comments

Comments
 (0)