From af6fbd2c772246ad0ad6cd9bbdefc1786489fee1 Mon Sep 17 00:00:00 2001 From: keven1024 Date: Sat, 12 Apr 2025 16:21:42 +0800 Subject: [PATCH] feat(front): add Navbar component and update layout with background image --- front/components/Navbar.vue | 30 ++++++++++++++++++++++++++++++ front/layouts/default.vue | 8 ++++++-- front/package.json | 1 + 3 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 front/components/Navbar.vue diff --git a/front/components/Navbar.vue b/front/components/Navbar.vue new file mode 100644 index 0000000..ec4d1b1 --- /dev/null +++ b/front/components/Navbar.vue @@ -0,0 +1,30 @@ + + + \ No newline at end of file diff --git a/front/layouts/default.vue b/front/layouts/default.vue index 4dff124..26f645a 100644 --- a/front/layouts/default.vue +++ b/front/layouts/default.vue @@ -1,5 +1,9 @@ \ No newline at end of file diff --git a/front/package.json b/front/package.json index d9b0697..8b1c243 100644 --- a/front/package.json +++ b/front/package.json @@ -10,6 +10,7 @@ "postinstall": "nuxt prepare" }, "dependencies": { + "class-variance-authority": "^0.7.1", "nuxt": "^3.16.0", "vue": "latest", "vue-router": "latest"