diff --git a/src/client/src/Asura2222.png b/src/client/src/Asura2222.png new file mode 100644 index 0000000..7ec1b0d Binary files /dev/null and b/src/client/src/Asura2222.png differ diff --git a/src/client/src/components/home_image.js b/src/client/src/components/home_image.js new file mode 100644 index 0000000..144c7df --- /dev/null +++ b/src/client/src/components/home_image.js @@ -0,0 +1,11 @@ +import * as React from "react"; +import { BrowserRouter as Router, Link, Route, Routes } from "react-router-dom"; +import logo from "./../Asura2222.png"; + +export default function Home_Image() { + return ( + + Tournament logo + + ); +} diff --git a/src/client/src/create_tournament.js b/src/client/src/create_tournament.js new file mode 100644 index 0000000..4c77614 --- /dev/null +++ b/src/client/src/create_tournament.js @@ -0,0 +1,20 @@ +import * as React from "react"; +import { BrowserRouter as Router, Link, Route, Routes } from "react-router-dom"; +import Home_Image from "./components/home_image"; + +function Save_Button(props) { + return ( + + + + ); +} + +export default function Create_Tournament(props) { + return ( + + + + + ); +} diff --git a/src/client/src/front_page.js b/src/client/src/front_page.js index 9e2724f..dba407f 100644 --- a/src/client/src/front_page.js +++ b/src/client/src/front_page.js @@ -1,7 +1,18 @@ import * as React from "react"; import { BrowserRouter as Router, Link, Route, Routes } from "react-router-dom"; import Manage_Button from "./components/manage_button"; +import Create_Tournament from "./create_tournament.js"; +import Tournament_Overview from "./tournament_overview.js"; import Tournament_Manager from "./manage_tournament.js"; +import Home_Image from "./components/home_image"; + +function Create_Button(props) { + return ( + + ); +} function Overview_Button(props) { return ( @@ -28,6 +39,8 @@ function ListElement(props) { function Home() { return ( + +
} /> + } /> + } /> } /> diff --git a/src/client/src/index.css b/src/client/src/index.css index c69e8fa..65c7243 100644 --- a/src/client/src/index.css +++ b/src/client/src/index.css @@ -29,26 +29,25 @@ code { } .ListElement { background-color: #073b4c; - width: 100%; + width: 40vw; height: 7vh; display: grid; + flex-flow: row; + column-gap: 5vw; grid-template-columns: 4fr 1fr 1fr; margin-bottom: 5vh; } .Manage_Button { background-color: #ef476f; - display: inline; - width: 100%; + width: 10vw; height: 100%; color: #eeeeee; - padding-left: 5vh; } .Overview_Button { background-color: #118ab2; - display: inline; - width: 100%; + width: 10vw; height: 100%; color: #eeeeee; } diff --git a/src/client/src/manage_tournament.js b/src/client/src/manage_tournament.js index 0a24dc4..fcd5080 100644 --- a/src/client/src/manage_tournament.js +++ b/src/client/src/manage_tournament.js @@ -1,9 +1,11 @@ import * as React from "react"; import { BrowserRouter as Router, Link, Route, Routes } from "react-router-dom"; +import Home_Image from "./components/home_image"; export default function Tournament_Manager() { return ( +

Tournament



; +}