This commit is contained in:
mmacierzanka committed 2021-10-07 21:03:10 +02:00
commit 8253090ac5
3 files changed
+24

No files matched your search

+2
View File
@@ -5,6 +5,7 @@ import { Dashboard } from "./pages/Dashboard";
import { Credits } from "./pages/Credits";
import { NotFound } from "./pages/NotFound";
import { Navbar } from "./components/Navbar";
import { Footer } from "./components/Footer";
import { CreateEvent } from "./pages/CreateEvent";
import { Event } from "./pages/Event";
import { API_CLIENT } from "./constants";
@@ -97,6 +98,7 @@ export const App = () => {
{routes}
<Route component={NotFound} />
</Switch>
<Footer/>
</Router>
);
};
+10
View File
@@ -0,0 +1,10 @@
import { Link } from "react-router-dom";
import { BIcon } from "../BIcon";
import styles from "./index.module.scss";
export const Footer = () => {
return (
<div className={styles.footer}><Link aria-label="Credits" to="/credits" style={{ textDecoration: "none" }}><span className={styles.txt}>credits</span></Link></div>
);
};
@@ -0,0 +1,12 @@
@import "../../index.scss";
.footer{
position:absolute;
text-align:right;
bottom:0;
width: 100%;;
}
.txt{
color:#5873FF;
margin-right: 4vw;
cursor:pointer;
}