This repository has been archived by the owner on Sep 18, 2024. It is now read-only.
forked from HHS/simpler-grants-gov
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
67 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
import { GridContainer } from "@trussworks/react-uswds"; | ||
import React from "react"; | ||
import { useTranslations } from "next-intl" | ||
import { useTranslations } from "next-intl"; | ||
|
||
const SearchCallToAction: React.FC = () => { | ||
const t = useTranslations("Search") | ||
const t = useTranslations("Search"); | ||
|
||
return ( | ||
<> | ||
{/* <BetaAlert /> */} | ||
<GridContainer> | ||
<h1 className="margin-0 tablet-lg:font-sans-xl desktop-lg:font-sans-2xl"> | ||
{t("callToAction.title")} | ||
{t("callToAction.title")} | ||
</h1> | ||
<p className="font-serif-md tablet-lg:font-serif-lg usa-intro margin-top-2"> | ||
{t.rich("callToAction.description", { | ||
mail: (chunks) => <a href="mailto:[email protected]">{chunks}</a> | ||
mail: (chunks) => <a href="mailto:[email protected]">{chunks}</a>, | ||
})} | ||
</p> | ||
</GridContainer> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -394,12 +394,14 @@ export const messages = { | |
}, | ||
}, | ||
bar: { | ||
label: "<strong>Search terms </strong><small>Enter keywords, opportunity numbers, or assistance listing numbers</small>", | ||
label: | ||
"<strong>Search terms </strong><small>Enter keywords, opportunity numbers, or assistance listing numbers</small>", | ||
button: "Search", | ||
}, | ||
callToAction: { | ||
title: "Search funding opportunities", | ||
description: "We’re incrementally improving this experimental search page. How can we make it easier to discover grants that are right for you? Let us know at <mail>[email protected]</mail>.", | ||
description: | ||
"We’re incrementally improving this experimental search page. How can we make it easier to discover grants that are right for you? Let us know at <mail>[email protected]</mail>.", | ||
}, | ||
opportunityStatus: { | ||
title: "Opportunity status", | ||
|
@@ -411,12 +413,13 @@ export const messages = { | |
}, | ||
}, | ||
resultsHeader: { | ||
message: "{count, plural, =1 {1 Opportunity} other {# Opportunities}}" | ||
message: "{count, plural, =1 {1 Opportunity} other {# Opportunities}}", | ||
}, | ||
resultsListFetch: { | ||
title: "Your search did not return any results.", | ||
body: "<li>Check any terms you've entered for typos</li><li>Try different keywords</li><li>Make sure you've selected the right statuses</li><li>Try resetting filters or selecting fewer options</li>", | ||
paginationError: "You're trying to access opportunity results that are beyond the last page of data." | ||
paginationError: | ||
"You're trying to access opportunity results that are beyond the last page of data.", | ||
}, | ||
resultsListItem: { | ||
status: { | ||
|
@@ -450,7 +453,7 @@ export const messages = { | |
}, | ||
filterToggleAll: { | ||
select: "Select All", | ||
clear: "Clear All" | ||
clear: "Clear All", | ||
}, | ||
}, | ||
}; |