Skip to content

Commit

Permalink
[Issues 827, 828] Process and Research Content
Browse files Browse the repository at this point in the history
  • Loading branch information
SammySteiner authored Dec 11, 2023
1 parent 9703db8 commit 7359080
Show file tree
Hide file tree
Showing 11 changed files with 90 additions and 283 deletions.
24 changes: 7 additions & 17 deletions frontend/public/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,13 @@
"paragraph_3": "If you work for a federal grantmaking agency, we’re making it easier for your communities (including underserved communities) to find the funding they need.",
"cta": "Sign up for project updates"
},
"process": {
"title": "The process",
"paragraph_1": "This project is transparent, iterative, and agile. All of the code we are writing is open source and our roadmap is public. As we regularly release new versions of Simpler.Grants.gov, you'll see what we're building and prioritizing. With each iteration, you'll be able to try out functional software and give feedback to tell us what works, what can be improved, and inform what happens next. ",
"cta": "Learn about what's happening",
"title_2": "Are you code-savvy?",
"paragraph_2": "If you’re interested in exploring the details of exactly what we’re building, check out the GitHub project:",
"list": "<ul><li>Follow <repo>the code repository</repo></li><li>Read the <goals>project goals</goals></li><li>View the <roadmap>roadmap</roadmap></li><li>Learn about <contribute>how you can contribute</contribute></li><li>Explore the <adr>architecture decision records</adr></li></ul>"
},
"research": {
"title": "The research",
"paragraph_1": "We conducted extensive research in 2023 to gather insights from applicants, potential applicants, and grantmakers. We’re using these findings to guide our work. And your ongoing feedback will inform and inspire new features as we build a simpler Grants gov together.",
"cta": "Read the research findings",
"title_2": "Applicant archetypes",
"paragraph_2": "<strong>The Novice</strong> — Applicants lacking familiarity with the grant application process, including first-time or infrequent applicants and those who never apply",
"paragraph_3": "<strong>The Collaborator</strong> — Applicants who've applied before, working with colleagues or partner organizations to increase their chances of success",
"paragraph_4": "<strong>The Maestro</strong> — Frequent applicants familiar with Grants.gov, who are often directly responsible for managing multiple applications at once",
"paragraph_5": "<strong>The Supervisor</strong> — Applicants who have a more senior role at organizations and have less frequent direct involvement with Grants.gov than Maestros."
"process_and_research": {
"title_1": "The process",
"title_2": "The research",
"paragraph_1": "This project is transparent, iterative, and agile. All of the code we’re writing is open source and our roadmap is public. As we release new versions, you can try out functional software and give us feedback on what works and what can be improved to inform what happens next.",
"paragraph_2": "We conducted extensive research in 2023 to gather insights from applicants, potential applicants, and grantmakers. We’re using these findings to guide our work. And your ongoing feedback will inform and inspire new features as we build a simpler Grants gov together.",
"cta_1": "Learn about what’s happening",
"cta_2": "Read the research findings"
},
"fo_title": "Improvements to funding opportunity announcements",
"fo_paragraph_1": "Funding opportunities should not only be easy to find, share, and apply for. They should also be easy to read and understand. Our objective is to simplify and organize funding opportunities announcements. ",
Expand Down
10 changes: 7 additions & 3 deletions frontend/src/pages/content/IndexGoalContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,15 @@ const IndexGoalContent = () => {
bottomBorder="light"
>
<Grid tabletLg={{ col: 6 }} desktop={{ col: 5 }} desktopLg={{ col: 6 }}>
<p className="usa-intro">{t("goal.paragraph_1")}</p>
<Link href="#" passHref>
<p className="usa-intro padding-bottom-2">{t("goal.paragraph_1")}</p>
<Link href="/newsletter" passHref>
<Button className="margin-bottom-4" type="button" size="big">
{t("goal.cta")}{" "}
<Icon.Launch className="text-middle" size={4} aria-label="launch" />
<Icon.ArrowForward
className="text-middle"
size={4}
aria-label="arrow-forward"
/>
</Button>
</Link>
</Grid>
Expand Down
94 changes: 0 additions & 94 deletions frontend/src/pages/content/IndexProcessContent.tsx

This file was deleted.

103 changes: 0 additions & 103 deletions frontend/src/pages/content/IndexResearchContent.tsx

This file was deleted.

55 changes: 55 additions & 0 deletions frontend/src/pages/content/ProcessAndResearchContent.tsx
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;
6 changes: 2 additions & 4 deletions frontend/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ import PageSEO from "src/components/PageSEO";
import FullWidthAlert from "../components/FullWidthAlert";
import Hero from "../components/Hero";
import IndexGoalContent from "./content/IndexGoalContent";
import IndexProcessContent from "./content/IndexProcessContent";
import IndexResearchContent from "./content/IndexResearchContent";
import ProcessAndResearchContent from "./content/ProcessAndResearchContent";

const Home: NextPage = () => {
const { t } = useTranslation("common", { keyPrefix: "Index" });
Expand All @@ -34,8 +33,7 @@ const Home: NextPage = () => {
/>
</FullWidthAlert>
<IndexGoalContent />
<IndexProcessContent />
<IndexResearchContent />
<ProcessAndResearchContent />
</>
);
};
Expand Down
17 changes: 0 additions & 17 deletions frontend/stories/components/IndexProcessContent.stories.tsx

This file was deleted.

17 changes: 0 additions & 17 deletions frontend/stories/components/IndexResearchContent.stories.tsx

This file was deleted.

14 changes: 0 additions & 14 deletions frontend/tests/components/IndexProcessContent.test.tsx

This file was deleted.

14 changes: 0 additions & 14 deletions frontend/tests/components/IndexResearchContent.test.tsx

This file was deleted.

Loading

0 comments on commit 7359080

Please sign in to comment.