changed footer

This commit is contained in:
mmacierzanka committed 2021-10-08 20:38:21 +02:00
1 parent 577564691e
commit 2be8cbd3b0
3 files changed
+11 -7

No files matched your search

+2
View File
@@ -41,6 +41,7 @@ export const App = () => {
return (
<Router>
<Navbar />
<div style={{ minHeight: "88vh" }}>
<Switch>
<Route exact path="/dashboard" component={Dashboard} />
<Route exact path="/credits" component={Credits} />
@@ -51,6 +52,7 @@ export const App = () => {
{routes}
<Route component={NotFound} />
</Switch>
</div>
<Footer />
</Router>
);
+1 -1
View File
@@ -5,7 +5,7 @@ export const Footer = () => {
return (
<div className={styles.footer}>
<Link aria-label="Credits" to="/credits" style={{ textDecoration: "none" }}>
<span className={styles.txt}>credits</span>
<span className={styles.txt}>Credits</span>
</Link>
</div>
);
@@ -1,14 +1,16 @@
@import "../../index.scss";
.footer {
text-align:right;
width: 100%;;
height: 4vh;
position: relative;
text-align: center;
width: 100%;
margin: 5px 0;
}
.txt {
color:rgba(0, 0, 0, 0.70);
margin-right: 4vw;
font-size: 1.2em;
color: rgb(100, 100, 100);
font-size: 0.9em;
cursor: pointer;
transition: color 0.3s ease;
&:hover {
color: black;
}