diff --git a/frontend/peerprep/.vite/deps/_metadata.json b/frontend/peerprep/.vite/deps/_metadata.json new file mode 100644 index 000000000..ab857f9f6 --- /dev/null +++ b/frontend/peerprep/.vite/deps/_metadata.json @@ -0,0 +1,8 @@ +{ + "hash": "61c1135b", + "configHash": "bf99f7f0", + "lockfileHash": "d435eb2c", + "browserHash": "4f32ab05", + "optimized": {}, + "chunks": {} +} \ No newline at end of file diff --git a/frontend/peerprep/.vite/deps/package.json b/frontend/peerprep/.vite/deps/package.json new file mode 100644 index 000000000..3dbc1ca59 --- /dev/null +++ b/frontend/peerprep/.vite/deps/package.json @@ -0,0 +1,3 @@ +{ + "type": "module" +} diff --git a/frontend/peerprep/app/components/queueupmodal/queuemodal.module.css b/frontend/peerprep/app/components/queueupmodal/queuemodal.module.css new file mode 100644 index 000000000..8549225a8 --- /dev/null +++ b/frontend/peerprep/app/components/queueupmodal/queuemodal.module.css @@ -0,0 +1,4 @@ +.pill { + background-color: var(--mantine-color-brand-yellow-7); + color: var(--mantine-color-black); +} \ No newline at end of file diff --git a/frontend/peerprep/app/components/queueupmodal/queuemodal.tsx b/frontend/peerprep/app/components/queueupmodal/queuemodal.tsx new file mode 100644 index 000000000..7be1524e5 --- /dev/null +++ b/frontend/peerprep/app/components/queueupmodal/queuemodal.tsx @@ -0,0 +1,86 @@ +import { useDisclosure } from "@mantine/hooks"; +import { Modal, Button, MultiSelect, Grid, Select } from "@mantine/core"; +import { useForm } from "@mantine/form"; +import classes from "./queuemodal.module.css"; + +const topics = [ + "Array", + "String", + "Dynamic Programming", + "Backtracking", + "Greedy", + "Graph", + "Tree", + "Linked List", + "Sorting", + "Searching", +]; + +const difficulties = ["Easy", "Medium", "Hard"]; + +export default function QueueModal() { + const [opened, { open, close }] = useDisclosure(false); + const form = useForm({ + initialValues: { + topic: [], + difficulty: [], + }, + }); + + return ( + <> + +
console.log(values))}> + + + + + + + + +