diff --git a/components/bio.js b/components/bio.js new file mode 100644 index 00000000..4b1a6d83 --- /dev/null +++ b/components/bio.js @@ -0,0 +1,53 @@ +import { Box, Flex, Grid, Text, Avatar, Card } from 'theme-ui' + +export default function Bio({ img, name, teamRole, pronouns, text, ...props }) { + return ( + + + + + + + + + + + {pronouns && ( + + ({pronouns}) + + )} + + + + + + + ) +} diff --git a/next.config.js b/next.config.js index ab8dfce7..d4712568 100755 --- a/next.config.js +++ b/next.config.js @@ -116,10 +116,6 @@ module.exports = withMDX({ source: '/summer/_next/:path*', destination: 'https://summer.hackclub.com/_next/:path*' }, - { - source: '/team/', - destination: 'https://v2.hackclub.dev/team/' - }, { source: '/donate/', destination: 'https://v2.hackclub.dev/donate/' diff --git a/pages/team.js b/pages/team.js new file mode 100644 index 00000000..4a90a110 --- /dev/null +++ b/pages/team.js @@ -0,0 +1,219 @@ +import { + Card, + Box, + Button, + Container, + Flex, + Heading, + Image, + Text, + Grid +} 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' + +export default function Team() { + return ( + <> + +