Skip to content

Commit

Permalink
Merge pull request #31 from livgust/update-eligibility
Browse files Browse the repository at this point in the history
Update eligibility
  • Loading branch information
johnhawkinson authored Feb 17, 2021
2 parents aa4bb9d + 6ce68e4 commit 5db6070
Showing 1 changed file with 60 additions and 36 deletions.
96 changes: 60 additions & 36 deletions src/components/StateEligibility.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,64 +24,88 @@ const useStyles = makeStyles((theme) => ({
},
}));

function EligibilityGroupItem(props) {
return (
<ListItem>
<ListItemIcon>
<CheckIcon />
</ListItemIcon>
{props.children}
</ListItem>
);
}

export default function StateEligibility() {
const classes = useStyles();

return (
<div className={classes.container}>
<Accordion className={classes.accordion}>
<AccordionSummary expandIcon={<ExpandMoreIcon />}>
Am I eligible?
<Typography variant="subtitle1">
Am I eligible to be vaccinated?
</Typography>
</AccordionSummary>
<AccordionDetails className={classes.accordionDetails}>
<Typography>
The following groups can make appointments for as early
as February 18:
</Typography>
<List>
<EligibilityGroupItem>
Individuals age 65+
</EligibilityGroupItem>
<EligibilityGroupItem>
<div>
Individuals with two or more of{" "}
<a
href="https://www.mass.gov/info-details/certain-medical-conditions-for-phase-2-groups"
rel="noreferrer"
target="_blank"
>
these
</a>{" "}
specific medical conditions
</div>
</EligibilityGroupItem>
<EligibilityGroupItem>
<a
href="https://www.mass.gov/info-details/covid-19-vaccinations-for-senior-housing-settings"
rel="noreferrer"
target="_blank"
>
Residents and staff of low-income and affordable
senior housing
</a>
</EligibilityGroupItem>
</List>
<Typography>
The following groups are currently eligible:
</Typography>
<List>
<ListItem>
<ListItemIcon>
<CheckIcon />
</ListItemIcon>
<EligibilityGroupItem>
Individuals age 75+
</ListItem>
<ListItem>
<ListItemIcon>
<CheckIcon />
</ListItemIcon>
</EligibilityGroupItem>
<EligibilityGroupItem>
Health care workers doing non-COVID-facing care
</ListItem>
<ListItem>
<ListItemIcon>
<CheckIcon />
</ListItemIcon>
</EligibilityGroupItem>
<EligibilityGroupItem>
Home-based health care workers
</ListItem>
<ListItem>
<ListItemIcon>
<CheckIcon />
</ListItemIcon>
</EligibilityGroupItem>
<EligibilityGroupItem>
Congregate care settings
</ListItem>
<ListItem>
<ListItemIcon>
<CheckIcon />
</ListItemIcon>
</EligibilityGroupItem>
<EligibilityGroupItem>
First responders
</ListItem>
<ListItem>
<ListItemIcon>
<CheckIcon />
</ListItemIcon>
</EligibilityGroupItem>
<EligibilityGroupItem>
Long term care facilities, rest homes and assisted
living facilities
</ListItem>
<ListItem>
<ListItemIcon>
<CheckIcon />
</ListItemIcon>
</EligibilityGroupItem>
<EligibilityGroupItem>
Clinical and non-clinical health care workers doing
direct and COVID-facing care
</ListItem>
</EligibilityGroupItem>
</List>
</AccordionDetails>
</Accordion>
Expand Down

0 comments on commit 5db6070

Please sign in to comment.