@@ -45,6 +45,77 @@ export default function IndexPage() {
45
45
{ t ( 'title' ) }
46
46
</ Heading >
47
47
48
+ < Stack spacing = { { base : 10 , md : 12 } } >
49
+ < CurrentStatus />
50
+
51
+ < Stack spacing = { 6 } >
52
+ < Heading as = "h2" fontSize = "lg" >
53
+ { t ( 'mission.title' ) }
54
+ </ Heading >
55
+ < Text > { t ( 'mission.body' ) } </ Text >
56
+ </ Stack >
57
+
58
+ < Stack spacing = { 6 } >
59
+ < Heading as = "h2" fontSize = "lg" >
60
+ { t ( 'values.title' ) }
61
+ </ Heading >
62
+ < UnorderedList spacing = { 3 } >
63
+ < ListItem >
64
+ < Text as = "span" fontWeight = "bold" >
65
+ { t ( 'values.transparency.title' ) }
66
+ </ Text >
67
+ : { t ( 'values.transparency.body' ) }
68
+ </ ListItem >
69
+ < ListItem >
70
+ < Text as = "span" fontWeight = "bold" >
71
+ { t ( 'values.diversity.title' ) }
72
+ </ Text >
73
+ : { t ( 'values.diversity.body' ) }
74
+ </ ListItem >
75
+ < ListItem >
76
+ < Text as = "span" fontWeight = "bold" >
77
+ { t ( 'values.responsibility.title' ) }
78
+ </ Text >
79
+ : { t ( 'values.responsibility.body' ) }
80
+ </ ListItem >
81
+ < ListItem >
82
+ < Text as = "span" fontWeight = "bold" >
83
+ { t ( 'values.kindness.title' ) }
84
+ </ Text >
85
+ : { t ( 'values.kindness.body' ) }
86
+ </ ListItem >
87
+ </ UnorderedList >
88
+ </ Stack >
89
+
90
+ < Stack spacing = { 6 } >
91
+ < Heading as = "h2" fontSize = "lg" >
92
+ { t ( 'goals.title' ) }
93
+ </ Heading >
94
+ < UnorderedList spacing = { 3 } >
95
+ < ListItem > { t ( 'goals.body1' ) } </ ListItem >
96
+ < ListItem > { t ( 'goals.body2' ) } </ ListItem >
97
+ </ UnorderedList >
98
+ </ Stack >
99
+
100
+ < Stack spacing = { 6 } >
101
+ < Heading as = "h2" fontSize = "lg" >
102
+ { t ( 'membership.title' ) }
103
+ </ Heading >
104
+ < Text > { t ( 'membership.body' ) } </ Text >
105
+ </ Stack >
106
+
107
+ < Stack spacing = { 6 } >
108
+ < Heading as = "h2" fontSize = "lg" >
109
+ { t ( 'links.title' ) }
110
+ </ Heading >
111
+ < UnorderedList spacing = { 3 } >
112
+ < ListItem > < a href = "https://developerdao.notion.site/developerdao/Developer-DAO-Wiki-eff4dcb00bef46fbaa93e9e4cf940e2e" > { t ( 'links.wiki' ) } </ a > </ ListItem >
113
+ < ListItem > < a href = "https://forum.developerdao.com" > { t ( 'links.forum' ) } </ a > </ ListItem >
114
+ < ListItem > < a href = "https://snapshot.org/#/devdao.eth" > { t ( 'links.snapshot' ) } </ a > </ ListItem >
115
+ </ UnorderedList >
116
+ </ Stack >
117
+ </ Stack >
118
+
48
119
< VStack spacing = { 4 } >
49
120
< HStack as = "footer" justify = "center" >
50
121
< SocialIconLink
@@ -106,6 +177,53 @@ export const getStaticProps = async ({ locale }: { locale: string }) => ({
106
177
} ,
107
178
} ) ;
108
179
180
+ const CurrentStatus = ( ) => {
181
+ const shouldShowIcon = useBreakpointValue ( { base : false , md : true } ) ;
182
+ const buttonSize = useBreakpointValue ( { base : 'md' , md : 'lg' } ) ;
183
+ const { t } = useTranslation ( ) ;
184
+
185
+ return (
186
+ < Stack
187
+ as = "aside"
188
+ py = { 6 }
189
+ px = { 8 }
190
+ align = "center"
191
+ direction = "row"
192
+ spacing = { 8 }
193
+ bg = "white"
194
+ rounded = "lg"
195
+ color = "black"
196
+ >
197
+ { shouldShowIcon && < Icon as = { GiCrownedHeart } boxSize = { 20 } /> }
198
+ < Stack spacing = { 4 } >
199
+ < Stack fontSize = "xs" >
200
+ < Text fontSize = "sm" fontWeight = "bold" >
201
+ { t ( 'currentStatus' ) } : { t ( 'season' ) } 0
202
+ </ Text >
203
+ < Text > { t ( 'callout' ) } </ Text >
204
+ </ Stack >
205
+ < Box >
206
+ < Button
207
+ as = "a"
208
+ href = "https://snapshot.org/#/devdao.eth/proposal/0x52fc76fe5865cf038b89b8c6ef78b6e691c0ab9c2b1228b84b0813b7832ce369"
209
+ size = { buttonSize }
210
+ fontSize = "xs"
211
+ bg = "white"
212
+ border = "1px"
213
+ borderStyle = "solid"
214
+ borderColor = "black"
215
+ _hover = { { bg : 'gray.100' } }
216
+ _active = { { bg : 'gray.200' } }
217
+ leftIcon = { < BsLightningCharge /> }
218
+ >
219
+ { t ( 'calloutButton' ) }
220
+ </ Button >
221
+ </ Box >
222
+ </ Stack >
223
+ </ Stack >
224
+ ) ;
225
+ } ;
226
+
109
227
const SocialIconLink = ( {
110
228
children,
111
229
href,
0 commit comments