added appbar and changed react.fragment to <>
This commit is contained in:
parent
aa9ae8a3e6
commit
9056d10117
|
@ -2,8 +2,6 @@ import * as React from "react";
|
||||||
import { BrowserRouter as Router, Link, Route, Routes } from "react-router-dom";
|
import { BrowserRouter as Router, Link, Route, Routes } from "react-router-dom";
|
||||||
import Appbar from "./components/appbar";
|
import Appbar from "./components/appbar";
|
||||||
|
|
||||||
import CssBaseline from '@mui/material/CssBaseline'
|
|
||||||
|
|
||||||
function CreateButton(props) {
|
function CreateButton(props) {
|
||||||
return (
|
return (
|
||||||
<Link to="/">
|
<Link to="/">
|
||||||
|
@ -33,8 +31,8 @@ function CreateForm(props) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<form>
|
<form>
|
||||||
<label for="name">Tournament Name:</label>
|
<label for="name">Tournament Name: <input type="text" id="name" /></label>
|
||||||
<input type="text" id="name" />
|
|
||||||
<br />
|
<br />
|
||||||
<label for="description">Description:</label>
|
<label for="description">Description:</label>
|
||||||
<input type="text" id="description" />
|
<input type="text" id="description" />
|
||||||
|
@ -58,7 +56,6 @@ function CreateForm(props) {
|
||||||
export default function CreateTournament(props) {
|
export default function CreateTournament(props) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<CssBaseline />
|
|
||||||
<Appbar />
|
<Appbar />
|
||||||
<CreateForm />
|
<CreateForm />
|
||||||
<ParticipantLimit />
|
<ParticipantLimit />
|
||||||
|
|
Loading…
Reference in New Issue