From d6bfc1c72bac8909a89cb44bf9297d00a9fd644b Mon Sep 17 00:00:00 2001 From: faucomte97 Date: Thu, 8 Aug 2024 22:41:42 +0100 Subject: [PATCH] Feedback --- .env | 4 ++-- src/pages/aboutUs/AboutUs.tsx | 9 +++------ src/pages/aboutUs/Quotes.tsx | 6 +----- src/pages/aboutUs/Statistics.tsx | 6 ++---- src/pages/aboutUs/Supporters.tsx | 33 +++++++++++++------------------- 5 files changed, 21 insertions(+), 37 deletions(-) diff --git a/.env b/.env index 410edad..dc1cf94 100644 --- a/.env +++ b/.env @@ -9,8 +9,8 @@ VITE_GMAIL_FILTERS_EMAIL_VERIFICATION="from:no-reply@info.codeforlife.education 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_HREF=https://github.com/ocadotechnology/codeforlife-portal -VITE_LINK_CFL_DOCS_HREF=https://docs.codeforlife.education/ +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 diff --git a/src/pages/aboutUs/AboutUs.tsx b/src/pages/aboutUs/AboutUs.tsx index ca181bc..1ec74c9 100644 --- a/src/pages/aboutUs/AboutUs.tsx +++ b/src/pages/aboutUs/AboutUs.tsx @@ -1,6 +1,5 @@ import * as page from "codeforlife/components/page" import { type FC } from "react" -import { useTheme } from "@mui/material" import AboutUsHeroImage from "../../images/about_us_hero_hexagon.png" import CodeForLife from "./CodeForLife" @@ -13,8 +12,6 @@ import Supporters from "./Supporters" export interface AboutUsProps {} const AboutUs: FC = () => { - const theme = useTheme() - return ( = () => { - + - + - + diff --git a/src/pages/aboutUs/Quotes.tsx b/src/pages/aboutUs/Quotes.tsx index b03e6c1..a685253 100644 --- a/src/pages/aboutUs/Quotes.tsx +++ b/src/pages/aboutUs/Quotes.tsx @@ -1,11 +1,7 @@ import { Unstable_Grid2 as Grid, Typography } from "@mui/material" import { type FC } from "react" -export interface QuoteProps { - children: string -} - -const Quote: FC = ({ children }) => { +const Quote: FC<{ children: string }> = ({ children }) => { return ( = ({ number, description }) => ( +}> = ({ number, description }) => ( = ({ desc, src }) => ( +}> = ({ desc, src }) => ( {desc} ) @@ -52,23 +55,13 @@ const Supporters: FC = () => { Developers To contribute, head over to{" "} - + GitHub , check out the issue tracker, and get started. There you can suggest new features or assign yourself an issue to develop. You can find more info about how to do all these on our{" "} - + docs on Gitbook . @@ -76,14 +69,14 @@ const Supporters: FC = () => { Teachers, parents, and creatives Please get in touch through our{" "} - { // useFreshworksWidget("open") // }} > contact - {" "} + {" "} form and let us know how you would like to get involved.