feat: 404 page
This commit is contained in:
parent
a91b923c88
commit
114a998719
1 changed files with 28 additions and 0 deletions
28
app/routes/$slug.tsx
Normal file
28
app/routes/$slug.tsx
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
export default function NotFound() {
|
||||
return (
|
||||
<div
|
||||
style={{
|
||||
minHeight: "100vh",
|
||||
display: "flex",
|
||||
flexDirection: "column",
|
||||
alignItems: "center",
|
||||
justifyContent: "center",
|
||||
background: "#f8fafc",
|
||||
color: "#1e293b",
|
||||
}}
|
||||
>
|
||||
<h1 style={{ fontSize: "4rem", fontWeight: "bold" }}>404</h1>
|
||||
<p style={{ fontSize: "1.5rem" }}>Page Not Found</p>
|
||||
<a
|
||||
href="/"
|
||||
style={{
|
||||
marginTop: "2rem",
|
||||
color: "#2563eb",
|
||||
textDecoration: "underline",
|
||||
}}
|
||||
>
|
||||
Go back home
|
||||
</a>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue