forked from FrontendFreaks/Official-Website
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
68c86f6
commit 0e02e61
Showing
8 changed files
with
615 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { notFound } from "next/navigation"; | ||
import { FC } from "react"; | ||
|
||
const page: FC = () => { | ||
notFound(); | ||
}; | ||
|
||
export default page; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
import { Icons } from "@/components/icons"; | ||
import { buttonVariants } from "@/components/ui/button"; | ||
import Image from "next/image"; | ||
import Link from "next/link"; | ||
import React from "react"; | ||
|
||
const PageNotFound = () => { | ||
return ( | ||
<div className="min-h-screen flex-col flex"> | ||
<main className="flex-1 flex justify-center items-center"> | ||
<section className="container gap-4 flex flex-col items-center text-center"> | ||
<Image | ||
src="/error.svg" | ||
width={250} | ||
height={250} | ||
alt="Rocket Crashed" | ||
priority | ||
/> | ||
<h1 className="text-2xl font-bold leading-[1.1] tracking-tighter text-foreground sm:text-3xl md:text-5xl"> | ||
Page not found... | ||
</h1> | ||
<p className="max-w-[42rem] leading-normal text-slate-700 sm:text-lg sm:leading-8 md:text-lg"> | ||
The Page you're searching for does not exist. | ||
</p> | ||
<Link | ||
className={buttonVariants({ | ||
variant: "ghost", | ||
className: "w-fit mt-1 md:mt-2", | ||
})} | ||
href="/" | ||
> | ||
<Icons.chevronLeft className="mr-2 h-4 w-4" /> | ||
Back to home | ||
</Link> | ||
</section> | ||
</main> | ||
</div> | ||
); | ||
}; | ||
|
||
export default PageNotFound; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.