Skip to content

Commit d277aa7

Browse files
Revert "Update Education Page to use the bullets column component"
This reverts commit 9fdfc437baf357117b3b6e578d3651618ba40ae5.
1 parent 95fc720 commit d277aa7

File tree

1 file changed

+54
-41
lines changed

1 file changed

+54
-41
lines changed

app/src/pages/Education.page.tsx

Lines changed: 54 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
import { useEffect } from "react";
22
import { useLocation } from "react-router-dom";
3-
import { Container, Title, Text, Anchor, Center, Stack } from "@mantine/core";
4-
import { colors, spacing } from "@/designTokens";
5-
import { BulletsColumn } from "@/components/columns/BulletsColumn";
6-
import { BulletsValue } from "@/components/columns/types";
3+
import { Container, Title, Text, List, Anchor, Box, Stack } from "@mantine/core";
4+
import { colors, spacing, typography } from "@/designTokens";
75

86
const EducationPage = () => {
97
const location = useLocation();
@@ -13,58 +11,73 @@ const EducationPage = () => {
1311
window.scrollTo(0, 0);
1412
}, [location]);
1513

16-
const educationalContent: BulletsValue = {
17-
items: [
18-
{
19-
text: "Classroom guides for teaching tax and benefit policies",
20-
},
21-
{
22-
text: "University case studies of PolicyEngine in research and teaching",
23-
},
24-
{
25-
text: "Educational resources for various learning levels",
26-
},
27-
{
28-
text: "Integration with educational curricula",
29-
},
30-
{
31-
text: "Workshop materials and lesson plans",
32-
},
33-
],
34-
};
35-
3614
return (
37-
<Container size="md" py="xl">
38-
<Center>
39-
<Stack align="center" gap="xl" maw={800}>
15+
<>
16+
<Container size="md" py="xl">
17+
<Box
18+
style={{
19+
maxWidth: "800px",
20+
margin: "0 auto",
21+
textAlign: "center",
22+
padding: "3rem 1rem",
23+
}}
24+
>
4025
<Title
41-
order={1}
26+
order={2}
4227
ta="center"
43-
c={colors.blue[700]}
44-
size="xl"
28+
mb="lg"
29+
style={{
30+
color: colors.blue[700],
31+
marginBottom: "1.5rem",
32+
}}
4533
>
4634
Coming soon
4735
</Title>
4836

49-
<Text ta="center" size="lg">
50-
We&apos;re currently developing comprehensive content about how PolicyEngine can be used in educational settings. This page will include:
37+
<Text ta="center" size="lg" mb="lg">
38+
We&apos;re currently developing comprehensive content about how
39+
PolicyEngine can be used in educational settings. This page will
40+
include:
5141
</Text>
5242

53-
<BulletsColumn
54-
config={{ key: 'educational', header: '', type: 'bullets', items: [] }}
55-
value={educationalContent}
56-
/>
43+
<Box
44+
style={{
45+
textAlign: "left",
46+
display: "inline-block",
47+
margin: "1.5rem auto",
48+
}}
49+
>
50+
<List spacing="sm" size="lg">
51+
<List.Item style={{ marginBottom: "0.5rem" }}>
52+
Classroom guides for teaching tax and benefit policies
53+
</List.Item>
54+
<List.Item style={{ marginBottom: "0.5rem" }}>
55+
University case studies of PolicyEngine in research and teaching
56+
</List.Item>
57+
<List.Item style={{ marginBottom: "0.5rem" }}>
58+
Educational resources for various learning levels
59+
</List.Item>
60+
<List.Item style={{ marginBottom: "0.5rem" }}>
61+
Integration with educational curricula
62+
</List.Item>
63+
<List.Item style={{ marginBottom: "0.5rem" }}>
64+
Workshop materials and lesson plans
65+
</List.Item>
66+
</List>
67+
</Box>
5768

5869
<Text ta="center" size="lg">
59-
If you&apos;re using PolicyEngine in an educational setting and would like to contribute your story or resources, please contact us at{" "}
60-
<Anchor href="mailto:hello@policyengine.org" c={colors.blue[700]} td="underline">
70+
If you&apos;re using PolicyEngine in an educational setting and
71+
would like to contribute your story or resources, please contact us
72+
at{" "}
73+
<Anchor href="mailto:hello@policyengine.org">
6174
hello@policyengine.org
6275
</Anchor>
6376
.
6477
</Text>
65-
</Stack>
66-
</Center>
67-
</Container>
78+
</Box>
79+
</Container>
80+
</>
6881
);
6982
};
7083

0 commit comments

Comments
 (0)