diff --git a/frontend/src/components/BetaAlert.tsx b/frontend/src/components/BetaAlert.tsx index 2cbf5f2fe..abb7e64b6 100644 --- a/frontend/src/components/BetaAlert.tsx +++ b/frontend/src/components/BetaAlert.tsx @@ -4,7 +4,7 @@ import FullWidthAlert from "./FullWidthAlert"; const BetaAlert = () => { const t = useTranslations("Beta_alert"); - const heading = t.rich("alert_title", { + const alert = t.rich("alert", { LinkToGrants: (content) => {content}, }); @@ -13,8 +13,8 @@ const BetaAlert = () => { data-testid="beta-alert" className="desktop:position-sticky top-0 z-200" > - - {t("alert")} + + {alert} ); diff --git a/frontend/src/i18n/messages/en/index.ts b/frontend/src/i18n/messages/en/index.ts index bdaa0eaba..af8d71807 100644 --- a/frontend/src/i18n/messages/en/index.ts +++ b/frontend/src/i18n/messages/en/index.ts @@ -1,9 +1,9 @@ export const messages = { Beta_alert: { alert_title: - "Attention! Go to www.grants.gov to search and apply for grants.", + "This site is a work in progress, with new features and updates based on your feedback.", alert: - "Simpler.Grants.gov is a work in progress. Thank you for your patience as we build this new website.", + "Search for grants here. To use more advanced features or to apply, go to www.Grants.gov.", }, OpportunityListing: { page_title: "Opportunity Listing", diff --git a/frontend/tests/e2e/process.spec.ts b/frontend/tests/e2e/process.spec.ts index a96cd7cd9..efb1646d4 100644 --- a/frontend/tests/e2e/process.spec.ts +++ b/frontend/tests/e2e/process.spec.ts @@ -34,7 +34,7 @@ test("can view banner and return to top after scrolling to the bottom", async ({ await expect( page.getByRole("heading", { - name: /Attention! Go to www.grants.gov to search and apply for grants./i, + name: /This site is a work in progress, with new features and updates based on your feedback./i, }), ).toBeVisible();