-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'development' into portal-frontend-31
- Loading branch information
Showing
6 changed files
with
86 additions
and
2 deletions.
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.
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 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,84 @@ | ||
import * as page from "codeforlife/components/page" | ||
import { ChevronRightRounded as ChevronRightRoundedIcon } from "@mui/icons-material" | ||
import { type FC } from "react" | ||
import { Unstable_Grid2 as Grid } from "@mui/material" | ||
import { useNavigate } from "react-router-dom" | ||
|
||
import Card from "../../components/Card" | ||
import ClubsImg from "../../images/clubs.png" | ||
import GetInvolvedHero from "../../images/get_involved_hero_hexagon.png" | ||
import GithubImg from "../../images/github.png" | ||
import UniversitiesImg from "../../images/universities.png" | ||
import { paths } from "../../router" | ||
|
||
export interface GetInvolvedProps {} | ||
|
||
const GetInvolved: FC<GetInvolvedProps> = () => { | ||
const navigate = useNavigate() | ||
|
||
return ( | ||
<page.Page> | ||
<page.Banner | ||
header="Get involved" | ||
subheader="How you can get involved with the creation of Code for Life products and resources" | ||
imageProps={{ | ||
title: "Adult teaching two children", | ||
alt: "Adult teaching two children", | ||
src: GetInvolvedHero, | ||
}} | ||
/> | ||
<page.Section> | ||
<Grid container spacing={4}> | ||
<Grid xs={12} md={6} lg={4}> | ||
<Card | ||
title="Starting a coding club of your own" | ||
description="Become a Code for Life ambassador by starting up a coding club. Find out more about how you can get involved with this by visiting our coding club page." | ||
mediaProps={{ | ||
title: "Student showing their work to teacher", | ||
image: ClubsImg, | ||
}} | ||
buttonProps={{ | ||
onClick: () => { | ||
navigate(paths.codingClubs._) | ||
}, | ||
children: "Read more", | ||
endIcon: <ChevronRightRoundedIcon />, | ||
}} | ||
/> | ||
</Grid> | ||
<Grid xs={12} md={6} lg={4}> | ||
<Card | ||
title="Contribute through code" | ||
description="We welcome volunteers from all backgrounds to help us with our coding adventure. Take a look at our contribution guide to find out how to get involved in our open source projects." | ||
mediaProps={{ title: "Github repository page", image: GithubImg }} | ||
buttonProps={{ | ||
onClick: () => { | ||
navigate(paths.contribute._) | ||
}, | ||
children: "Read more", | ||
endIcon: <ChevronRightRoundedIcon />, | ||
}} | ||
/> | ||
</Grid> | ||
<Grid xs={12} md={6} lg={4}> | ||
<Card | ||
title="University partnerships" | ||
description="Please get in touch at [email protected] if you are interested in working on Code for Life projects with your students including coding, user experience, data analytics and new feature design." | ||
mediaProps={{ | ||
title: "Three students looking at laptops", | ||
image: UniversitiesImg, | ||
}} | ||
buttonProps={{ | ||
href: "mailto:[email protected]", | ||
children: "Get in touch", | ||
endIcon: <ChevronRightRoundedIcon />, | ||
}} | ||
/> | ||
</Grid> | ||
</Grid> | ||
</page.Section> | ||
</page.Page> | ||
) | ||
} | ||
|
||
export default GetInvolved |
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