diff --git a/src/App.vue b/src/App.vue index 1ea507d..1ade66c 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,22 +1,75 @@ - @@ -27,27 +80,36 @@ export default class App extends Vue position: absolute left: 20px height: 100vh - font-size: 1.2em + font-size: 1.4em + flex-direction: column-reverse + + #nav-bookmark + position: absolute + left: -40px + width: 30px + height: 0 + z-index: 0 .router-link - color: #80705c + color: rgba(128, 112, 92, 0.71) text-decoration: none writing-mode: vertical-rl text-orientation: sideways transform: scale(-1) - .router-link.router-link-active span - text-decoration: underline - .router-link:before content: 'ยท' - margin-top: 10px - margin-bottom: 10px + margin: 20px 0 - .router-link:last-child:before - content: none + .router-link + position: relative + z-index: 10 -#nav::before, #nav::after +#nav::after content: " " flex-grow: 1 + +#nav::before + content: " " + height: 180px diff --git a/src/router/index.ts b/src/router/index.ts index 58fb7e0..42b5a06 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -14,10 +14,20 @@ const routes: Array = [ // this generates a separate chunk (about.[hash].js) for this route // which is lazy-loaded when the route is visited. component: () => import(/* webpackChunkName: "about" */ '../views/About.vue') + }, + { + path: '/blog', + name: 'Blog', + component: () => import('../views/About.vue') + }, + { + path: '/projects', + name: 'Projects', + component: () => import('../views/About.vue') } ] -const router = createRouter({ +export const router = createRouter({ history: createWebHashHistory(), routes })