From e31dec6424d8f1731afd0470d24af2c5c55b3588 Mon Sep 17 00:00:00 2001 From: rhpidfyre Date: Sat, 14 Dec 2024 01:49:36 -0500 Subject: [PATCH] web: form page base concept --- web/src/app/submission_new/(styles)/page.scss | 33 +++++++++++ web/src/app/submission_new/page.tsx | 58 +++++++++++++++++++ 2 files changed, 91 insertions(+) create mode 100644 web/src/app/submission_new/(styles)/page.scss create mode 100644 web/src/app/submission_new/page.tsx diff --git a/web/src/app/submission_new/(styles)/page.scss b/web/src/app/submission_new/(styles)/page.scss new file mode 100644 index 0000000..83fdbea --- /dev/null +++ b/web/src/app/submission_new/(styles)/page.scss @@ -0,0 +1,33 @@ +@use "../../globals.scss"; + +main { + display: grid; + justify-content: center; + align-items: center; + margin-inline: auto; + width: 700px; +} + +header h1 { + text-align: center; + color: var(--text-color); +} + +form { + display: grid; + gap: 10px; + + input { + @include globals.border-with-radius; + outline: none; + background-color: var(--comment-area); + height: 40px; + width: 500px;; + font-size: 1.2rem; + margin-bottom: 15px; + } + label { + font-size: 1.3rem; + color: var(--text-color); + } +} \ No newline at end of file diff --git a/web/src/app/submission_new/page.tsx b/web/src/app/submission_new/page.tsx new file mode 100644 index 0000000..bec7256 --- /dev/null +++ b/web/src/app/submission_new/page.tsx @@ -0,0 +1,58 @@ +import { FormControl, FormLabel, RadioGroup, FormControlLabel, Button } from "@mui/material" +import SendIcon from '@mui/icons-material/Send'; +import Webpage from "@/app/_components/webpage" +import Radio from '@mui/material/Radio'; + +import "./(styles)/page.scss" + +const enum Map { + New, + Fix, +} + +interface FormDetails { + label: string, + id: string, +} + +function Field(form_details: FormDetails) { + return (<> + + + ) +} + +function TargetAsset() { + return + Target Asset + + } label="New"/> + } label="Fix"/> + + +} + +export default function SubmissionInfoPage() { + return ( + +
+

Submit Map

+
+
+
+ + + + + + + + +
+
+ ) +} \ No newline at end of file