-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patherror.vue
35 lines (30 loc) · 886 Bytes
/
error.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<template>
<NuxtLayout>
<div class="flex flex-col justify-between gap-4">
<PageHeader text="Page Not Found" v-if="error.statusCode == '404'" />
<PageHeader text="An Error Occurred" v-else />
<p class="text-xl tablet:text-3xl desktop:text-4xl">Sorry about that ☹</p>
<p class="text-base tablet:text-2xl desktop:text-3xl">
You can use the navigation menu to find your way back!
</p>
</div>
<img
:src="`/icons/${themeStore.theme}Favicon.svg`"
alt=""
class="mx-auto my-8 opacity-50 forced-colors:opacity-100 h-64 tablet:h-72 desktop:h-80"
/>
</NuxtLayout>
</template>
<script setup>
import { useThemeStore } from '@/stores/theme';
const themeStore = useThemeStore();
defineProps({
error: Object,
});
definePageMeta({
layout: 'error',
});
useHead({
title: 'Page Not Found | Lucas Steer',
});
</script>