mirror of
https://github.com/AtlasMediaGroup/Scissors-Website.git
synced 2024-12-26 03:47:40 +00:00
Add better links to source code
This commit is contained in:
parent
ade0054ff1
commit
4043486550
30
src/App.tsx
30
src/App.tsx
@ -1,7 +1,7 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { BrowserRouter, Route, Routes } from "react-router-dom";
|
import { BrowserRouter, Route, Routes } from "react-router-dom";
|
||||||
import HomePage from "./pages/HomePage";
|
import HomePage from "./pages/HomePage";
|
||||||
import { Button, Nav, Navbar, NavLink } from "react-bootstrap";
|
import { Button, Nav, Navbar, NavLink, NavDropdown, Container } from "react-bootstrap";
|
||||||
|
|
||||||
import "./css/App.css"
|
import "./css/App.css"
|
||||||
import DownloadPage from "./pages/DownloadPage";
|
import DownloadPage from "./pages/DownloadPage";
|
||||||
@ -9,13 +9,27 @@ import DownloadPage from "./pages/DownloadPage";
|
|||||||
function App() {
|
function App() {
|
||||||
return (
|
return (
|
||||||
<BrowserRouter>
|
<BrowserRouter>
|
||||||
<Navbar bg={"dark"} variant={"dark"}>
|
<Navbar variant="dark" bg="dark">
|
||||||
<Navbar.Brand className={"ms-5"} href={"/"}>Scissors</Navbar.Brand>
|
<Container fluid>
|
||||||
<Nav className={"me-auto"}>
|
<Navbar.Brand className={"ms-5"} href={"/"}>Scissors</Navbar.Brand>
|
||||||
<NavLink href={"https://github.com/AtlasMediaGroup/Scissors"}>Source</NavLink>
|
<Navbar.Toggle aria-controls="navbar-dark-example" />
|
||||||
<NavLink href={"https://status.scissors.gg"}>Status</NavLink>
|
<Navbar.Collapse id="navbar-dark-example">
|
||||||
</Nav>
|
<Nav className={"me-auto"}>
|
||||||
<Button variant={"primary"} className={"me-5 download-button"} href={"/downloads"} style={{ borderRadius: "2vh" }}><img src={"download-icon.png"} width={"25px"} alt={"download"} /> Download</Button>
|
<NavDropdown
|
||||||
|
id="nav-dropdown-dark-example"
|
||||||
|
title="Source"
|
||||||
|
menuVariant="dark">
|
||||||
|
<NavDropdown.Item href="https://github.com/AtlasMediaGroup/Scissors">Scissors</NavDropdown.Item>
|
||||||
|
<NavDropdown.Item href="https://github.com/AtlasMediaGroup/Scissors-Website">Website</NavDropdown.Item>
|
||||||
|
<NavDropdown.Divider />
|
||||||
|
<NavDropdown.Item href="https://git.telesphoreo.me/AtlasMediaGroup/Scissors">Scissors (Mirror)</NavDropdown.Item>
|
||||||
|
<NavDropdown.Item href="https://git.telesphoreo.me/AtlasMediaGroup/Scissors-Website">Website (Mirror)</NavDropdown.Item>
|
||||||
|
</NavDropdown>
|
||||||
|
<NavLink href={"https://status.scissors.gg"}>Status</NavLink>
|
||||||
|
</Nav>
|
||||||
|
</Navbar.Collapse>
|
||||||
|
<Button variant={"primary"} className={"me-5 download-button"} href={"/downloads"} style={{ borderRadius: "2vh" }}><img src={"download-icon.png"} width={"25px"} alt={"download"} /> Download</Button>
|
||||||
|
</Container>
|
||||||
</Navbar>
|
</Navbar>
|
||||||
<Routes>
|
<Routes>
|
||||||
<Route path={"/"} element={<HomePage />} />
|
<Route path={"/"} element={<HomePage />} />
|
||||||
|
Loading…
Reference in New Issue
Block a user