Skip to content
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

About us page #29

Merged
merged 4 commits into from
Aug 12, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ VITE_GMAIL_FILTERS_EMAIL_VERIFICATION="from:[email protected]
# Links to external sites.
VITE_LINK_FEMALE_GRADUATES_IN_CS=https://www.wisecampaign.org.uk/core-stem-graduates-2019/
VITE_LINK_OUTLOOK_HOME=https://outlook.live.com/mail/
VITE_LINK_SKILLS_FOR_THE_FUTURE=https://www.ocadogroup.com/sustainability/sustainability/
VITE_LINK_PORTAL_GITHUB=https://github.com/ocadotechnology/codeforlife-portal
VITE_LINK_CFL_DOCS=https://docs.codeforlife.education/become-a-contributor
VITE_LINK_PRIMARY_PACK_GITBOOK=https://code-for-life.gitbook.io/teaching-resources/v/code-club-resources-primary
VITE_LINK_PRIMARY_PACK_DOWNLOAD=https://storage.googleapis.com/codeforlife-assets/club_packs/PrimaryCodingClub.zip
VITE_LINK_PYTHON_PACK_GITBOOK=https://code-for-life.gitbook.io/teaching-resources/v/rapid-introduction-to-python-code-club
Expand Down
4 changes: 2 additions & 2 deletions src/components/Introduction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import type { ResponsiveStyleValue } from "@mui/system"

