From 7c8e37aea8c1be00c4e427bc9525c2cf53a4b598 Mon Sep 17 00:00:00 2001 From: Sahni-Arjun Date: Wed, 6 Apr 2022 22:09:03 -0400 Subject: [PATCH] finished admin frontend --- sports-matcher/client/src/Layout.js | 2 + sports-matcher/client/src/pages/Admin.js | 252 -------------------- sports-matcher/client/src/pages/NewAdmin.js | 210 ++++++++++++++++ sports-matcher/client/src/styles/Admin.css | 13 +- 4 files changed, 224 insertions(+), 253 deletions(-) delete mode 100644 sports-matcher/client/src/pages/Admin.js create mode 100644 sports-matcher/client/src/pages/NewAdmin.js diff --git a/sports-matcher/client/src/Layout.js b/sports-matcher/client/src/Layout.js index 1c546ac..7f2a32e 100644 --- a/sports-matcher/client/src/Layout.js +++ b/sports-matcher/client/src/Layout.js @@ -8,6 +8,7 @@ import { Container, Nav, NavbarBrand } from "react-bootstrap"; import NavbarToggle from "react-bootstrap/esm/NavbarToggle"; import NavbarCollapse from "react-bootstrap/esm/NavbarCollapse"; import Dashboard from "./pages/Dashboard"; +import Admin from "./pages/NewAdmin"; import Login from "./pages/Login"; export default class Layout extends React.Component { @@ -34,6 +35,7 @@ export default class Layout extends React.Component { } /> } /> } /> + } />