diff --git a/src/client/src/createtournament.js b/src/client/src/createtournament.js index 2331c0c..56fab08 100644 --- a/src/client/src/createtournament.js +++ b/src/client/src/createtournament.js @@ -2,7 +2,7 @@ import * as React from "react"; import { BrowserRouter as Router, Link, Route, Routes } from "react-router-dom"; import Appbar from "./components/appbar"; -import { Button, TextField, Stack, InputLabel, Select, Container, Slider, Paper, Box, Grid } from '@mui/material' +import { Button, TextField, Stack, InputLabel, Select, Container, Slider, Paper, Box, Grid, Typography } from '@mui/material' import FileUploadIcon from '@mui/icons-material/FileUpload'; function submitTournament(event) { @@ -80,6 +80,38 @@ function showError(error) { } function TournamentForm(props) { + + const marks = [ + { + value: 1, + label: "2", + }, + { + value: 2, + label: "4", + }, + { + value: 3, + label: "8", + }, + { + value: 4, + label: "16", + }, + { + value: 5, + label: "32", + }, + { + value: 6, + label: "64", + }, + { + value: 7, + label: "128", + }, + ]; + return ( <>