11import { useEffect } from "react" ;
22import { useLocation } from "react-router-dom" ;
3- import { Container , Title , Text , List , Anchor , Box , Stack } from "@mantine/core" ;
4- import { colors , spacing , typography } from "@/designTokens" ;
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" ;
57
68const EducationPage = ( ) => {
79 const location = useLocation ( ) ;
@@ -11,73 +13,58 @@ const EducationPage = () => {
1113 window . scrollTo ( 0 , 0 ) ;
1214 } , [ location ] ) ;
1315
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+
1436 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- >
37+ < Container size = "md" py = "xl" >
38+ < Center >
39+ < Stack align = "center" gap = "xl" maw = { 800 } >
2540 < Title
26- order = { 2 }
41+ order = { 1 }
2742 ta = "center"
28- mb = "lg"
29- style = { {
30- color : colors . blue [ 700 ] ,
31- marginBottom : "1.5rem" ,
32- } }
43+ c = { colors . blue [ 700 ] }
44+ size = "xl"
3345 >
3446 Coming soon
3547 </ Title >
3648
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:
49+ < Text ta = "center" size = "lg" >
50+ We're currently developing comprehensive content about how PolicyEngine can be used in educational settings. This page will include:
4151 </ Text >
4252
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 >
53+ < BulletsColumn
54+ config = { { key : 'educational' , header : '' , type : 'bullets' , items : [ ] } }
55+ value = { educationalContent }
56+ />
6857
6958 < 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:[email protected] " > 59+ If you're using PolicyEngine in an educational setting and would like to contribute your story or resources, please contact us at{ " " }
60+ < Anchor href = "mailto:[email protected] " c = { colors . blue [ 700 ] } td = "underline" > 74617562 </ Anchor >
7663 .
7764 </ Text >
78- </ Box >
79- </ Container >
80- </ >
65+ </ Stack >
66+ </ Center >
67+ </ Container >
8168 ) ;
8269} ;
8370
0 commit comments