export interface IntroductionProps {
header: string
img: { alt: string; src: string }
img: { desc: string; src: string }
children: ReactNode
direction?: ResponsiveStyleValue<GridDirection>
}
Expand All @@ -36,7 +36,7 @@ const Introduction: FC<IntroductionProps> = ({
</Stack>
</Grid>
<Grid xs={12} md={6} className="flex-center">
<Image alt={img.alt} src={img.src} />
<Image alt={img.desc} title={img.desc} src={img.src} />
</Grid>
</Grid>
</>
Expand Down
Binary file added src/images/10x_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/about_us_hero_hexagon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/about_us_ocado.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/barefoot_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/bcs_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/gla_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/hope_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/icl_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/mc_saatchi_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/pressure_cooker_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/sharon_harrison.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
50 changes: 50 additions & 0 deletions src/pages/aboutUs/AboutUs.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
import * as page from "codeforlife/components/page"
import { type FC } from "react"

import AboutUsHeroImage from "../../images/about_us_hero_hexagon.png"
import CodeForLife from "./CodeForLife"
import Dedication from "./Dedication"
import OcadoGroup from "./OcadoGroup"
import Quotes from "./Quotes"
import Statistics from "./Statistics"
import Supporters from "./Supporters"

export interface AboutUsProps {}

const AboutUs: FC<AboutUsProps> = () => {
return (

Check warning on line 15 in src/pages/aboutUs/AboutUs.tsx

View check run for this annotation

Codecov / codecov/patch

src/pages/aboutUs/AboutUs.tsx#L14-L15

Added lines #L14 - L15 were not covered by tests
<page.Page>
<page.Banner
imageProps={{
alt: "Girl using a tablet",
title: "Girl using a tablet",
src: AboutUsHeroImage,
}}
header="About Code for Life"
subheader={
"Code For Life gives everyone the ability to shape technology's future"
}
/>
<page.Section>
<Statistics />
</page.Section>
<page.Section boxProps={{ bgcolor: "info.main" }}>
<CodeForLife />
</page.Section>
<page.Section>
<OcadoGroup />
</page.Section>
<page.Section boxProps={{ bgcolor: "info.main" }}>
<Quotes />
</page.Section>
<page.Section>
<Supporters />
</page.Section>
<page.Section boxProps={{ bgcolor: "info.main" }}>
<Dedication />
</page.Section>
</page.Page>
)
}

export default AboutUs
39 changes: 39 additions & 0 deletions src/pages/aboutUs/CodeForLife.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
import { type FC } from "react"
import { Typography } from "@mui/material"

import AboutUsCFLImage from "../../images/about_us.jpg"
import Introduction from "../../components/Introduction"

export interface CodeForLifeProps {}

const CodeForLife: FC<CodeForLifeProps> = () => {
return (

Check warning on line 10 in src/pages/aboutUs/CodeForLife.tsx

View check run for this annotation

Codecov / codecov/patch

src/pages/aboutUs/CodeForLife.tsx#L9-L10

Added lines #L9 - L10 were not covered by tests
<Introduction
header="What is Code for Life?"
img={{
desc: "Girl looking at Code for Life website",
src: AboutUsCFLImage,
}}
>
<Typography>
Code for Life (CFL) is a free, easy-to-use resource that provides
teaching and lesson plans, user guides and engagement through our fun
coding games and resources. These games are specially designed for
people learning computing for the first time.
</Typography>
<Typography>
The aim is to teach new coders the basic principles, to help them thrive
in an increasingly digital world. CFL is primarily designed for and
tested by primary school teachers. Our games are aligned with the
UK&apos;s computing curriculum, so teachers can incorporate CFL into
their lessons.
</Typography>
<Typography mb={0}>
But anyone looking to get into coding can also do so using the games and
resources.
</Typography>
</Introduction>
)
}

export default CodeForLife
43 changes: 43 additions & 0 deletions src/pages/aboutUs/Dedication.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
import { Stack, Typography } from "@mui/material"
import { type FC } from "react"
import { Image } from "codeforlife/components"

import SharonHarrisonImage from "../../images/sharon_harrison.jpg"

export interface DedicationProps {}

const Dedication: FC<DedicationProps> = () => {
return (

Check warning on line 10 in src/pages/aboutUs/Dedication.tsx

View check run for this annotation

Codecov / codecov/patch

src/pages/aboutUs/Dedication.tsx#L9-L10

Added lines #L9 - L10 were not covered by tests
<>
<Stack alignItems="center">
<Typography variant="h4" textAlign="center">
Dedicated to Sharon Harrison
</Typography>
<Image
alt={"Sharon Harrison"}
src={SharonHarrisonImage}
maxWidth="150px"
marginY={3}
/>
<Typography variant="h5" textAlign="center">
1956 — 2015
</Typography>
<Stack>
<Typography fontWeight="bold">
Sharon was instrumental in helping to create Code for Life. At the
beginning of 2014 she was recruited to act as our Educational
Consultant. The project drew on her previous skills as a pioneering
computing teacher and education consultant.
</Typography>
<Typography mb={0}>
Sharon has left a lasting legacy by creating something which will
help teach STEM skills to the next generation of computer scientists
across the world.
</Typography>
</Stack>
</Stack>
</>
)
}

export default Dedication
49 changes: 49 additions & 0 deletions src/pages/aboutUs/OcadoGroup.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
import { type FC } from "react"
import { Link } from "codeforlife/components/router"
import { Typography } from "@mui/material"

import AboutUsOcadoImage from "../../images/about_us_ocado.jpg"
import Introduction from "../../components/Introduction"

export interface OcadoGroupProps {}

const OcadoGroup: FC<OcadoGroupProps> = () => {
return (

Check warning on line 11 in src/pages/aboutUs/OcadoGroup.tsx

View check run for this annotation

Codecov / codecov/patch

src/pages/aboutUs/OcadoGroup.tsx#L10-L11

Added lines #L10 - L11 were not covered by tests
<Introduction
header="Who is Ocado Group?"
img={{
desc: "Man teaching two children on a laptop",
src: AboutUsOcadoImage,
}}
direction="row-reverse"
>
<Typography>
Ocado Group, the online grocery solutions provider, is powering the
future of online retail. Ocado&apos;s tech and solutions are supplied to
grocery businesses all around the world. It enables these
forward-thinking retailers to do grocery online profitably, sustainably,
and in a scalable manner.
</Typography>
<Typography>
Ocado Smart Platform (OSP) is the world&apos;s most advanced end-to-end
e-Commerce, fulfilment and logistic platform.
</Typography>
<Typography mb={0}>
<Link
to={import.meta.env.VITE_LINK_SKILLS_FOR_THE_FUTURE}
target="_blank"
>
Skills for the Future
</Link>{" "}
is one of Ocado Group&apos;s core Corporate Responsibility pillars,
which is part of the Ocado Unlimited strategy (alongside Natural
Resources and Responsible Sourcing). For Ocado Group, Skills for the
Future means championing digital literacy. We want to inspire the next
generation of STEM leaders, so that everyone can fully participate in
society.
</Typography>
</Introduction>
)
}

export default OcadoGroup
62 changes: 62 additions & 0 deletions src/pages/aboutUs/Quotes.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
import { Unstable_Grid2 as Grid, Typography } from "@mui/material"
import { type FC } from "react"

const Quote: FC<{ children: string }> = ({ children }) => {
return (

Check warning on line 5 in src/pages/aboutUs/Quotes.tsx

View check run for this annotation

Codecov / codecov/patch

src/pages/aboutUs/Quotes.tsx#L4-L5

Added lines #L4 - L5 were not covered by tests
<Typography
sx={{
color: theme => theme.palette.primary.main,

Check warning on line 8 in src/pages/aboutUs/Quotes.tsx

View check run for this annotation

Codecov / codecov/patch

src/pages/aboutUs/Quotes.tsx#L8

Added line #L8 was not covered by tests
fontSize: "1.3rem !important",
fontFamily: "SpaceGrotesk",
lineHeight: "1.8rem",
fontWeight: "600",
}}
>
“{children}”
</Typography>
)
}

export interface QuotesProps {}

const Quotes: FC<QuotesProps> = () => {
return (

Check warning on line 23 in src/pages/aboutUs/Quotes.tsx

View check run for this annotation

Codecov / codecov/patch

src/pages/aboutUs/Quotes.tsx#L22-L23

Added lines #L22 - L23 were not covered by tests
<>
<Typography variant="h4" textAlign="center">
Code for Life and Ocado Group
</Typography>
<Grid container spacing={4}>
<Grid xs={12} md={6}>
<Quote>
We were delighted computing entered the UK curriculum in 2014.
However, many teachers felt unprepared. And the lack of diversity in
people studying STEM concerned us. So, we sought to make the subject
appeal to a broader group of both students and teachers.
</Quote>
<Typography mb={0}>
Anne Marie Neatham, Commercial Director and COO Kindred, Ocado
Group.
</Typography>
</Grid>
<Grid xs={12} md={6}>
<Typography>
With that in mind, CFL was developed by volunteers and interns from
Ocado Technology - the technology arm of Ocado Group - and teacher
Sharon Harrison, who created the Rapid Router learning materials.
Anne Marie continues:
</Typography>
<Quote>
I&apos;m proud this initiative has been breaking down stereotypes.
Children are seeing that you don&apos;t have to fit a certain
gender, race or personality type to get coding.
</Quote>
<Typography mb={0}>
Today, CFL is operated by a small core team and volunteers.
</Typography>
</Grid>
</Grid>
</>
)
}

export default Quotes
48 changes: 48 additions & 0 deletions src/pages/aboutUs/Statistics.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
import { Stack, Typography } from "@mui/material"
import { type FC } from "react"

const Statistic: FC<{
number: string
description: string
}> = ({ number, description }) => (
<Stack>

Check warning on line 8 in src/pages/aboutUs/Statistics.tsx

View check run for this annotation

Codecov / codecov/patch

src/pages/aboutUs/Statistics.tsx#L7-L8

Added lines #L7 - L8 were not covered by tests
<Typography
variant="h2"
sx={{ color: theme => theme.palette.tertiary.main }}

Check warning on line 11 in src/pages/aboutUs/Statistics.tsx

View check run for this annotation

Codecov / codecov/patch

src/pages/aboutUs/Statistics.tsx#L11

Added line #L11 was not covered by tests
>
{number}
</Typography>
<Typography mb={0}>{description}</Typography>
</Stack>
)

export interface StatisticsProps {}

const Statistics: FC<StatisticsProps> = () => {
return (
<>
<Stack textAlign="center">

Check warning on line 24 in src/pages/aboutUs/Statistics.tsx

View check run for this annotation

Codecov / codecov/patch

src/pages/aboutUs/Statistics.tsx#L21-L24

Added lines #L21 - L24 were not covered by tests
<Typography variant="h4">
Code For Life is a non profit initiative that delivers free,
open-source games that help all students learn computing.
</Typography>
<Stack direction={{ xs: "column", md: "row" }} spacing={6} mt={3}>
<Statistic
number="2014"
description="The year that computing was added to the UK curriculum. We've been supporting teachers and students ever since."
/>
<Statistic
number=">160"
description="Countries are taking part, with the UK, the USA, Brazil, Australia and Canada as top locations for schools signed up to CFL. Nearly 10,000 schools are registered globally."
/>
<Statistic
number=">250,000"
description="Active users so far, with numbers growing every day. In 2020 alone, close to 100,000 new people subscribed to our resources."
/>
</Stack>
</Stack>
</>
)
}

export default Statistics
Loading