diff --git a/src/App.vue b/src/App.vue index bb321d4..632320d 100644 --- a/src/App.vue +++ b/src/App.vue @@ -19,6 +19,7 @@ export default { :root { --bg-color: #192236; --bg-alt-color: #151d2f; + --bg-alt-hover-color: #111726; --fg-color: #fff; --padding: 20px; } diff --git a/src/assets/video_thumbnails/JP-Installing-Windows-Project.png b/src/assets/video_thumbnails/JP-Installing-Windows-Project.png new file mode 100644 index 0000000..b984d59 Binary files /dev/null and b/src/assets/video_thumbnails/JP-Installing-Windows-Project.png differ diff --git a/src/data/videos.js b/src/data/videos.js index ab0cab3..86b60e9 100644 --- a/src/data/videos.js +++ b/src/data/videos.js @@ -1,7 +1,9 @@ export default [ { "videoName": "JP Installing Windows Project", + "videoDescription": "This is a guide in japanese where I teach you how to install windows completely. This was made because of a JP Project I had to do.", "videoID": "1", - "path": "videos/JP-Installing-Windows-Project.mp4" + "path": "videos/JP-Installing-Windows-Project.mp4", + "thumbnail": "video_thumbnails/JP-Installing-Windows-Project.png" } ] diff --git a/src/router/index.js b/src/router/index.js index 6b48d1f..c48d193 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -25,15 +25,18 @@ const routes = [ }, { path: '/:pathMatch(.*)', + name: '404', component: notFoundPage }, { path: '/videos', + name: 'video', component: videoView }, { path: '/videos/:id', - component: videosView + name: 'videos', + component: videosView } ] diff --git a/src/views/VideoPage.vue b/src/views/VideoPage.vue index 27727a8..3b6ed2e 100644 --- a/src/views/VideoPage.vue +++ b/src/views/VideoPage.vue @@ -1,16 +1,95 @@ - This page is under construction + Videos + + + + + + {{ video.videoName }} + + + + + + diff --git a/src/views/VideosPage.vue b/src/views/VideosPage.vue index 1ae5988..ac365ba 100644 --- a/src/views/VideosPage.vue +++ b/src/views/VideosPage.vue @@ -1,17 +1,28 @@ - {{ video.videoName }} - - - + + + + + + + + {{ video.videoName }} + {{ video.videoDescription }} + +
{{ video.videoDescription }}