Revert "css needs maybe a lot or little work still because it's still wonky but the base of what we wanted is here"

This reverts commit 2f8d8dfe13.
This commit is contained in:
Telesphoreo 2022-06-19 15:14:26 -05:00
parent 2f8d8dfe13
commit aa4cf03c9f
2 changed files with 30 additions and 19 deletions

28
src/App.tsx Normal file
View File

@ -0,0 +1,28 @@
import React from 'react';
import { BrowserRouter, Route, Routes } from "react-router-dom";
import HomePage from "./pages/HomePage";
import { Button, Nav, Navbar, NavLink } from "react-bootstrap";
import "./css/App.css"
import DownloadPage from "./pages/DownloadPage";
function App() {
return (
<BrowserRouter>
<Navbar bg={"dark"} variant={"dark"}>
<Navbar.Brand className={"ms-5"} href={"/"}>SCISSORS</Navbar.Brand>
<Nav className={"me-auto"}>
<NavLink href={"https://github.com/AtlasMediaGroup/Scissors"}>Source</NavLink>
<NavLink href={"https://status.scissors.gg"}>Status</NavLink>
</Nav>
<Button variant={"light"} className={"me-5 download-button"} href={"/downloads"} style={{borderRadius: "2vh"}}><img src={"https://cdn3.iconfinder.com/data/icons/download-buttons-outline-collection/70/Download-13-512.png"} width={"50px"} alt={"download"}/> DOWNLOAD</Button>
</Navbar>
<Routes>
<Route path={"/"} element={<HomePage/>}/>
<Route path={"/downloads"} element={<DownloadPage/>}/>
</Routes>
</BrowserRouter>
);
}
export default App;

View File

@ -1,27 +1,10 @@
import React from 'react';
import ReactDOM from 'react-dom/client';
// import App from './App';
import { Button, Nav, Navbar, NavLink } from "react-bootstrap";
import { BrowserRouter, Route, Routes } from "react-router-dom";
import HomePage from "./pages/HomePage";
import DownloadPage from "./pages/DownloadPage";
import App from './App';
const root = ReactDOM.createRoot(
document.getElementById('root') as HTMLElement
);
root.render(
<BrowserRouter>
<Navbar bg={"dark"} variant={"dark"}>
<Navbar.Brand className={"ms-5"} href={"/"}>SCISSORS</Navbar.Brand>
<Nav className={"me-auto"}>
<NavLink href={"https://github.com/AtlasMediaGroup/Scissors"}>Source</NavLink>
<NavLink href={"https://status.scissors.gg"}>Status</NavLink>
</Nav>
<Button variant={"light"} className={"me-5 download-button"} href={"/downloads"} style={{borderRadius: "2vh"}}><img src={"https://cdn3.iconfinder.com/data/icons/download-buttons-outline-collection/70/Download-13-512.png"} width={"50px"} alt={"download"}/> DOWNLOAD</Button>
</Navbar>
<Routes>
<Route path={"/"} element={<HomePage/>}/>
<Route path={"/downloads"} element={<DownloadPage/>}/>
</Routes>
</BrowserRouter>
<App/>
);