From 23f24a75cb7575a865093d8b9b339f5cd31fc339 Mon Sep 17 00:00:00 2001 From: tallulah Date: Tue, 17 Dec 2024 15:38:05 -0800 Subject: [PATCH] feat: DAH-2661 seeds css --- app/assets/json/translations/react/en.json | 10 +++--- .../__snapshots__/ForRent.test.tsx.snap | 6 ++-- .../__snapshots__/ForSale.test.tsx.snap | 8 ++--- app/javascript/modules/constants.tsx | 18 +++++++++-- .../listings/DirectoryPageNavigationBar.scss | 32 +++++++++---------- .../listings/DirectoryPageNavigationBar.tsx | 6 +++- 6 files changed, 48 insertions(+), 32 deletions(-) diff --git a/app/assets/json/translations/react/en.json b/app/assets/json/translations/react/en.json index cb151c8300..6c86d3d5bc 100644 --- a/app/assets/json/translations/react/en.json +++ b/app/assets/json/translations/react/en.json @@ -550,9 +550,9 @@ "footer.inPartnershipWith": "in partnership with
San Francisco Digital Services
Mayor's Office of Civic Innovation", "footer.listingQuestions": "For listing and application questions, please contact the agent displayed on the listing.", "footer.privacyPolicy": "Privacy Policy", - "forgotPassword.emailSentDescription": "You'll receive an email with a link to reset your password.", "forgotPassword.emailLink": "If there is an account with that email address, you will get an email with a link to reset your password.", "forgotPassword.emailSent": "We sent you an email", + "forgotPassword.emailSentDescription": "You'll receive an email with a link to reset your password.", "forgotPassword.emailSentTitle": "We've sent you an email.", "forgotPassword.title": "Forgot password?", "g1Confirmation.browseMoreListings": "Browse more listings", @@ -1331,6 +1331,10 @@ "listings.youDontMatchAnyRent": "Based on information you entered, you don't match any current listings for rent.", "listings.youDontMatchAnySale": "Based on information you entered, you don't match any current listings for sale.", "listings.youMayBeEligible": "Based on information you entered, you may be eligible for units at the following property.", + "listingsDirectory.navBar.fcfs": "Buy now (%{numListings})", + "listingsDirectory.navBar.open": "Enter a lottery (%{numListings})", + "listingsDirectory.navBar.results": "Lottery results (%{numListings})", + "listingsDirectory.navBar.upcoming": "Upcoming lotteries (%{numListings})", "listingsForRent.callout.button": "View opportunities", "listingsForRent.callout.title": "See more listings from our community partners.", "listingsForRent.header.findMatchingListings": "Find matching listings", @@ -1348,10 +1352,6 @@ "listingsForSale.beforeApplying.step4": "Get pre-approved for a mortgage loan by a lender on our list", "listingsForSale.beforeApplying.step5": "Have enough in savings for closing costs and downpayment", "listingsForSale.beforeApplying.title": "Before applying", - "listingsDirectory.navBar.open": "Enter a lottery (%{numListings})", - "listingsDirectory.navBar.fcfs": "Buy now (%{numListings})", - "listingsDirectory.navBar.upcoming": "Upcoming lotteries (%{numListings})", - "listingsDirectory.navBar.results": "Lottery results (%{numListings})", "listingsForSale.beforeApplyingHabitat.readFullList": "Read the full list of requirements for more details.", "listingsForSale.beforeApplyingHabitat.rulesAreDifferent": "These units have rules that are different from other ownership listings on DAHLIA. Make sure you:", "listingsForSale.beforeApplyingHabitat.step1": "Go to a Habitat for Humanity information session", diff --git a/app/javascript/__tests__/pages/listings/__snapshots__/ForRent.test.tsx.snap b/app/javascript/__tests__/pages/listings/__snapshots__/ForRent.test.tsx.snap index ce9017f4ba..9c58264610 100644 --- a/app/javascript/__tests__/pages/listings/__snapshots__/ForRent.test.tsx.snap +++ b/app/javascript/__tests__/pages/listings/__snapshots__/ForRent.test.tsx.snap @@ -266,7 +266,7 @@ exports[`For Rent renders ForRent component 1`] = ` class="directory-page-navigation-bar" >