Add footer

This commit is contained in:
Kevin Kandlbinder 2021-04-09 23:52:28 +02:00
parent 3f4d6da00b
commit 6d1d6bcb69
4 changed files with 14 additions and 2 deletions

View file

@ -29,6 +29,7 @@
},
"system": {
"notfound": "Seite nicht gefunden",
"language": "Sprache"
"language": "Sprache",
"imprint": "Impressum"
}
}

View file

@ -29,6 +29,7 @@
},
"system": {
"notfound": "Page Not Found",
"language": "Language"
"language": "Language",
"imprint": "Imprint"
}
}

View file

@ -9,12 +9,14 @@ import Navigation from "./components/Navigation";
import * as styles from "./App.module.scss";
import NotFoundPage from "./pages/NotFound";
import ToolLoader from "./tools/ToolLoader";
import { Trans } from "react-i18next";
const HomePage = lazy(() => import('./pages/Home'));
const ToolsPage = lazy(() => import('./pages/Tools'));
const AboutPage = lazy(() => import('./pages/About'));
function App() {
return (
<Suspense fallback="Kevin's Data-Toolbox is loading...">
<Router>
@ -30,6 +32,7 @@ function App() {
</Switch>
</Suspense>
</div>
<footer className={styles.footer}>CC-BY-4.0 Kevin Kandlbinder | <a href="//kevink.dev/legal/about">Impressum</a></footer>
</Router>
</Suspense>
);

View file

@ -10,4 +10,11 @@
> * {
flex-shrink: 0;
}
}
.footer {
background-color: #1c1c1c;
color: white;
text-align: center;
padding: 5px;
}