diff --git a/app/routes/rpserver_.application.tsx b/app/routes/rpserver_.application.tsx new file mode 100644 index 0000000..1e7a55c --- /dev/null +++ b/app/routes/rpserver_.application.tsx @@ -0,0 +1,88 @@ +import { + Button, + Container, + FormControl, + FormLabel, + Heading, + Input, + NumberDecrementStepper, + NumberIncrementStepper, + NumberInput, + NumberInputField, + NumberInputStepper, + Textarea, + VStack, +} from "@chakra-ui/react"; +import { useLoaderData } from "@remix-run/react"; + +export async function loader({ context }: { context: RequestContext }) { + const { current_user: user } = context.data; + + if (!user.id) + throw new Response(null, { + status: 401, + }); + + if (await context.env.DATA.get(`rpserverblock_${user.id}`)) + throw new Response(null, { + status: 403, + }); + + return null; +} + +export default function () { + useLoaderData(); + + return ( + + RP Server Application + + + Server Invite + + + + Roblox Username + + + + How old are you? + + + + + + + + + + Introduce yourself! +