Skip to content

Commit

Permalink
Merge commit '34ca03bb828d057fb6011abe0dfde939d572e251'
Browse files Browse the repository at this point in the history
  • Loading branch information
zhz8951 committed Sep 16, 2024
2 parents 58dd0fb + 34ca03b commit b4c28f3
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/pages/404.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
import MainGridLayout from '@layouts/MainGridLayout.astro'
import { url } from '@utils/url-utils'
import { Icon } from 'astro-icon/components'
import Layout from "../layouts/Layout.astro";
---

<Layout title="Not found">
<div class="rounded-[var(--radius-large)] overflow-hidden relative w-[40rem] h-[20rem] m-auto">
<div class="card-base z-10 px-9 py-6 relative w-full text-black/75 dark:text-white/75">
<div class="flex items-center gap-4">
<h1 class="text-[5rem] font-bold">404</h1>
<p class="text-[2rem]">Not found</p>
</div>
<a href={url("/")} class:list={["font-bold overflow-hidden active:scale-95"]}>
<div class="btn-plain transition max-w-fit rounded-2xl h-[3.75rem] px-4 flex items-center justify-start gap-2">
Return to top page
<Icon name="material-symbols:chevron-right-rounded" class="text-[1.75rem]" />
</div>
</a>
</div>
</div>
</Layout>

0 comments on commit b4c28f3

Please sign in to comment.