-
Notifications
You must be signed in to change notification settings - Fork 2
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
58fc138
commit 898d484
Showing
1 changed file
with
40 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,42 @@ | ||
"use client"; | ||
import { Button } from "@/components/ui/button"; | ||
import { fraunces } from "@/utils/fonts/font"; | ||
import { motion } from "framer-motion"; | ||
import { Settings } from "lucide-react"; | ||
import Link from "next/link"; | ||
import { IoWarning } from "react-icons/io5"; | ||
|
||
export default function NotFound() { | ||
return <div>Sorry, No Page Found</div>; | ||
return ( | ||
<div className="flex flex-col gap-4 justify-center items-center w-full h-screen bg-primaryBg"> | ||
<motion.div | ||
className="flex items-center " | ||
animate={{ | ||
y: [-200, 0], | ||
}} | ||
transition={{ | ||
duration: 0.3, | ||
}} | ||
> | ||
<span className="text-blue-500 font-bold text-9xl">4</span> | ||
<span> | ||
<Settings className="text-gray-400 size-20 animate-spin delay-600" /> | ||
</span> | ||
<span className="text-blue-500 font-bold text-9xl">4</span> | ||
</motion.div> | ||
<div className="flex items-center"> | ||
<IoWarning className="size-6 fill-yellow-500" /> | ||
<p className="text-gray-400">This Page Doesn't Exist </p> | ||
</div> | ||
|
||
<Link href={"/"}> | ||
<Button | ||
className={`${fraunces.className} bg-gradient-to-r from-primarySkyBlue to-secondarySkyBlue hover:bg-gradient-to-r hover:to-primarySkyBlue hover:from-secondarySkyBlue`} | ||
aria-label="go-back" | ||
> | ||
Go To Homepage | ||
</Button> | ||
</Link> | ||
</div> | ||
); | ||
} |