Skip to content

Commit 915579c

Browse files
committed
chore: tweak 404 page
1 parent 7972e5e commit 915579c

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

apps/web/src/pages/404.astro

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
import Container from "@/components/Container.astro";
3+
import ButtonComponent from "@/components/ui/Button.astro";
34
import Layout from "@/layouts/Layout.astro";
45
import { SITE } from "@/lib/constants/site";
56
---
@@ -15,10 +16,7 @@
1516
<h1 class="text-5xl font-bold">404</h1>
1617
<p class="mt-2 text-2xl mb-6">Page not found</p>
1718

18-
<a
19-
href="/"
20-
class="bg-primary text-primary-foreground rounded flex items-center gap-2 py-2 px-4 text-sm hover:ring-offset-2 hover:ring-primary hover:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary focus-visible:ring-2 transition-all duration-300 ease-out"
21-
>
19+
<ButtonComponent href="/" class="gap-2">
2220
<svg
2321
xmlns="http://www.w3.org/2000/svg"
2422
width="16"
@@ -29,13 +27,13 @@
2927
stroke-width="2"
3028
stroke-linecap="round"
3129
stroke-linejoin="round"
32-
class="mr-2 shrink-0"
30+
class="shrink-0"
3331
>
3432
<path d="M3 7v6h6"></path>
3533
<path d="M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6 2.3L3 13"></path>
3634
</svg>
3735
Go back home
38-
</a>
36+
</ButtonComponent>
3937
</Container>
4038
</div>
4139
</Layout>

0 commit comments

Comments
 (0)