-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Issues 827, 828] Process and Research Content
- Loading branch information
1 parent
9703db8
commit 7359080
Showing
11 changed files
with
90 additions
and
283 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,55 @@ | ||
import { useTranslation } from "next-i18next"; | ||
import Link from "next/link"; | ||
import { Button, Grid, Icon } from "@trussworks/react-uswds"; | ||
|
||
import ContentLayout from "src/components/ContentLayout"; | ||
|
||
const ProcessAndResearchContent = () => { | ||
const { t } = useTranslation("common", { keyPrefix: "Index" }); | ||
|
||
return ( | ||
<ContentLayout | ||
data-testid="process-and-research-content" | ||
bottomBorder="none" | ||
> | ||
<Grid tabletLg={{ col: 6 }}> | ||
<h2 className="tablet-lg:font-sans-l desktop-lg:font-sans-xl"> | ||
{t("process_and_research.title_1")} | ||
</h2> | ||
<p className="font-sans-md line-height-sans-4 padding-bottom-2 desktop-lg:line-height-sans-6"> | ||
{t("process_and_research.paragraph_1")} | ||
</p> | ||
<Link href="/process" passHref> | ||
<Button className="margin-bottom-4" type="button" size="big"> | ||
{t("process_and_research.cta_1")}{" "} | ||
<Icon.ArrowForward | ||
className="text-middle" | ||
size={4} | ||
aria-label="arrow-forward" | ||
/> | ||
</Button> | ||
</Link> | ||
</Grid> | ||
<Grid tabletLg={{ col: 6 }}> | ||
<h2 className="tablet-lg:font-sans-l desktop-lg:font-sans-xl"> | ||
{t("process_and_research.title_2")} | ||
</h2> | ||
<p className="font-sans-md line-height-sans-4 padding-bottom-2 desktop-lg:line-height-sans-6"> | ||
{t("process_and_research.paragraph_2")} | ||
</p> | ||
<Link href="research" passHref> | ||
<Button className="margin-bottom-4" type="button" size="big"> | ||
{t("process_and_research.cta_2")}{" "} | ||
<Icon.ArrowForward | ||
className="text-middle" | ||
size={4} | ||
aria-label="arrow-forward" | ||
/> | ||
</Button> | ||
</Link> | ||
</Grid> | ||
</ContentLayout> | ||
); | ||
}; | ||
|
||
export default ProcessAndResearchContent; |
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
17 changes: 0 additions & 17 deletions
17
frontend/stories/components/IndexProcessContent.stories.tsx
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
frontend/stories/components/IndexResearchContent.stories.tsx
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.