-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherror.vue
More file actions
63 lines (61 loc) · 1.7 KB
/
Copy patherror.vue
File metadata and controls
63 lines (61 loc) · 1.7 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<script setup>
const props = defineProps({
error: {
type: Object,
required: true,
},
});
useHead({
title: "SharaMusic | Partage tes musiques préférées",
link: [
{
rel: "icon",
href: "/favicon.svg",
type: "image/svg+xml",
},
],
meta: [
{
name: "description",
content:
"Partage tes musiques préférées avec SharaMusic grace au générateur de contenu",
},
],
bodyAttrs: {
class: "bg-zinc-900",
},
});
</script>
<template>
<header class="bg-zinc-900 mx-auto">
<div class="container px-4 mx-auto text-white">
<div class="flex items-center justify-between pt-4">
<NuxtLink to="/" class="font-bold text-2xl">
<h1>SharaMusic</h1>
</NuxtLink>
</div>
</div>
</header>
<main class="bg-zinc-900">
<div class="mx-auto">
<div class="flex flex-col gap-4">
<div
class="flex flex-col items-center justify-center h-full mt-12"
>
<h1 class="text-4xl font-bold text-zinc-50">
{{ error.statusCode }}
</h1>
<p class="text-zinc-50">
{{ error.message }}
</p>
<NuxtLink
to="/"
class="bg-zinc-700/30 text-white rounded-md px-4 py-2 mt-8"
>
Faire une recherche
</NuxtLink>
</div>
</div>
</div>
</main>
</template>