diff --git a/src/client/src/components/save_button.js b/src/client/src/components/save_button.js new file mode 100644 index 0000000..43b93a7 --- /dev/null +++ b/src/client/src/components/save_button.js @@ -0,0 +1,10 @@ +import * as React from "react"; +import { BrowserRouter as Router, Link, Route, Routes } from "react-router-dom"; + +export default function Save_Button(props) { + return ( + + + + ); + } \ No newline at end of file diff --git a/src/client/src/create_tournament.js b/src/client/src/create_tournament.js index a0314ad..7f4ad89 100644 --- a/src/client/src/create_tournament.js +++ b/src/client/src/create_tournament.js @@ -1,5 +1,6 @@ import * as React from "react"; import { BrowserRouter as Router, Link, Route, Routes } from "react-router-dom"; +import Save_Button from "./components/save_button"; import Home_Image from "./components/home_image"; function Format_Selector(props) { @@ -13,18 +14,28 @@ function Format_Selector(props) { ); } -function Save_Button(props) { +function Create_Form(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 dba407f..e99fffc 100644 --- a/src/client/src/front_page.js +++ b/src/client/src/front_page.js @@ -6,33 +6,38 @@ import Tournament_Overview from "./tournament_overview.js"; import Tournament_Manager from "./manage_tournament.js"; import Home_Image from "./components/home_image"; +import 'bootstrap/dist/css/bootstrap.min.css' +import Button from 'react-boostrap/Button' +import Container from 'react-boostrap/Container' +import Card from 'react-boostrap/Card' + function Create_Button(props) { return ( - + ); } function Overview_Button(props) { return ( - + ); } function ListElement(props) { return ( -
-
+ +
{props.name}, {props.competitors} competitors, Date: {props.date}
-
-
+ + ); } @@ -41,7 +46,7 @@ function Home() { -
+ -
+
); } diff --git a/src/client/src/index.css b/src/client/src/index.css index 65c7243..b455adc 100644 --- a/src/client/src/index.css +++ b/src/client/src/index.css @@ -16,38 +16,4 @@ body { code { font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace; -} - -#tournamentList { - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - margin: auto auto; - margin-top: 25vh; - width: 80vw; -} -.ListElement { - background-color: #073b4c; - 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; - width: 10vw; - height: 100%; - color: #eeeeee; -} - -.Overview_Button { - background-color: #118ab2; - width: 10vw; - height: 100%; - color: #eeeeee; -} +} \ No newline at end of file diff --git a/src/client/src/manage_tournament.js b/src/client/src/manage_tournament.js index fcd5080..45ee2e3 100644 --- a/src/client/src/manage_tournament.js +++ b/src/client/src/manage_tournament.js @@ -2,36 +2,32 @@ import * as React from "react"; import { BrowserRouter as Router, Link, Route, Routes } from "react-router-dom"; import Home_Image from "./components/home_image"; +function Manage_Tournament(props) { + return ( +
+ + + + +
+ ) +} + + export default function Tournament_Manager() { return ( -

Tournament

-

- -

- -

- -

- + +
); }