-
Notifications
You must be signed in to change notification settings - Fork 0
/
error.vue
30 lines (30 loc) · 1.01 KB
/
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
<template>
<body class="flex min-h-screen flex-col bg-background font-display">
<Header />
<main class="mt-4 flex-1">
<div class="flex justify-center">
<HeadlessTransitionRoot
show
appear
as="template"
enter="transition transform duration-300 ease-out"
enter-from="translate-x-8 opacity-0"
enter-to="translate-x-0 opacity-100"
leave="transition transform duration-300 ease-in"
leave-from="opacity-100"
leave-to="-translate-x-8 opacity-0"
>
<div class="rounded-xl bg-black/50 p-6 text-center shadow-lg">
<div class="text-6xl font-extrabold tracking-widest text-white">
Yikes!
</div>
<div class="text-base text-gray-200">
Either the page you're looking for doesn't exist, or something has
gone terribly wrong.
</div>
</div>
</HeadlessTransitionRoot>
</div>
</main>
</body>
</template>