From 710dfbc3c25dd6e9e064552fbe031308e4ff8293 Mon Sep 17 00:00:00 2001 From: Shivam <143623476+myselfshivams@users.noreply.github.com> Date: Wed, 2 Oct 2024 11:45:26 +0530 Subject: [PATCH 1/3] added:: Custom 404 Notfound Page --- src/app/not-found.tsx | 72 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 src/app/not-found.tsx diff --git a/src/app/not-found.tsx b/src/app/not-found.tsx new file mode 100644 index 0000000..f6acc31 --- /dev/null +++ b/src/app/not-found.tsx @@ -0,0 +1,72 @@ +import Link from 'next/link'; + +const Custom404 = () => { + return ( +
+

+ 404 +

+

+ 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; From d2eb625bbedd1662cff16ad4291ff5eac2b9928a Mon Sep 17 00:00:00 2001 From: Shivam <143623476+myselfshivams@users.noreply.github.com> Date: Wed, 2 Oct 2024 11:56:39 +0530 Subject: [PATCH 2/3] added:: Meta tags for SEO --- src/app/layout.tsx | 63 ++++++++++++------- src/app/page.tsx | 149 +++++++++++++++++++++++++-------------------- 2 files changed, 124 insertions(+), 88 deletions(-) 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/page.tsx b/src/app/page.tsx index 0c5e5e9..fabb40c 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,151 +1,168 @@ import Image from "next/image"; import styles from "./page.module.css"; import Link from "next/link"; -import HeroMap from "/public/heroMapImage.webp" -import Srinagar from "/public/Srinagar.webp" -import GoriGanga from "/public/goriGanga.webp" +import HeroMap from "/public/heroMapImage.webp"; +import Srinagar from "/public/Srinagar.webp"; +import GoriGanga from "/public/goriGanga.webp"; import SectionCard from "@/components/ui/SectionCard"; import GheeSankranti from "/public/Ghee_Sankranti.jpeg"; import Bagwal from "/public/bagwal.jpg"; import Nanda_Sunanda from "/public/Nanda-Sunanda.webp"; -import Notify_Banner from "/public/notify-early-banner.jpg" -import PahadiWomen from "/public/bhotiaWoman.webp" +import Notify_Banner from "/public/notify-early-banner.jpg"; +import PahadiWomen from "/public/bhotiaWoman.webp"; import Screen from "@/components/Screen"; export default function Home() { - return ( <>
- {/* Header Images */}
- {"Image + {"Image
- {"Image + {"Image
- {"Image + {"Image
-

We love Uttarakhand and the people

+

+ We love Uttarakhand and the people +

who preserve it.

EXPERIENCE THE SOUL OF UTTARAKHAND

- Start Your Journey + + Start Your Journey +
-
- {/**/} - -
- -
- TREKKING -

A Painting of a Rope bridge across Alaknanda - River, - Srinagar, in the times of Garhwal Kingdom, 1784-94. Photo Src: British Library

+ TREKKING +

+ A Painting of a Rope bridge across Alaknanda River, Srinagar, in the times of Garhwal Kingdom, 1784-94. Photo Src: British Library +

WHY WE BUILD IT

-

A concerning trend is emerging in - Uttarakhand, where the younger generation is gradually +

+ A concerning trend is emerging in Uttarakhand, where the younger generation is gradually forgetting their cultural heritage and traditional rituals. This decline in cultural knowledge is evident across generations, with each successive generation possessing less - knowledge than the previous one. For instance, the amount of cultural knowledge possessed by - grandparents is significantly more than that of their children, and the cultural knowledge - of today's youth is likely to be even less than that of their parents. If this trend - continues, there is a risk that the cultural heritage of Uttarakhand may eventually - disappear from the society. This loss would not only erase the region's rich cultural - identity but also deprive future generations of their cultural roots and traditions.

+ knowledge than the previous one... +

-

Explore, Learn and Discover the Beauty of Uttarakhand's Culture

- +

Explore, Learn and Discover the Beauty of Uttarakhand's Culture

-
-

EXPLORE UTTARAKAHND

-

To address this problem, we have - come up with a solution to digitize this cultural - knowledge. Since today's generation is more comfortable with technology, we aim to - provide a platform where they can learn about their cultural heritage using their - devices, from anywhere in the world. By doing so, we hope to make cultural knowledge - more accessible and engaging for the younger generation, and thus help preserve the rich - cultural heritage of Uttarakhand.

+

EXPLORE UTTARAKAND

+

+ To address this problem, we have come up with a solution to digitize this cultural knowledge... +

Start Your Journey
-
- TREKKING -

Water-colour painting of the River Gori - in Uttar Pradesh by James Manson (1791-1862), c.1826.

+ TREKKING +

+ Water-colour painting of the River Gori in Uttar Pradesh by James Manson (1791-1862), c.1826. +

-
- {/* UPCOMING FESTIVAL */} - {/* UPCOMING FAIR */} -
- {"notify-early-banner-image"} + {"notify-early-banner-image"}
-

GET NOTIFIED EARLY

-

Get Upcoming - Uttarakhand Festival & Fair Alerts!

+

+ GET NOTIFIED EARLY +

+

+ Get Upcoming Uttarakhand Festival & Fair Alerts! +

Sign up Today!

-
- - ); } From 6bdc89997a305909b7c38e898a6528a26b4b65d3 Mon Sep 17 00:00:00 2001 From: Shivam <143623476+myselfshivams@users.noreply.github.com> Date: Wed, 2 Oct 2024 12:03:36 +0530 Subject: [PATCH 3/3] fixed:: 404 page removed border rand box shadow and added:: working-error.tsx --- src/app/not-found.tsx | 7 ++-- src/app/working-error.tsx | 69 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+), 5 deletions(-) create mode 100644 src/app/working-error.tsx diff --git a/src/app/not-found.tsx b/src/app/not-found.tsx index f6acc31..8db5808 100644 --- a/src/app/not-found.tsx +++ b/src/app/not-found.tsx @@ -14,8 +14,6 @@ const Custom404 = () => { textAlign: 'center', padding: '40px', boxSizing: 'border-box', - border: '2px solid rgba(0, 0, 0, 0.2)', - boxShadow: '0 4px 20px rgba(0, 0, 0, 0.1)', borderRadius: '10px', backdropFilter: 'blur(10px)', width: '90%', @@ -35,7 +33,7 @@ const Custom404 = () => { marginBottom: '10px', color: '#333333', }}> - Page Under Construction + Page Not Found

{ lineHeight: '1.5', color: '#555555', }}> - Sorry, this page is currently under construction. We’re working hard to get it ready for you. + Sorry, the page you are looking for does not exist. Please check the URL or return to the home page.

{ textDecoration: 'none', fontWeight: 'bold', transition: 'background-color 0.3s', - boxShadow: '0 2px 10px rgba(0, 0, 0, 0.2)', }}> Go back to Home 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;