diff --git a/components/app/CoverComponent.vue b/components/app/CoverComponent.vue
index 9d3a45d..14230ed 100644
--- a/components/app/CoverComponent.vue
+++ b/components/app/CoverComponent.vue
@@ -281,10 +281,10 @@ onBeforeUnmount(() => {
+
-
diff --git a/components/layout/TheFooter.vue b/components/layout/TheFooter.vue
index db7a0f0..53c26e0 100644
--- a/components/layout/TheFooter.vue
+++ b/components/layout/TheFooter.vue
@@ -28,7 +28,7 @@ const themeList = computed(() => [
@@ -59,7 +59,7 @@ const themeList = computed(() => [
}
&__copyright {
- @apply text-muted-text text-xs mt-2 md:mt-0;
+ @apply text-xs text-body-txt opacity-80 mt-2 md:mt-0;
}
&__theme-switcher {
diff --git a/error.vue b/error.vue
index 28e66ed..d1a4a77 100644
--- a/error.vue
+++ b/error.vue
@@ -6,17 +6,37 @@ const props = defineProps({
});
const localePath = useLocalePath();
+const { t } = useI18n();
+
+function handleError() {
+ clearError({
+ redirect: localePath({ name: 'index' }),
+ });
+ // localePath({ name: 'index' })
+}
-
{{ error?.statusCode }}
-
{{ error }}
-
- Go back home
-
+
+ {{ t('pages.404.title') }}
+ {{ t('pages.404.sorry') }}
+
+
+ {{ t('pages.error.title') }}
+
+ {{ props.error?.message }}
+
+ {{ t('pages.error.intro') }}.
+ {{ t('pages.error.sorry') }}.
+ {{ props.error }}
+
+
+
+ {{ t('pages.404.goBackHome') }}
+
diff --git a/locales/en.json b/locales/en.json
index 3b525db..b247636 100644
--- a/locales/en.json
+++ b/locales/en.json
@@ -26,6 +26,16 @@
"themeSelector": "Theme selector"
},
"pages": {
+ "404": {
+ "goBackHome": "Go back home",
+ "sorry": "Sorry, that page doesn't exist.",
+ "title": "404!"
+ },
+ "error": {
+ "intro": "It looks like something broke.",
+ "sorry": "Sorry about that 😕",
+ "title": "Dang!"
+ },
"lab": {
"listeningNothing": "Listen to nothing",
"newestFirst": "New first",
diff --git a/locales/fr.json b/locales/fr.json
index 58e7d75..60012e9 100644
--- a/locales/fr.json
+++ b/locales/fr.json
@@ -26,6 +26,16 @@
"themeSelector": "Sélecteur de thème"
},
"pages": {
+ "404": {
+ "goBackHome": "Retour à l'accueil",
+ "sorry": "Désolé, cette page n'existe pas.",
+ "title": "404 !!!"
+ },
+ "error": {
+ "intro": "On dirait que quelque chose s'est cassé.",
+ "sorry": "Désolé 😕",
+ "title": "Oups !!!"
+ },
"lab": {
"listeningNothing": "Écoute rien du tout",
"newestFirst": "Nouveaux en premier",