Skip to content

Commit

Permalink
feat: add keystage keypad to homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
CraigMcCahill committed Nov 30, 2022
1 parent fd5d92a commit 50a9455
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/pages/beta/teachers.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { GetStaticProps, GetStaticPropsResult, NextPage } from "next";

import keyStageKeypad from "../../browser-lib/fixtures/keyStagesKeypad";
import AppLayout from "../../components/AppLayout";
import { DEFAULT_SEO_PROPS } from "../../browser-lib/seo/Seo";
import { Heading } from "../../components/Typography";
Expand All @@ -14,6 +15,8 @@ import Flex from "../../components/Flex";
import MaxWidth from "../../components/MaxWidth/MaxWidth";
import { HomeSiteCards, SharedHomeContent } from "../../components/pages/Home";
import useBlogList from "../../components/Blog/BlogList/useBlogList";
import KeyStageKeypad from "../../components/KeyStageKeypad";
import Grid, { GridArea } from "../../components/Grid";

const Teachers: NextPage<HomePageProps> = (props) => {
const posts = props.posts.map(postToBlogListItem);
Expand All @@ -26,12 +29,19 @@ const Teachers: NextPage<HomePageProps> = (props) => {
<Heading
$font={["heading-5", "heading-4"]}
tag={"h1"}
$mb={24}
$mt={120}
$color={"black"}
>
Your foundation for great lessons
</Heading>
<Heading $font={"heading-light-6"} tag={"h2"} $mt={8}>
Find inspiration. Get support. Go teach.
</Heading>
<Grid $mt={48}>
<GridArea $colSpan={[12, 6, 4]}>
<KeyStageKeypad keyStages={keyStageKeypad.keyStages} />
</GridArea>
</Grid>
<HomeSiteCards />
</MaxWidth>
</Flex>
Expand Down

0 comments on commit 50a9455

Please sign in to comment.