Skip to content

Commit c67ca1c

Browse files
committed
fix: status code overlapping buttons in error page
1 parent 61ac93c commit c67ca1c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

error.vue

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ const handleError = () => reloadNuxtApp({ path: '/' })
1212
<div class="min-h-screen flex items-center px-4 py-12 lg:px-12 md:px-8 sm:px-6 xl:px-16">
1313
<div class="w-full grid">
1414
<div class="col-start-1 row-start-1 w-full flex h-full items-center justify-center">
15-
<div class="text-9xl text-foreground font-bold tracking-tighter opacity-10">
15+
<div class="z-10 select-none text-9xl text-foreground font-bold tracking-tighter opacity-10">
1616
{{ props.error?.statusCode }}
1717
</div>
1818
</div>
19-
<div class="col-start-1 row-start-1 w-full text-center space-y-6">
19+
<div class="z-20 col-start-1 row-start-1 w-full text-center space-y-6">
2020
<div class="space-y-3">
2121
<h1 class="text-4xl font-bold tracking-tighter sm:text-5xl">
2222
Oops! Lost in Cyberspace
@@ -30,13 +30,13 @@ const handleError = () => reloadNuxtApp({ path: '/' })
3030
<Button
3131
@click="handleError"
3232
>
33-
Return to website
33+
Return to Homepage
3434
</Button>
35-
<Button as-child variant="outline">
36-
<NuxtLink to="https://github.com/Computerization/Enspire/issues">
35+
<NuxtLink to="https://github.com/Computerization/Enspire/issues" external>
36+
<Button variant="outline">
3737
View Ongoing Issues
38-
</NuxtLink>
39-
</Button>
38+
</Button>
39+
</NuxtLink>
4040
</div>
4141
</div>
4242
</div>

0 commit comments

Comments
 (0)