Skip to content

Commit

Permalink
Update from Jenn
Browse files Browse the repository at this point in the history
  • Loading branch information
acouch committed Dec 27, 2024
1 parent 5d9cb89 commit cd70027
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 16 deletions.
33 changes: 29 additions & 4 deletions frontend/src/app/[locale]/process/ProcessNext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,22 +37,38 @@ const ProcessNext = () => {
</p>
),
linkGithub3045: (chunks) => (
<Link href={`${ExternalRoutes.GITHUB_REPO}/issues/3045`}>
<Link
target="_blank"
className="usa-link--external"
href={`${ExternalRoutes.GITHUB_REPO}/issues/3045`}
>
{chunks}
</Link>
),
linkGithub2875: (chunks) => (
<Link href={`${ExternalRoutes.GITHUB_REPO}/issues/2875`}>
<Link
target="_blank"
className="usa-link--external"
href={`${ExternalRoutes.GITHUB_REPO}/issues/2875`}
>
{chunks}
</Link>
),
linkGithub2640: (chunks) => (
<Link href={`${ExternalRoutes.GITHUB_REPO}/issues/2640`}>
<Link
target="_blank"
className="usa-link--external"
href={`${ExternalRoutes.GITHUB_REPO}/issues/2640`}
>
{chunks}
</Link>
),
linkGithub3348: (chunks) => (
<Link href={`${ExternalRoutes.GITHUB_REPO}/issues/3348`}>
<Link
target="_blank"
className="usa-link--external"
href={`${ExternalRoutes.GITHUB_REPO}/issues/3348`}
>
{chunks}
</Link>
),
Expand Down Expand Up @@ -80,6 +96,15 @@ const ProcessNext = () => {
);
})}
</IconList>
<p>
<Link
target="_blank"
className="usa-link--external"
href={`${ExternalRoutes.GITHUB_REPO}/issues?q=is%3Aissue%20type%3ADeliverable%20`}
>
{t("link")}
</Link>
</p>
</Grid>
</Grid>
</GridContainer>
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/app/[locale]/process/ProcessProgress.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ const ProcessProgress = () => {
),
linkWikiInvolved: (chunks) => (
<Link
target="_blank"
className="usa-link--external"
href={`${ExternalRoutes.WIKI}/collaborating/get-involved`}
>
{chunks}
Expand Down
7 changes: 0 additions & 7 deletions frontend/src/app/[locale]/research/ResearchImpact.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { useMessages, useTranslations } from "next-intl";
import { Grid } from "@trussworks/react-uswds";

import ContentLayout from "src/components/ContentLayout";
import { USWDSIcon } from "src/components/USWDSIcon";

const ResearchImpact = () => {
const t = useTranslations("Research");
Expand Down Expand Up @@ -64,12 +63,6 @@ const ResearchImpact = () => {
),
strong: (chunks) => <strong>{chunks}</strong>,
subscribe: (chunks) => <a href={"/subscribe"}>{chunks}</a>,
arrowUpRightFromSquare: () => (
<USWDSIcon
className="usa-icon text-middle"
name="launch"
></USWDSIcon>
),
})}
</p>
</Grid>
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/i18n/messages/en/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export const messages = {
title_2:
"Are there challenges you’ve experienced that aren’t captured here?",
paragraph_3:
"If you would like to share your experiences and challenges as either an applicant or grantmaker, reach out to us at <strong><email>simpler@grants.gov</email></strong> or <strong><subscribe>sign up for project updates <arrowUpRightFromSquare></arrowUpRightFromSquare></subscribe></strong> to be notified of upcoming user research efforts.",
"If you would like to share your experiences and challenges as either an applicant or grantmaker, reach out to us at <strong><email>simpler@grants.gov</email></strong> or <strong><subscribe>sign up for project updates</subscribe></strong> to be notified of upcoming user research efforts.",
boxes: [
{
title: "Digital connectivity",
Expand Down Expand Up @@ -332,6 +332,7 @@ export const messages = {
},
next: {
title: "What's happening next",
link: "View all of our deliverables on GitHub",
list: [
{
title: "Authenticate via Login.gov",
Expand Down
8 changes: 4 additions & 4 deletions frontend/src/utils/testing/intlMocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ export const mockMessages = {
list: [
{
title: "test title",
content: "test content"
}
content: "test content",
},
],
},
next: {
list: [
{
title: "test title",
content: "test content"
}
content: "test content",
},
],
},
},
Expand Down

0 comments on commit cd70027

Please sign in to comment.