generated from mantinedev/vite-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Benefit access page #264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Swetna
wants to merge
5
commits into
main
Choose a base branch
from
feat/benefit_access_page
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Benefit access page #264
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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,157 @@ | ||
| import { useNavigate } from 'react-router-dom'; | ||
| import { Divider, Space } from '@mantine/core'; | ||
| import { CardsWithHeader } from '@/components/shared/static/CardsWithHeader'; | ||
| import PageHeader from '@/components/shared/static/PageHeader'; | ||
| import { TitleCardWithHeader } from '@/components/shared/static/TextCardWithHeader'; | ||
| import { colors } from '@/designTokens/colors'; | ||
| import benefit_nav_Icon from '@/images/logos/orgs/benefit_navigator.png'; | ||
| import myfriendbenIcon from '@/images/logos/orgs/myfriendben.png'; | ||
| import navvy_Icon from '@/images/logos/orgs/SBNC.png'; | ||
|
|
||
| export default function BenefitAccessPage() { | ||
| const navigate = useNavigate(); | ||
| const handleExploreAPI = () => { | ||
| navigate('/us/api'); | ||
| }; | ||
|
|
||
| const handleContactUs = () => { | ||
| window.location.href = 'mailto:[email protected]'; | ||
| }; | ||
|
|
||
| const handleAboutPage = () => { | ||
| navigate('/about'); | ||
| }; | ||
|
|
||
| const handleButtonClick = (label: string) => { | ||
| if (label === 'Explore our API') { | ||
| handleExploreAPI(); | ||
| } else if (label === 'Contact us') { | ||
| handleContactUs(); | ||
| } else if (label === 'Learn more about PolicyEngine') { | ||
| handleAboutPage(); | ||
| } | ||
| }; | ||
| return ( | ||
| <> | ||
| <PageHeader | ||
| title="Benefit Access" | ||
| description="Powering benefit eligibility screening tools through the PolicyEngine API" | ||
| /> | ||
| <Space mb={20} /> | ||
| <TitleCardWithHeader | ||
| title="Increasing access to public benefits" | ||
| sections={[ | ||
| { | ||
| body: ( | ||
| <> | ||
| <p> | ||
| PolicyEngine's tax-benefit engine and API power a range of benefit eligibility | ||
| screening tools, helping people discover and access the support they're entitled | ||
| to. | ||
| </p> | ||
|
|
||
| <p> | ||
| Our partners leverage PolicyEngine's computational capabilities to create | ||
| user-friendly applications that simplify the complex landscape of public benefits | ||
| programs, making it easier for individuals, families, and case workers to identify | ||
| available assistance. | ||
| </p> | ||
| </> | ||
| ), | ||
| }, | ||
| ]} | ||
| /> | ||
| <Divider orientation="horizontal" size="xs" color={colors.border.dark} mt={60} mb={40} /> | ||
| <CardsWithHeader | ||
Swetna marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| cards={[ | ||
| { | ||
| title: 'MyFriendBen', | ||
| description: | ||
| 'An open-source multi-benefit screener operating in Colorado, currently expanding to North Carolina and Massachusetts. MyFriendBen helps individuals quickly identify benefits they may qualify for through an accessible, user-friendly interface.', | ||
| image: | ||
| 'https://www.myfriendben.org/wp-content/uploads/2024/08/MFB-National-Site-Triple-Phone-1024x844.png', | ||
| icon: ( | ||
| <img | ||
| src={myfriendbenIcon} | ||
| alt="MyFriendBen" | ||
| style={{ maxWidth: 150, maxHeight: 40, objectFit: 'contain' }} | ||
| /> | ||
| ), | ||
| footerText: 'Visit Website →', | ||
| onClick: () => window.open('https://www.myfriendben.org', '_blank'), | ||
| tags: ['Colorado', 'North Carolina', 'Massachusetts'], | ||
| }, | ||
| { | ||
| title: 'Benefit Navigator', | ||
| description: | ||
| 'A tool developed by IMAGINE LA to support case workers in Los Angeles County. Benefit Navigator helps social service providers quickly assess client eligibility for multiple benefit programs, streamlining the assistance process.', | ||
| image: | ||
| 'https://images.squarespace-cdn.com/content/v1/5f6287b7ba52c722644c43c2/0938452b-fc33-483a-be9c-bc6ae1f98191/Screen+1.png?format=1500w', | ||
| footerText: 'Visit Website →', | ||
| icon: ( | ||
| <img | ||
| src={benefit_nav_Icon} | ||
| alt="Benefit Navigator" | ||
| style={{ maxWidth: 150, maxHeight: 40, objectFit: 'contain' }} | ||
| /> | ||
| ), | ||
| onClick: () => window.open('https://www.benefitnavigator.org', '_blank'), | ||
| tags: ['Los Angeles County'], | ||
| }, | ||
| { | ||
| title: 'Navvy', | ||
| description: | ||
| 'A benefits screener developed by Impactica for the Student Basic Needs Coalition. Navvy helps students identify and access critical support services and benefits specifically designed for higher education students.', | ||
| image: | ||
| 'https://static.wixstatic.com/media/bc112d_b0a5a365b2ec4fa587724e776fa99934~mv2.png/v1/crop/x_0,y_10,w_1436,h_1322/fill/w_832,h_766,al_c,q_90,usm_0.66_1.00_0.01,enc_avif,quality_auto/unnamed-2_edited.png', | ||
| footerText: 'Visit Website →', | ||
| icon: ( | ||
| <img | ||
| src={navvy_Icon} | ||
| alt="Navvy" | ||
| style={{ maxWidth: 150, maxHeight: 40, objectFit: 'contain' }} | ||
| /> | ||
| ), | ||
| onClick: () => window.open('https://www.navvy.org', '_blank'), | ||
| tags: ['National (US)'], | ||
| }, | ||
| ]} | ||
| containerTitle="Partner organizations" | ||
| /> | ||
| <Divider orientation="horizontal" size="xs" color={colors.border.dark} mt={60} mb={40} /> | ||
| <TitleCardWithHeader | ||
| title="Build your own benefit screening tool" | ||
| sections={[ | ||
| { | ||
| body: ( | ||
| <> | ||
| <p> | ||
| Are you interested in creating a benefit screening tool for your organization or | ||
| community? | ||
| </p> | ||
|
|
||
| <p> | ||
| PolicyEngine's API provides accurate, up-to-date benefit calculations that can be | ||
| integrated into your own applications. | ||
| </p> | ||
|
|
||
| <p>Our API offers:</p> | ||
| <ul> | ||
| <li> | ||
| Calculation of eligibility and benefit amounts for major US and UK tax and | ||
| benefit programs | ||
| </li> | ||
| <li>Flexible integration options to fit your organization's needs</li> | ||
| <li>Regularly updated policy parameters to reflect current legislation</li> | ||
| <li>Technical support from our team</li> | ||
| </ul> | ||
| </> | ||
| ), | ||
| }, | ||
| ]} | ||
| buttonLabel={['Explore our API', 'Contact us']} | ||
| onButtonClick={handleButtonClick} | ||
| /> | ||
| </> | ||
| ); | ||
| } | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.