diff --git a/src/components/PageNotFound.vue b/src/components/PageNotFound.vue
new file mode 100644
index 00000000..882596cd
--- /dev/null
+++ b/src/components/PageNotFound.vue
@@ -0,0 +1,17 @@
+
+
+
+
+
diff --git a/src/components/PreferencesPage.vue b/src/components/PreferencesPage.vue
index 5696f09c..ef693918 100644
--- a/src/components/PreferencesPage.vue
+++ b/src/components/PreferencesPage.vue
@@ -314,7 +314,7 @@
-
+
diff --git a/src/locales/en.json b/src/locales/en.json
index 0615ae2e..ac4e4322 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -96,7 +96,8 @@
"reset_preferences": "Reset preferences",
"confirm_reset_preferences": "Are you sure you want to reset your preferences?",
"backup_preferences": "Backup preferences",
- "restore_preferences": "Restore preferences"
+ "restore_preferences": "Restore preferences",
+ "back_to_home": "Back to home"
},
"comment": {
"pinned_by": "Pinned by",
@@ -141,7 +142,8 @@
"subscriptions": {
"subscribed_channels_count": "Subscribed to: {0}"
},
- "information": {
- "preferences_note": "Note: preferences are saved in the local storage of your browser. Deleting your browser data will reset them."
+ "info": {
+ "preferences_note": "Note: preferences are saved in the local storage of your browser. Deleting your browser data will reset them.",
+ "page_not_found": "Page not found"
}
-}
+}
\ No newline at end of file
diff --git a/src/router/router.js b/src/router/router.js
index 3895f7f7..29bb7c61 100644
--- a/src/router/router.js
+++ b/src/router/router.js
@@ -80,6 +80,11 @@ const routes = [
name: "Playlists",
component: () => import("../components/PlaylistsPage.vue"),
},
+ {
+ path: "/:pathMatch(.*)*",
+ name: "Page Not Found",
+ component: () => import("../components/PageNotFound.vue"),
+ },
];
const router = createRouter({