mirror of
https://github.com/Unkn0wnCat/data-toolbox-site.git
synced 2025-04-28 17:46:21 +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": {
|
"system": {
|
||||||
"notfound": "Seite nicht gefunden",
|
"notfound": "Seite nicht gefunden",
|
||||||
"language": "Sprache"
|
"language": "Sprache",
|
||||||
|
"imprint": "Impressum"
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -29,6 +29,7 @@
|
||||||
},
|
},
|
||||||
"system": {
|
"system": {
|
||||||
"notfound": "Page Not Found",
|
"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 * as styles from "./App.module.scss";
|
||||||
import NotFoundPage from "./pages/NotFound";
|
import NotFoundPage from "./pages/NotFound";
|
||||||
import ToolLoader from "./tools/ToolLoader";
|
import ToolLoader from "./tools/ToolLoader";
|
||||||
|
import { Trans } from "react-i18next";
|
||||||
|
|
||||||
const HomePage = lazy(() => import('./pages/Home'));
|
const HomePage = lazy(() => import('./pages/Home'));
|
||||||
const ToolsPage = lazy(() => import('./pages/Tools'));
|
const ToolsPage = lazy(() => import('./pages/Tools'));
|
||||||
const AboutPage = lazy(() => import('./pages/About'));
|
const AboutPage = lazy(() => import('./pages/About'));
|
||||||
|
|
||||||
function App() {
|
function App() {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Suspense fallback="Kevin's Data-Toolbox is loading...">
|
<Suspense fallback="Kevin's Data-Toolbox is loading...">
|
||||||
<Router>
|
<Router>
|
||||||
|
@ -30,6 +32,7 @@ function App() {
|
||||||
</Switch>
|
</Switch>
|
||||||
</Suspense>
|
</Suspense>
|
||||||
</div>
|
</div>
|
||||||
|
<footer className={styles.footer}>CC-BY-4.0 Kevin Kandlbinder | <a href="//kevink.dev/legal/about">Impressum</a></footer>
|
||||||
</Router>
|
</Router>
|
||||||
</Suspense>
|
</Suspense>
|
||||||
);
|
);
|
||||||
|
|
|
@ -11,3 +11,10 @@
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.footer {
|
||||||
|
background-color: #1c1c1c;
|
||||||
|
color: white;
|
||||||
|
text-align: center;
|
||||||
|
padding: 5px;
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue