Skip to content

Commit

Permalink
[Issue #3510] update page meta descriptions (#3513)
Browse files Browse the repository at this point in the history
  • Loading branch information
doug-s-nava authored Jan 15, 2025
1 parent 476f3c8 commit 7540a19
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion frontend/src/app/[locale]/process/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export async function generateMetadata({
const t = await getTranslations({ locale });
const meta: Metadata = {
title: t("Process.page_title"),
description: t("Process.meta_description"),
description: t("Index.meta_description"),
};
return meta;
}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/[locale]/research/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export async function generateMetadata({
const t = await getTranslations({ locale });
const meta: Metadata = {
title: t("Research.page_title"),
description: t("Research.meta_description"),
description: t("Index.meta_description"),
};
return meta;
}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/[locale]/search/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export async function generateMetadata({
const t = await getTranslations({ locale });
const meta: Metadata = {
title: t("Search.title"),
description: t("Index.meta_description"),
description: t("Search.meta_description"),
};
return meta;
}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/[locale]/subscribe/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export async function generateMetadata({
const t = await getTranslations({ locale });
const meta: Metadata = {
title: t("Subscribe.page_title"),
description: t("Index.meta_description"),
description: t("Subscribe.meta_description"),
};

return meta;
Expand Down
13 changes: 6 additions & 7 deletions frontend/src/i18n/messages/en/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ export const messages = {
},
OpportunityListing: {
page_title: "Opportunity Listing",
meta_description: "Summary details for the specific opportunity listing.",
meta_description:
"Read detailed information about this funding opportunity.",
intro: {
agency: "Agency: ",
assistance_listings: "Assistance Listings: ",
Expand Down Expand Up @@ -80,7 +81,7 @@ export const messages = {
Index: {
page_title: "Simpler.Grants.gov",
meta_description:
"A one‑stop shop for all federal discretionary funding to make it easy for you to discover, understand, and apply for opportunities.",
"Simpler.Grants.gov is improving how you discover, post, and apply for federal discretionary funding on Grants.gov.",
goal: {
paragraph_1:
"Grants.gov should be extremely simple, accessible, and easy to use. Our mission is to increase access to federal financial assistance and continuously improve the grants experience for everyone.",
Expand Down Expand Up @@ -127,8 +128,6 @@ export const messages = {
},
Research: {
page_title: "Research | Simpler.Grants.gov",
meta_description:
"A one‑stop shop for all federal discretionary funding to make it easy for you to discover, understand, and apply for opportunities.",
intro: {
title: "Our existing research",
content:
Expand Down Expand Up @@ -269,8 +268,6 @@ export const messages = {
},
Process: {
page_title: "Process | Simpler.Grants.gov",
meta_description:
"A one‑stop shop for all federal discretionary funding to make it easy for you to discover, understand, and apply for opportunities.",
intro: {
title: "Our open process",
content:
Expand Down Expand Up @@ -411,6 +408,8 @@ export const messages = {
},
Subscribe: {
page_title: "Subscribe | Simpler.Grants.gov",
meta_description:
"Sign up for email updates from the Simpler.Grants.gov team.",
title: "Subscribe to project updates",
intro: "Subscribe to get Simpler.Grants.gov project updates in your inbox!",
paragraph_1:
Expand Down Expand Up @@ -543,7 +542,7 @@ export const messages = {
Search: {
title: "Search Funding Opportunities | Simpler.Grants.gov",
meta_description:
"A one‑stop shop for all federal discretionary funding to make it easy for you to discover, understand, and apply for opportunities.",
"Search for and discover relevant opportunities using our improved search.",
description: "Try out our experimental search page.",
accordion: {
titles: {
Expand Down

0 comments on commit 7540a19

Please sign in to comment.