From 78506458aa992f02a67e2624d944d75d11b700a8 Mon Sep 17 00:00:00 2001 From: samanyougarg Date: Sun, 20 Aug 2023 14:06:33 +0530 Subject: [PATCH] update heading tags for technical SEO --- app/page.tsx | 1 + components/Headers/IndexHeader.tsx | 4 ++-- components/Home/Banner.tsx | 6 ++---- components/Home/Card.tsx | 13 +++++++------ components/Home/Chapters.tsx | 2 +- components/Home/Modal.tsx | 4 ++-- components/Home/Newsletter.tsx | 4 ++-- 7 files changed, 17 insertions(+), 17 deletions(-) diff --git a/app/page.tsx b/app/page.tsx index 0739868..5981d97 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -39,6 +39,7 @@ export const metadata: Metadata = { "en-IN": "https://bhagavadgita.io/", hi: "https://bhagavadgita.io/hi/", }, + canonical: "https://bhagavadgita.io/", }, }; diff --git a/components/Headers/IndexHeader.tsx b/components/Headers/IndexHeader.tsx index d5ee499..2cf47ff 100644 --- a/components/Headers/IndexHeader.tsx +++ b/components/Headers/IndexHeader.tsx @@ -228,7 +228,7 @@ export default function IndexHeader() { > About Geeta - {!loggedIn ? ( + {/* {!loggedIn ? ( {({ open }) => ( <> @@ -290,7 +290,7 @@ export default function IndexHeader() { > Signout - )} + )} */}
{ />

- Experience the Gita -

-

- Anywhere, Anytime + Experience the Gita
+ Anywhere, Anytime

{ prefetch={false} className="flex flex-col bg-white dark:bg-dark-100 drop-shadow-card border-2 border-white dark:border-dark-bg rounded-md p-6 hover:bg-box-bg dark:hover:bg-dark-bg hover:shadow-none hover:border-box-stroke dark:hover:border-dark-100 hover:border-2 hover:cursor-pointer dark:text-gray-200 z-10" > -

+

Chapter {chapter.chapter_number} -

-

- {chapter.name_translated}

+

+ {chapter.name_translated} +

{truncate(chapter.chapter_summary, 280)}

@@ -29,7 +29,8 @@ const Card = ({ chapter }: Props) => { {chapter.verses_count} Verses
-
+ {/* Hide for the time being until we implement notes and bookmarks */} + {/*
2
@@ -37,7 +38,7 @@ const Card = ({ chapter }: Props) => {
2
-
+
*/}
); diff --git a/components/Home/Chapters.tsx b/components/Home/Chapters.tsx index 0c4894e..0d4b340 100644 --- a/components/Home/Chapters.tsx +++ b/components/Home/Chapters.tsx @@ -16,7 +16,7 @@ const Chapters = ({ chapters }: ChaptersProps) => { />
-

Chapters

+

Chapters

{chapters.map((chapter) => ( diff --git a/components/Home/Modal.tsx b/components/Home/Modal.tsx index 3885d35..972e973 100644 --- a/components/Home/Modal.tsx +++ b/components/Home/Modal.tsx @@ -47,12 +47,12 @@ function Modal({ modalVisible, setModalVisible }: Props) {
- +

Congratulations! You have now subscribed to the daily diff --git a/components/Home/Newsletter.tsx b/components/Home/Newsletter.tsx index 523b60d..6605f49 100644 --- a/components/Home/Newsletter.tsx +++ b/components/Home/Newsletter.tsx @@ -43,9 +43,9 @@ const Newsletter = ({ handleSubscribe }: Props) => { />

-

+

Have the Shloka of the Day delivered to your inbox each morning. -

+