From 5da97f5987ae375042d3370be9078ce4dcc634af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=99=E2=97=A6=20The=20Tablet=20=E2=9D=80=20GamerGirla?= =?UTF-8?q?ndCo=20=E2=97=A6=E2=9D=A7?= Date: Sat, 16 Mar 2024 20:51:27 -0400 Subject: [PATCH] refactor(components): update navbar and sidebar wrap `new story` button with a nuxt-link --- components/layouts/navbar.vue | 14 ++++++++------ components/layouts/sidebar.vue | 1 - 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/components/layouts/navbar.vue b/components/layouts/navbar.vue index 80badb8..a4df6c8 100644 --- a/components/layouts/navbar.vue +++ b/components/layouts/navbar.vue @@ -61,12 +61,14 @@ Logout
- - - - Post a New Story - + + + + + Post a New Story + +
Login diff --git a/components/layouts/sidebar.vue b/components/layouts/sidebar.vue index 413888f..161bef6 100644 --- a/components/layouts/sidebar.vue +++ b/components/layouts/sidebar.vue @@ -3,7 +3,6 @@ import { ItemType, theme } from "ant-design-vue"; import Icon from "../icon.vue"; import { ISidebarItem } from "@models/sidebarEntry"; - import { NuxtLink } from "#components"; const { useToken } = theme; const { token } = useToken();