diff --git a/src/assets/videos/JP-Installing-Windows-Project.mp4 b/src/assets/videos/JP-Installing-Windows-Project.mp4 new file mode 100644 index 0000000..321761e Binary files /dev/null and b/src/assets/videos/JP-Installing-Windows-Project.mp4 differ diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue index dc3b7e0..2989b70 100644 --- a/src/components/NavBar.vue +++ b/src/components/NavBar.vue @@ -11,6 +11,9 @@
  • Socials
  • +
  • + Videos +
  • Git
  • @@ -31,6 +34,9 @@
  • Socials
  • +
  • + Videos +
  • Git
  • diff --git a/src/data/projects.js b/src/data/projects.js deleted file mode 100644 index 7d7db24..0000000 --- a/src/data/projects.js +++ /dev/null @@ -1,8 +0,0 @@ -export default [ - { - "name": "Weather App", - "description": "A cool weather app I decided to build for computer science class! This was coded by me, all images and data belong to code.org.", - "photo": "project_thumbnails/weather.png", - "id": "1" - } -] diff --git a/src/data/videos.js b/src/data/videos.js new file mode 100644 index 0000000..ab0cab3 --- /dev/null +++ b/src/data/videos.js @@ -0,0 +1,7 @@ +export default [ + { + "videoName": "JP Installing Windows Project", + "videoID": "1", + "path": "videos/JP-Installing-Windows-Project.mp4" + } +] diff --git a/src/router/index.js b/src/router/index.js index 0a2d197..6b48d1f 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -4,6 +4,8 @@ import homeView from '../views/HomePage.vue' import galleryView from '../views/GalleryPage.vue' import socialView from '../views/SocialsPage.vue' import notFoundPage from '../views/404Page.vue' +import videoView from '../views/VideoPage.vue' +import videosView from '../views/VideosPage.vue' const routes = [ { @@ -24,6 +26,14 @@ const routes = [ { path: '/:pathMatch(.*)', component: notFoundPage + }, + { + path: '/videos', + component: videoView + }, + { + path: '/videos/:id', + component: videosView } ] diff --git a/src/views/VideoPage.vue b/src/views/VideoPage.vue new file mode 100644 index 0000000..27727a8 --- /dev/null +++ b/src/views/VideoPage.vue @@ -0,0 +1,16 @@ + + + diff --git a/src/views/VideosPage.vue b/src/views/VideosPage.vue new file mode 100644 index 0000000..1ae5988 --- /dev/null +++ b/src/views/VideosPage.vue @@ -0,0 +1,38 @@ + + + + +