Skip to content

Commit

Permalink
added error page at layout level
Browse files Browse the repository at this point in the history
  • Loading branch information
Riley1101 committed Feb 21, 2024
1 parent cc33e4b commit dec6e75
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions app/(web)/error.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
"use client";

import React from "react";
import Link from "next/link";
import Image from "next/image";

export default function Error({}: {}) {
return (
<div className="pt-24 page-container">
<div>
<Image
src="/images/puglie-pug.gif"
alt="sad pug "
className="mb-8 aspect-square rounded-full border border-theme-accent-opaque"
width={150}
height={150}
/>
<h1 className="text-3xl lg:text-5xl text-theme-primary font-theme font-bold mb-12">
😟 Ops Something went wrong!
</h1>
<Link className="text-theme-accent mx-2" href="/">
Home
</Link>
</div>
</div>
);
}

0 comments on commit dec6e75

Please sign in to comment.