diff --git a/src/components/Introduction.tsx b/src/components/Introduction.tsx new file mode 100644 index 0000000..b9ee7f7 --- /dev/null +++ b/src/components/Introduction.tsx @@ -0,0 +1,40 @@ +import type { FC, ReactNode } from "react" +import { + type GridDirection, + Stack, + Typography, + Unstable_Grid2 as Grid +} from "@mui/material" +import type { ResponsiveStyleValue } from "@mui/system" + +import { Image } from "codeforlife/components" + +const Introduction: FC<{ + header: string; + img: { alt: string; src: string }; + children: ReactNode; + direction?: ResponsiveStyleValue; +}> = ({ header, img, children, direction = 'row' }) => { + return ( + <> + + + + {header} + {children} + + + + {img.alt} + + + + ); +}; + +export default Introduction; diff --git a/src/images/about_us.jpg b/src/images/about_us.jpg new file mode 100644 index 0000000..f109f8b Binary files /dev/null and b/src/images/about_us.jpg differ diff --git a/src/images/coding_club_hero_hexagon.jpg b/src/images/coding_club_hero_hexagon.jpg new file mode 100644 index 0000000..1da636b Binary files /dev/null and b/src/images/coding_club_hero_hexagon.jpg differ diff --git a/src/images/coding_club_python_pack.png b/src/images/coding_club_python_pack.png new file mode 100644 index 0000000..c222ebb Binary files /dev/null and b/src/images/coding_club_python_pack.png differ diff --git a/src/pages/codingClubs/ClubAim.tsx b/src/pages/codingClubs/ClubAim.tsx new file mode 100644 index 0000000..bb7d129 --- /dev/null +++ b/src/pages/codingClubs/ClubAim.tsx @@ -0,0 +1,26 @@ +import { type FC } from "react" +import { + Stack, + Typography +} from '@mui/material'; + +const ClubAim: FC = () => { + return <> + + + Who are the club packs aimed at? + + + The FREE resource packs are aimed at two different groups, the first is aimed at students ages between 7-11yrs with an interest in learning Python. The second pack is aimed at students 12yrs and up, including adults. This moves at a much faster pace and also introduces students to setting up an environment on their own computer. + + + Both packs are a condensed learning pathway using our game Rapid Router alongside suggested session plan and slides. + + + ; +}; + +export default ClubAim; diff --git a/src/pages/codingClubs/CodingClubs.tsx b/src/pages/codingClubs/CodingClubs.tsx new file mode 100644 index 0000000..a2a3c8b --- /dev/null +++ b/src/pages/codingClubs/CodingClubs.tsx @@ -0,0 +1,79 @@ +import { type FC } from "react" +import { Typography, useTheme } from "@mui/material" +import { Download as DownloadIcon } from "@mui/icons-material" + +import * as page from "codeforlife/components/page" + +import CodeClubHeroImage from "../../images/coding_club_hero_hexagon.jpg" +import AboutUsCFLImage from "../../images/about_us.jpg" +import PythonClubImage from "../../images/coding_club_python_pack.png" +import Introduction from "../../components/Introduction" + +import ClubAim from "./ClubAim" +import { Link, LinkButton } from "codeforlife/components/router" + +const CodingClubs: FC = () => { + const theme = useTheme(); + + return ( + + + + + + + + + Download your FREE coding club pack for students aged 7-11. This pack introduces students to the first principles of Python at a faster pace than the regular lesson plans. It is aimed at students already interested in learning coding and can be used in clubs, at home or in school, on or offline. + + + View the resources + online here + . + + {/*TODO: Link to GTM for analytics*/} + }> + Download the Primary coding club pack + + + + + + + Download your FREE coding club pack for students aged 12 and above. This pack is a fast paced introduction to Python. It is aimed at students already interested in learning coding, individuals looking to learn and run their own club, or adults wanting to try coding out. It is designed to be used in face-to-face or online clubs. + + + View the resources + online here + . + + {/*TODO: Link to GTM for analytics*/} + }> + Download the Python coding club pack + + + + + ); +}; + +export default CodingClubs; diff --git a/src/router/routes/general.tsx b/src/router/routes/general.tsx index 3294bfc..5e715f5 100644 --- a/src/router/routes/general.tsx +++ b/src/router/routes/general.tsx @@ -2,7 +2,7 @@ import { Route } from "react-router-dom" import Home from "../../pages/home/Home" // import AboutUs from '../../pages/aboutUs/AboutUs'; -// import CodingClubs from '../../pages/codingClubs/CodingClubs'; +import CodingClubs from '../../pages/codingClubs/CodingClubs'; // import GetInvolved from '../../pages/getInvolved/GetInvolved'; // import Contribute from '../../pages/contribute/Contribute'; // import HomeLearning from '../../pages/homeLearning/HomeLearning'; @@ -18,7 +18,7 @@ const general = ( {/* } /> */} {/* } /> */} {/* } /> */} - {/* } /> */} + } /> {/* } /> */} )