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" ;
1+ import ContentSection from '@/components/shared/static/ContentSection' ;
2+ import HeroSection from '@/components/shared/static/HeroSection' ;
3+ import RichTextBlock from '@/components/shared/static/RichTextBlock' ;
4+ import StaticPageLayout from '@/components/shared/static/StaticPageLayout' ;
55
6- const EducationPage = ( ) => {
7- const location = useLocation ( ) ;
6+ export default function EducationPage ( ) {
7+ return (
8+ < StaticPageLayout title = "Educational use" >
9+ < HeroSection
10+ title = "Coming soon"
11+ description = "We're currently developing comprehensive content about how PolicyEngine can be used in educational settings. This page will include:"
12+ />
813
9- useEffect ( ( ) => {
10- document . title = "Educational use | PolicyEngine" ;
11- window . scrollTo ( 0 , 0 ) ;
12- } , [ location ] ) ;
14+ < ContentSection variant = "secondary" >
15+ < RichTextBlock >
16+ < ul >
17+ < li > Classroom guides for teaching tax and benefit policies</ li >
18+ < li > University case studies of PolicyEngine in research and teaching</ li >
19+ < li > Educational resources for various learning levels</ li >
20+ < li > Integration with educational curricula</ li >
21+ < li > Workshop materials and lesson plans</ li >
22+ </ ul >
23+ </ RichTextBlock >
24+ </ ContentSection >
1325
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'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'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" >
74- hello@policyengine.org
75- </ Anchor >
76- .
77- </ Text >
78- </ Box >
79- </ Container >
80- </ >
26+ < ContentSection >
27+ < RichTextBlock >
28+ < p >
29+ If you're using PolicyEngine in an educational setting and would like to contribute your
30+ story or resources, please contact us at{ ' ' }
31+ < a href = "mailto:hello@policyengine.org" > hello@policyengine.org</ a > .
32+ </ p >
33+ </ RichTextBlock >
34+ </ ContentSection >
35+ </ StaticPageLayout >
8136 ) ;
82- } ;
83-
84- export default EducationPage ;
37+ }
0 commit comments