Skip to content

Commit 57fe87b

Browse files
Create Education Page
1 parent 9ecf667 commit 57fe87b

File tree

1 file changed

+84
-0
lines changed

1 file changed

+84
-0
lines changed

src/pages/Education.page.tsx

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
import { useEffect } from "react";
2+
import { useLocation } from "react-router-dom";
3+
import { Container, Title, Text, List, Anchor, Box, Stack } from "@mantine/core";
4+
import { colors, spacing, typography } from "@/designTokens";
5+
6+
const EducationPage = () => {
7+
const location = useLocation();
8+
9+
useEffect(() => {
10+
document.title = "Educational use | PolicyEngine";
11+
window.scrollTo(0, 0);
12+
}, [location]);
13+
14+
return (
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+
>
25+
<Title
26+
order={2}
27+
ta="center"
28+
mb="lg"
29+
style={{
30+
color: colors.blue[700],
31+
marginBottom: "1.5rem",
32+
}}
33+
>
34+
Coming soon
35+
</Title>
36+
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:
41+
</Text>
42+
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>
68+
69+
<Text ta="center" size="lg">
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:[email protected]">
74+
75+
</Anchor>
76+
.
77+
</Text>
78+
</Box>
79+
</Container>
80+
</>
81+
);
82+
};
83+
84+
export default EducationPage;

0 commit comments

Comments
 (0)