diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 4e84ecd..e048a68 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -6,33 +6,52 @@ import Navbar from "@/components/ui/Navbar"; import Footer from "@/components/ui/Footer"; // import { SpeedInsights } from '@vercel/speed-insights/next'; -const customFont = localFont( - { - src: "../font/customFont.otf", - variable: "--myCustomFont", - } -) +const customFont = localFont({ + src: "../font/customFont.otf", + variable: "--myCustomFont", +}); export const metadata: Metadata = { - title: "Uttarakhand Culture", - description: "Our aim is to ensure that this invaluable heritage is passed down to future generations.", + title: "Uttarakhand Culture", + description: "Our aim is to ensure that this invaluable heritage is passed down to future generations.", + keywords: "Uttarakhand, culture, heritage, festivals, traditions, digital preservation", + openGraph: { + title: "Uttarakhand Culture", + description: "Explore the rich cultural heritage of Uttarakhand.", + url: "https://uttarakhand-culture.vercel.app", + siteName: "Uttarakhand Culture", + images: [ + { + url: "https://uttarakhand-culture.vercel.app/_next/image?url=%2F_next%2Fstatic%2Fmedia%2FheroMapImage.fc8fad10.webp&w=828&q=75", + width: 800, + height: 600, + alt: "Cultural Heritage of Uttarakhand", + }, + ], + locale: "en_US", + type: "website", + }, + robots: { + index: true, + follow: true, + }, }; export default function RootLayout({ - children, + children, }: Readonly<{ - children: React.ReactNode; + children: React.ReactNode; }>) { - return ( - - -
- - {children} - {/**/} -
- - - ); + return ( + + +
+ + {children} + {/**/} +
+ + + ); } diff --git a/src/app/not-found.tsx b/src/app/not-found.tsx new file mode 100644 index 0000000..8db5808 --- /dev/null +++ b/src/app/not-found.tsx @@ -0,0 +1,69 @@ +import Link from 'next/link'; + +const Custom404 = () => { + return ( +
+

+ 404 +

+

+ Page Not Found +

+

+ Sorry, the page you are looking for does not exist. Please check the URL or return to the home page. +

+ + Go back to Home + +

+ Or you can try searching for what you need. +

+
+ ); +}; + +export default Custom404; diff --git a/src/app/page.tsx b/src/app/page.tsx index 0c5e5e9..df5e9db 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -148,4 +148,4 @@ export default function Home() { ); -} +} \ No newline at end of file diff --git a/src/app/working-error.tsx b/src/app/working-error.tsx new file mode 100644 index 0000000..e13f34f --- /dev/null +++ b/src/app/working-error.tsx @@ -0,0 +1,69 @@ +import Link from 'next/link'; + +const Custom404 = () => { + return ( +
+

+ Sorry! +

+

+ Page Under Construction +

+

+ Sorry, this page is currently under construction. We’re working hard to get it ready for you. +

+ + Go back to Home + +

+ Or you can try searching for what you need. +

+
+ ); +}; + +export default Custom404;