mirror of
https://github.com/Unkn0wnCat/data-toolbox-site.git
synced 2025-04-28 09:36:24 +02:00
Add footer
This commit is contained in:
parent
3f4d6da00b
commit
6d1d6bcb69
4 changed files with 14 additions and 2 deletions
|
@ -29,6 +29,7 @@
|
|||
},
|
||||
"system": {
|
||||
"notfound": "Seite nicht gefunden",
|
||||
"language": "Sprache"
|
||||
"language": "Sprache",
|
||||
"imprint": "Impressum"
|
||||
}
|
||||
}
|
|
@ -29,6 +29,7 @@
|
|||
},
|
||||
"system": {
|
||||
"notfound": "Page Not Found",
|
||||
"language": "Language"
|
||||
"language": "Language",
|
||||
"imprint": "Imprint"
|
||||
}
|
||||
}
|
|
@ -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>
|
||||
);
|
||||
|
|
|
@ -10,4 +10,11 @@
|
|||
> * {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.footer {
|
||||
background-color: #1c1c1c;
|
||||
color: white;
|
||||
text-align: center;
|
||||
padding: 5px;
|
||||
}
|
Loading…
Add table
Reference in a new issue