mirror of
https://github.com/Team4388/ScoutingApp2022.git
synced 2026-06-09 00:38:03 -06:00
added welcome page + image
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 62 KiB |
@@ -14,6 +14,7 @@ import "./App.css";
|
||||
//Pages
|
||||
import NotFoundPage from "./Pages/NotFoundPage";
|
||||
import DashboardPage from "./Pages/DashboardPage/DashboardPage";
|
||||
import WelcomePage from "./Pages/WelcomePage";
|
||||
import InputPage from "./Pages/InputPage";
|
||||
|
||||
function App() {
|
||||
@@ -23,7 +24,7 @@ function App() {
|
||||
<Router>
|
||||
<Navigation />
|
||||
<Routes>
|
||||
<Route path="/" element={<DashboardPage />} />
|
||||
<Route path="/" element={<WelcomePage />} />
|
||||
<Route path="/Dashboard" element={<DashboardPage />} />
|
||||
<Route path="/Input" element={<InputPage />} />
|
||||
<Route path="/404" element={<NotFoundPage />} />
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
.center {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 50%;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
import React from 'react'
|
||||
|
||||
const WelcomePage = () => {
|
||||
return (
|
||||
<div class='center'>
|
||||
<img src = "/WelcomePageImage.webp"/>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default WelcomePage
|
||||
Reference in New Issue
Block a user