From d054efa8584036df55b57fd36ad1a49588bfefb4 Mon Sep 17 00:00:00 2001 From: acouch Date: Thu, 21 Nov 2024 12:11:07 -0500 Subject: [PATCH 1/3] Update index.ts for banner update --- frontend/src/i18n/messages/en/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/i18n/messages/en/index.ts b/frontend/src/i18n/messages/en/index.ts index daa27ad7d..3a6808202 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", From c638cf1750368722f0b1dbdd2b5995ff850ddc2c Mon Sep 17 00:00:00 2001 From: acouch Date: Thu, 21 Nov 2024 12:15:01 -0500 Subject: [PATCH 2/3] Update BetaAlert.tsx --- frontend/src/components/BetaAlert.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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} ); From 1fcf9b7204013fce54a0c77368cd2327519a4f9e Mon Sep 17 00:00:00 2001 From: acouch Date: Fri, 22 Nov 2024 10:22:33 -0500 Subject: [PATCH 3/3] Update process.spec.ts --- frontend/tests/e2e/process.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();