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/5] 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/5] 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/5] 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; From 69fcb15bfad60b4530ae0e18e2696d04a9bec526 Mon Sep 17 00:00:00 2001 From: Shivam <143623476+myselfshivams@users.noreply.github.com> Date: Wed, 2 Oct 2024 12:10:03 +0530 Subject: [PATCH 4/5] Update page.tsx --- src/app/page.tsx | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index fabb40c..a1b7224 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -62,6 +62,8 @@ export default function Home() { + {/**/} +
@@ -81,10 +83,16 @@ export default function Home() {

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... + 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.

@@ -95,7 +103,13 @@ export default function Home() {

EXPLORE UTTARAKAND

- To address this problem, we have come up with a solution to digitize this cultural knowledge... + 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

Start Your Journey
@@ -122,7 +136,7 @@ export default function Home() { cardTitle={"UPCOMING FESTIVAL"} title={"Egaas Bagwal"} subTitle={"12 NOVEMBER · UTTARAKHAND"} - description={"Egaas Bagwal is a unique festival celebrated 11 days after Diwali..."} + description={"Egaas Bagwal is a unique festival celebrated 11 days after Diwali in the hilly regions of Uttarakhand. According to local belief, Lord Rama returned from exile late to these areas, which is why people here celebrate Egaas with great enthusiasm. The festival involves preparing traditional delicacies, performing joyful folk dances, and lighting up homes, much like Diwali. A standout tradition is spinning a flaming rope called \"Bhailo\", where villagers twirl a fire-lit rope, creating a mesmerizing display symbolizing light’s triumph over darkness. Egaas Bagwal reflects Uttarakhand’s rich cultural heritage, offering a glimpse into the community’s deep-rooted traditions and festive spirit. For the people of Uttarakhand, it’s not just a festival, but a meaningful tribute to their ancestors and the vibrant life of the hills."} image={GheeSankranti} readMoreLink={""} location={""} @@ -133,7 +147,7 @@ export default function Home() { cardTitle={"UPCOMING FAIR"} title={"Nanda Devi Mahotsav"} subTitle={"8 SEPTEMBER - 19 SEPTEMBER · NAINITAL"} - description={"The Nanda Devi Mahotsav is a grand celebration dedicated to Goddess Nanda Devi..."} + description={"The Nanda Devi Mahotsav is a grand celebration dedicated to Goddess Nanda Devi, the revered deity of the Kumaon region. This vibrant festival, which takes place annually in Nainital, is deeply ingrained in the cultural fabric of Uttarakhand. It is believed to have started centuries ago to honor Nanda Devi, who is considered the protector of the region. The festival is marked by colorful processions, traditional dance performances, and rituals that attract devotees and tourists alike. The highlight of the event is the ‘Nanda Jaat Yatra,’ where a grand procession of devotees carries a palanquin of the goddess through the scenic landscapes of Uttarakhand, symbolizing her journey to her maternal home"} image={Nanda_Sunanda} readMoreLink={""} location={"https://www.google.com/maps/place/Maa+Nanda+Devi+Temple,+Almora/@29.5998843,79.6584971,17z/data=!3m1!4b1!4m6!3m5!1s0x39a0b76914898c8b:0x887deeed7e5d3c82!8m2!3d29.5998843!4d79.661072!16s%2Fg%2F11fmrk8bnv?hl=en&entry=ttu&g_ep=EgoyMDI0MDgyOC4wIKXMDSoASAFQAw%3D%3D"} From 4e65be05d026f5827e7f458d6e983874ac95d960 Mon Sep 17 00:00:00 2001 From: Shivam <143623476+myselfshivams@users.noreply.github.com> Date: Wed, 2 Oct 2024 12:15:38 +0530 Subject: [PATCH 5/5] Update page.tsx --- src/app/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index a1b7224..ab0351f 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -147,7 +147,7 @@ export default function Home() { cardTitle={"UPCOMING FAIR"} title={"Nanda Devi Mahotsav"} subTitle={"8 SEPTEMBER - 19 SEPTEMBER · NAINITAL"} - description={"The Nanda Devi Mahotsav is a grand celebration dedicated to Goddess Nanda Devi, the revered deity of the Kumaon region. This vibrant festival, which takes place annually in Nainital, is deeply ingrained in the cultural fabric of Uttarakhand. It is believed to have started centuries ago to honor Nanda Devi, who is considered the protector of the region. The festival is marked by colorful processions, traditional dance performances, and rituals that attract devotees and tourists alike. The highlight of the event is the ‘Nanda Jaat Yatra,’ where a grand procession of devotees carries a palanquin of the goddess through the scenic landscapes of Uttarakhand, symbolizing her journey to her maternal home"} + description={"The Nanda Devi Mahotsav is a grand celebration dedicated to Goddess Nanda Devi, the revered deity of the Kumaon region. This vibrant festival, which takes place annually in Nainital, is deeply ingrained in the cultural fabric of Uttarakhand. It is believed to have started centuries ago to honor Nanda Devi, who is considered the protector of the region. The festival is marked by colorful processions, traditional dance performances, and rituals that attract devotees and tourists alike. The highlight of the event is the ‘Nanda Jaat Yatra,’ where a grand procession of devotees carries a palanquin of the goddess through the scenic landscapes of Uttarakhand, symbolizing her journey to her maternal home."} image={Nanda_Sunanda} readMoreLink={""} location={"https://www.google.com/maps/place/Maa+Nanda+Devi+Temple,+Almora/@29.5998843,79.6584971,17z/data=!3m1!4b1!4m6!3m5!1s0x39a0b76914898c8b:0x887deeed7e5d3c82!8m2!3d29.5998843!4d79.661072!16s%2Fg%2F11fmrk8bnv?hl=en&entry=ttu&g_ep=EgoyMDI0MDgyOC4wIKXMDSoASAFQAw%3D%3D"}