import { Box, Container, Flex, Grid, Text } from 'theme-ui'
import Meta from '@hackclub/meta'
import Head from 'next/head'
import Nav from '../components/nav'
import Footer from '../components/footer'
import Bio from '../components/bio'
import BoardBox from '../components/boardbio'
import ForceTheme from '../components/force-theme'
import { fetchAcknowledged } from './api/team'
export default function Acknowleged({ team }) {
// Spacing between major team section boxes
const BOX_SPACING = 5
return (
<>
{/* @ts-expect-error -- TODO: fix this */}
By the students,
for the students.
We believe in a world where every young person is empowered to be
the change they want to see around them. At Hack Club, we’re
working hard to make it reality.
Acknowledgements
Thank you to everyone who helped shape Hack Club into what it is
today...
{team.acknowledged?.map(member => (
))}
>
)
}
export const getServerSideProps = async () => {
try {
const acknowledged = await fetchAcknowledged()
return { props: { team: { acknowledged } } }
} catch (e) {
return { props: { team: {} } }
}
}