diff --git a/package.json b/package.json index 244deeab..18bbe24a 100644 --- a/package.json +++ b/package.json @@ -41,6 +41,7 @@ "class-variance-authority": "^0.7.0", "clsx": "^2.1.1", "dayjs": "^1.11.13", + "framer-motion": "^11.5.4", "lodash": "^4.17.21", "lucide-react": "^0.426.0", "next": "14.2.5", diff --git a/src/app/[...404]/page.tsx b/src/app/[...404]/page.tsx index dc33722b..42f7b062 100644 --- a/src/app/[...404]/page.tsx +++ b/src/app/[...404]/page.tsx @@ -1,8 +1,12 @@ +'use client'; import React from 'react'; import Link from 'next/link'; import { Poppins } from 'next/font/google'; +import { Home, AlertTriangle } from 'lucide-react'; +import { Button } from '@/components/ui/button'; +import { motion } from 'framer-motion'; -//applying font from google +// Applying font from Google const fontOptions = Poppins({ subsets: ['latin'], variable: '--font-poppins', @@ -11,29 +15,44 @@ const fontOptions = Poppins({ const Custom404Page = () => { return ( - <> -
+ -

- Oops! + + + +

+ 404 - Page Not Found

-

- We couldn’t find the page you’re looking for.
- 404 - PAGE NOT FOUND +

+ We are sorry, but we could not find the page you are looking for.

-

- The page you are looking for was moved, removed, renamed, or might - never have existed. +

+ The page may have been moved, removed, renamed, or might never have + existed.

- - Visit the homepage - -
- + + + + Return to Homepage + + + + + ); };