From e763964c9905dcbb7d4d5c81f3dcf08149c5835f Mon Sep 17 00:00:00 2001 From: Keyemail <67425124+Keyemail@users.noreply.github.com> Date: Thu, 28 Dec 2023 00:36:00 -0800 Subject: [PATCH] added other pages --- src/App.vue | 13 +++++++++++ src/components/NavBar.vue | 48 +++++++++++++++++++++++++++++++++++++++ src/router/index.js | 13 +++++++++++ src/views/GalleryPage.vue | 15 ++++++++++++ src/views/HomePage.vue | 41 --------------------------------- src/views/SocialsPage.vue | 15 ++++++++++++ 6 files changed, 104 insertions(+), 41 deletions(-) create mode 100644 src/components/NavBar.vue create mode 100644 src/views/GalleryPage.vue create mode 100644 src/views/SocialsPage.vue diff --git a/src/App.vue b/src/App.vue index b1c7d35..64710e4 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,8 +1,21 @@ + + \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index 36e7b57..1f662b2 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -1,5 +1,8 @@ import { createRouter, createWebHistory } from 'vue-router' + import homeView from '../views/HomePage.vue' +import galleryView from '../views/GalleryPage.vue' +import socialView from '../views/SocialsPage.vue' const routes = [ { @@ -11,6 +14,16 @@ const routes = [ name: 'home', component: homeView }, + { + path: '/gallery', + name: 'gallery', + component: galleryView + }, + { + path: '/socials', + name: 'socials', + component: socialView + } ] const router = createRouter({ diff --git a/src/views/GalleryPage.vue b/src/views/GalleryPage.vue new file mode 100644 index 0000000..b4e02eb --- /dev/null +++ b/src/views/GalleryPage.vue @@ -0,0 +1,15 @@ + + + \ No newline at end of file diff --git a/src/views/HomePage.vue b/src/views/HomePage.vue index 5ac2b83..92c2e68 100644 --- a/src/views/HomePage.vue +++ b/src/views/HomePage.vue @@ -1,12 +1,4 @@ \ No newline at end of file