diff --git a/src/App.vue b/src/App.vue index 1ade66c..a81ac1c 100644 --- a/src/App.vue +++ b/src/App.vue @@ -55,6 +55,9 @@ export default class App extends Vue { router.afterEach(() => this.updateBookmark()) this.updateBookmark() + + // Resize listener + window.addEventListener('resize', () => this.calculateBookmarkCss(), true); } calculateBookmarkCss(): void diff --git a/src/router/index.ts b/src/router/index.ts index 42b5a06..a22ff22 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -23,7 +23,7 @@ const routes: Array = [ { path: '/projects', name: 'Projects', - component: () => import('../views/About.vue') + component: () => import('../views/Projects.vue') } ] diff --git a/src/views/Projects.vue b/src/views/Projects.vue new file mode 100644 index 0000000..e9b47fe --- /dev/null +++ b/src/views/Projects.vue @@ -0,0 +1,19 @@ + + + + +