diff --git a/components/AppealCard.tsx b/components/AppealCard.tsx new file mode 100644 index 0000000..b7ac2ad --- /dev/null +++ b/components/AppealCard.tsx @@ -0,0 +1,56 @@ +import { + Box, + Card, + CardBody, + CardFooter, + CardHeader, + Heading, + Stack, + StackDivider, + Text, +} from "@chakra-ui/react"; + +export default function (props: { + ban_reason: string; + createdAt: number; + discriminator: string; + id: string; + learned: string; + reason_for_unban: string; + username: string; +}) { + return ( + <> + + + + Appeal for {props.username}#{props.discriminator} + + + + }> + + Response: Why were you banned? + {props.ban_reason} + + + Response: Why should we unban you? + {props.reason_for_unban} + + + + Response: What have you learned from your mistake? + + {props.learned} + + + + + + Submitted at: {new Date(props.createdAt).toLocaleString()} + + + + + ); +}