Imported the Privacy & Imprint pages into the routes index.jsx

This commit is contained in:
Mathias Wagner 2023-08-04 12:06:07 +02:00
parent 9322fe51b7
commit fd9bd110b2
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

View File

@ -1,9 +1,9 @@
import { import {
faBox, faBox,
faFolder, faFolder, faLocationPin,
faLock, faLock,
faQrcode, faQrcode,
faQuestionCircle, faQuestionCircle, faShield,
faTerminal, faTerminal,
faUnlock faUnlock
} from "@fortawesome/free-solid-svg-icons"; } from "@fortawesome/free-solid-svg-icons";
@ -15,6 +15,8 @@ import InstallSoftware from "@/pages/tools/linux/InstallSoftware";
import RemoteSSH from "@/pages/tools/linux/RemoteSSH"; import RemoteSSH from "@/pages/tools/linux/RemoteSSH";
import RemoteSFTP from "@/pages/tools/linux/RemoteSFTP"; import RemoteSFTP from "@/pages/tools/linux/RemoteSFTP";
import {createRef} from "react"; import {createRef} from "react";
import Imprint from "@/pages/legal/Imprint";
import Privacy from "@/pages/legal/Privacy";
export const routes = { export const routes = {
Allgemein: [ Allgemein: [
@ -71,6 +73,20 @@ export const routes = {
component: <InstallSoftware />, component: <InstallSoftware />,
ref: createRef() ref: createRef()
} }
],
Rechtliches: [
{
path: '/legal/imprint',
name: 'Impressum',
component: <Imprint />,
icon: faLocationPin,
},
{
path: '/legal/privacy',
name: 'Datenschutz',
component: <Privacy />,
icon: faShield,
}
] ]
} }