diff --git a/src/images/clubs.png b/src/images/clubs.png new file mode 100644 index 0000000..841cdd9 Binary files /dev/null and b/src/images/clubs.png differ diff --git a/src/images/get_involved_hero_hexagon.png b/src/images/get_involved_hero_hexagon.png new file mode 100644 index 0000000..59c232e Binary files /dev/null and b/src/images/get_involved_hero_hexagon.png differ diff --git a/src/images/github.png b/src/images/github.png new file mode 100644 index 0000000..2266cc4 Binary files /dev/null and b/src/images/github.png differ diff --git a/src/images/universities.png b/src/images/universities.png new file mode 100644 index 0000000..2e07a57 Binary files /dev/null and b/src/images/universities.png differ diff --git a/src/pages/getInvolved/GetInvolved.tsx b/src/pages/getInvolved/GetInvolved.tsx new file mode 100644 index 0000000..45f71d3 --- /dev/null +++ b/src/pages/getInvolved/GetInvolved.tsx @@ -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 = () => { + const navigate = useNavigate() + + return ( + + + + + + { + navigate(paths.codingClubs._) + }, + children: "Read more", + endIcon: , + }} + /> + + + { + navigate(paths.contribute._) + }, + children: "Read more", + endIcon: , + }} + /> + + + , + }} + /> + + + + + ) +} + +export default GetInvolved diff --git a/src/router/routes/general.tsx b/src/router/routes/general.tsx index dc63628..68fad25 100644 --- a/src/router/routes/general.tsx +++ b/src/router/routes/general.tsx @@ -2,8 +2,8 @@ import { Route } from "react-router-dom" import AboutUs from "../../pages/aboutUs/AboutUs" import CodingClubs from "../../pages/codingClubs/CodingClubs" +import GetInvolved from "../../pages/getInvolved/GetInvolved" import Home from "../../pages/home/Home" -// import GetInvolved from '../../pages/getInvolved/GetInvolved'; // import Contribute from '../../pages/contribute/Contribute'; // import HomeLearning from '../../pages/homeLearning/HomeLearning'; // import PrivacyNotice from '../../pages/privacyNotice/PrivacyNotice'; @@ -17,7 +17,7 @@ const general = ( {/* } /> */} {/* } /> */} {/* } /> */} - {/* } /> */} + } /> } /> {/* } /> */}