Skip to content

Commit 7f10d8f

Browse files
1046prtrecursivezero
authored andcommitted
[RZA-250154]: Fix the meta tag description and title
1 parent 7115e6a commit 7f10d8f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+187
-159
lines changed

src/pages/about.astro

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import { Content } from "@/content/about.md";
1212
// Constants
1313
const appName = "abcdkbd";
1414
15-
// Meta data
1615
const meta = {
1716
title: "About Us",
1817
description: "Learn more about our mission and the team behind abcdkbd."

src/pages/akshar.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ import SharePopover from "@/components/ShareButton.astro";
77
import BaseLayout from "@/layouts/Base";
88
99
const meta = {
10-
title: "Indic Alphabets",
10+
title: "Akshar",
1111
description:
12-
"Learn Indian culture and diversity through Indian languages. Learn alphabets of different Indian languages by alphabet comparison, their pronunciation and examples."
12+
"Learn alphabets of different Indian languages by alphabet comparison."
1313
};
1414
---
1515

1616
<BaseLayout meta={meta}>
1717
<BackIcon />
1818
<Fragment slot="header-right">
19-
<SharePopover title={meta.title} description={meta.description} />
19+
<SharePopover />
2020
<Help
2121
title="Indic Alphabets"
2222
description="Learn Indian culture and diversity through Indian languages. Learn alphabets of different Indian languages by alphabet comparison , their pronunciation and examples."

src/pages/alphabets/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const categoryList = categories.map((category, index) => ({
3030

3131
<BaseLayout meta={meta}>
3232
<Fragment slot="header-right">
33-
<SharePopover title={meta.title} description={meta.description} />
33+
<SharePopover />
3434
</Fragment>
3535
<Back />
3636

src/pages/blog/index.astro

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,16 @@ const blogPosts = blogs.map((entry) => {
2121
});
2222
return post;
2323
});
24+
const meta = {
25+
title: "Blog",
26+
description: "Read the latest articles, updates, and educational insights from abcdkbd.com."
27+
};
2428
---
2529

26-
<BaseLayout
27-
meta={{
28-
title: "Blog",
29-
description: "Read the latest articles, updates, and educational insights from abcdkbd.com."
30-
}}
31-
>
30+
<BaseLayout meta={meta}>
3231
<BackArrow />
3332
<Fragment slot="header-right">
34-
<SharePopover
35-
title="Blog"
36-
description="Read the latest articles, updates, and educational insights from abcdkbd.com."
37-
/>
33+
<SharePopover />
3834
<Help
3935
title="Blog"
4036
description="Stay updated with the latest in technology, development trends, and digital innovation."

src/pages/canvas/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const meta = {
1515
<BaseLayout meta={meta}>
1616
<Back />
1717
<Fragment slot="header-right">
18-
<SharePopover title={meta.title} description={meta.description} />
18+
<SharePopover />
1919
</Fragment>
2020
<div class="selection-container">
2121
<h1 class="selection-title">Select a creative mode</h1>

src/pages/capital.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const utList = locations.filter((loc) => !loc.isState);
1919
<BaseLayout meta={meta}>
2020
<Back />
2121
<Fragment slot="header-right">
22-
<SharePopover title={meta.title} description={meta.description} />
22+
<SharePopover />
2323
<Help title="Capital" description="Capital of India's States and Territories. " />
2424
</Fragment>
2525
<CapitalComponent stateList={stateList} utList={utList} />

src/pages/clan.astro

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,15 @@ function isBranch(data: any): data is Branch {
5151
data.surnames.every((surname: any) => surname && typeof surname.hi === "string" && typeof surname.en === "string")
5252
);
5353
}
54-
5554
const validClanData = Array.isArray(clanJson) ? clanJson.filter(isBranch) : [];
55+
const meta = {
56+
title: "Clan Explorer",
57+
description:
58+
"Search and explore your family's heritage by gotra, deity, caste, and location using this organized clan directory."
59+
};
5660
---
5761

58-
<BaseLayout meta={{ title: "Clan Explorer" }}>
62+
<BaseLayout meta={meta}>
5963
<Back />
6064
<article class="container__clan">
6165
<div class="clan__header">

src/pages/coming-soon.astro

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,13 @@ import BaseLayout from "@/layouts/Base";
55
import { APP_NAME } from "@/utils/constants";
66
import { Picture } from "astro:assets";
77
import logoImage from "/public/assets/images/ABCD-blue.png";
8+
9+
const meta = {
10+
title: "coming soon"
11+
};
812
---
913

10-
<BaseLayout meta={{ title: "Coming Soon" }}>
14+
<BaseLayout meta={meta}>
1115
<div class="page-container">
1216
<!-- Section 1: Heading -->
1317
<div class="heading-container">

src/pages/contact.astro

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,20 @@ import TitleLayout from "@/layouts/TitleLayout";
55
import Back from "@/components/Back.astro";
66
import CopyIcon from "@/assets/icons/copy.svg";
77
import GitHubIcon from "@/assets/icons/github.svg";
8+
9+
const meta = {
10+
title: "Contact Us",
11+
description:
12+
"Reach out to the abcdkbd team via email or connect with us on GitHub to collaborate or provide feedback."
13+
};
814
---
915

1016
<style>
1117
.copy {
1218
width: 24px;
1319
}
1420
</style>
15-
<BaseLayout meta={{ title: "Contact Us" }}>
21+
<BaseLayout meta={meta}>
1622
<Back />
1723
<TitleLayout title="Get in Touch" />
1824
<div class="container__contact">

src/pages/cookies.astro

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
2-
import BaseLayout from "@/layouts/Base";
3-
import { Content, frontmatter } from "@/content/article/cookies.md";
42
import "@/assets/styles/cookies.css";
3+
import { Content, frontmatter } from "@/content/article/cookies.md";
4+
import BaseLayout from "@/layouts/Base";
5+
6+
const meta = {
7+
title: frontmatter.title,
8+
description: frontmatter.description || "Read about our cookie policy and how we use cookies on abcdkbd.com."
9+
};
510
---
611

7-
<BaseLayout
8-
meta={{
9-
title: frontmatter.title,
10-
description: frontmatter.description || "Read about our cookie policy and how we use cookies on abcdkbd.com."
11-
}}
12-
>
12+
<BaseLayout meta={meta}>
1313
<article class="article-container">
1414
<header class="article-header">
1515
<h1>{frontmatter.title}</h1>

0 commit comments

Comments
 (0)