Skip to content

Commit

Permalink
added not-fpund page
Browse files Browse the repository at this point in the history
  • Loading branch information
Kashyap1ankit committed Nov 16, 2024
1 parent 58fc138 commit 898d484
Showing 1 changed file with 40 additions and 1 deletion.
41 changes: 40 additions & 1 deletion app/not-found.tsx
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&apos;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>
);
}

0 comments on commit 898d484

Please sign in to comment.