Skip to content
Permalink
7ec760efd4
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
62 lines (60 sloc) 1.45 KB
import {
Card,
CardFooter,
Code,
Container,
Divider,
Heading,
Image,
Stack,
Text,
} from "@chakra-ui/react";
import team from "../../data/team.json";
export function meta() {
return [
{
title: "Our Team - Car Crushers",
},
];
}
export default function () {
return (
<Container maxW="container.xl" pt="4vh">
<Heading textAlign="start">Our Team</Heading>
<br />
<Text textAlign="start">
Please respect our staff, and <u>do not send direct messages</u> or
friend requests in place of official channels.
</Text>
<br />
<div
style={{
display: "grid",
gap: "1rem",
gridTemplateColumns: "repeat(auto-fill, minmax(16rem, 1fr))",
width: "100%",
}}
>
{team.map((member) => (
<Card borderRadius="36px" key={member.id} maxW="xs" p="12px">
<Image
alt={member.tag + "'s avatar"}
borderRadius="50%"
src={`/files/avatars/${member.id}.webp`}
/>
<Stack mb="8" mt="6" spacing="3">
<b>
<Heading size="md">{member.tag}</Heading>
</b>
<Text>{member.position}</Text>
</Stack>
<Divider />
<CardFooter justifyContent="center">
<Code>ID: {member.id}</Code>
</CardFooter>
</Card>
))}
</div>
</Container>
);
}