added welcome page + image

This commit is contained in:
Sebastian
2022-02-03 19:25:32 -07:00
parent f065f79c10
commit 97d69d0756
4 changed files with 19 additions and 1 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

+2 -1
View File
@@ -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 />} />
+6
View File
@@ -0,0 +1,6 @@
.center {
display: block;
margin-left: auto;
margin-right: auto;
width: 50%;
}
+11
View File
@@ -0,0 +1,11 @@
import React from 'react'
const WelcomePage = () => {
return (
<div class='center'>
<img src = "/WelcomePageImage.webp"/>
</div>
)
}
export default WelcomePage