Skip to content

Commit

Permalink
update heading tags for technical SEO
Browse files Browse the repository at this point in the history
  • Loading branch information
samanyougarg committed Aug 20, 2023
1 parent a890444 commit 7850645
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 17 deletions.
1 change: 1 addition & 0 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export const metadata: Metadata = {
"en-IN": "https://bhagavadgita.io/",
hi: "https://bhagavadgita.io/hi/",
},
canonical: "https://bhagavadgita.io/",
},
};

Expand Down
4 changes: 2 additions & 2 deletions components/Headers/IndexHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ export default function IndexHeader() {
>
About Geeta
</Link>
{!loggedIn ? (
{/* {!loggedIn ? (
<Popover className="relative">
{({ open }) => (
<>
Expand Down Expand Up @@ -290,7 +290,7 @@ export default function IndexHeader() {
>
<span className="truncate">Signout</span>
</button>
)}
)} */}
</Popover.Group>
<div className="hidden md:flex justify-end items-end w-auto md:flex-1 lg:w-0 py-px">
<form
Expand Down
6 changes: 2 additions & 4 deletions components/Home/Banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@ const Banner = () => {
/>
<div className="xl:rounded-lg flex flex-col h-4/5 px-8 py-36">
<h1 className="text-3xl md:text-6xl text-center font-extrabold text-shadow text-white t-shadow z-30">
Experience the Gita
</h1>
<h1 className="text-3xl md:text-6xl text-center font-extrabold text-shadow text-lead-text t-shadow z-30">
Anywhere, Anytime
Experience the Gita <br />
<span className="text-lead-text">Anywhere, Anytime</span>
</h1>

<Link
Expand Down
13 changes: 7 additions & 6 deletions components/Home/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ const Card = ({ chapter }: Props) => {
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"
>
<h3 className="text-my-orange font-bold">
<h2 className="text-my-orange font-bold">
Chapter {chapter.chapter_number}
</h3>
<h2 className="text-xl font-bold dark:text-white">
{chapter.name_translated}
</h2>
<h3 className="text-xl font-bold dark:text-white">
{chapter.name_translated}
</h3>
<p className="flex-1 text-gray-500 dark:text-gray-100 mt-2 overflow-ellipsis">
{truncate(chapter.chapter_summary, 280)}
</p>
Expand All @@ -29,15 +29,16 @@ const Card = ({ chapter }: Props) => {
<span className="mb-0.5">{chapter.verses_count} Verses</span>
</div>

<div className="flex mt-4">
{/* Hide for the time being until we implement notes and bookmarks */}
{/* <div className="flex mt-4">
<div className="flex text-sm items-center align-middle mr-3">
<SvgBookmark className="h-5 w-5 mr-1" />2
</div>
<div className="flex text-sm items-center">
<SvgShuffle className="h-5 w-5 mr-1" />2
</div>
</div>
</div> */}
</div>
</Link>
);
Expand Down
2 changes: 1 addition & 1 deletion components/Home/Chapters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const Chapters = ({ chapters }: ChaptersProps) => {
/>
<div className="max-w-7xl mx-auto px-4 sm:px-6 z-50">
<div>
<h1 className="text-5xl dark:text-white font-bold mb-10">Chapters</h1>
<h2 className="text-4xl dark:text-white font-bold mb-10">Chapters</h2>
<div className="grid grid-cols-1 md:grid-cols-2 gap-4">
{chapters.map((chapter) => (
<Card key={chapter.id} chapter={chapter} />
Expand Down
4 changes: 2 additions & 2 deletions components/Home/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ function Modal({ modalVisible, setModalVisible }: Props) {
</svg>
</div>
<div className="mt-3 text-center px-5 sm:mt-5">
<h3
<p
className="text-lg leading-6 font-medium text-gray-900 dark:text-gray-200"
id="modal-title"
>
Subscription Successful!
</h3>
</p>
<div className="mt-2">
<p className="text-sm text-gray-500 dark:text-gray-300">
Congratulations! You have now subscribed to the daily
Expand Down
4 changes: 2 additions & 2 deletions components/Home/Newsletter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ const Newsletter = ({ handleSubscribe }: Props) => {
/>
<div className="max-w-5xl mx-auto px-4 sm:px-6">
<div className="mt-10 p-14 text-center">
<h1 className="text-4xl text-black font-bold mb-8 z-50">
<h3 className="text-4xl text-black font-bold mb-8 z-50">
Have the Shloka of the Day delivered to your inbox each morning.
</h1>
</h3>
<form className="flex flex-col md:flex-row" onSubmit={onSubmit}>
<input
className="appearance-none z-50 mt-4 md:mt-0 border rounded-md w-full py-3 mr-6 px-3 text-gray-700 leading-tight focus:outline-none focus:border-my-orange dark:bg-white"
Expand Down

0 comments on commit 7850645

Please sign in to comment.