diff --git a/src/App.tsx b/src/App.tsx index 33d15f9..2f4250a 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -2,11 +2,13 @@ import { Routes, Route } from 'react-router-dom'; import Layout from './components/Layout'; import HomePage from './pages/HomePage'; +import DatenschutzPage from "@/pages/DatenschutzPage"; export default function App() { return ( }> } /> + } /> ); diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 481e07b..7156a19 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -34,7 +34,9 @@ export default function Layout() { { "name": "Faq", "href": "#faq" - } + }, + { name: "Datenschutz", href: "/datenschutz" }, + ]; return ( diff --git a/src/pages/DatenschutzPage.tsx b/src/pages/DatenschutzPage.tsx new file mode 100644 index 0000000..8cd01e5 --- /dev/null +++ b/src/pages/DatenschutzPage.tsx @@ -0,0 +1,13 @@ +import PolicyContent from "@/components/sections/legal/PolicyContent"; + +export default function DatenschutzPage() { + return ( + <> +
+ + ); +} diff --git a/src/routes.ts b/src/routes.ts index 362ecb5..36aa321 100644 --- a/src/routes.ts +++ b/src/routes.ts @@ -6,4 +6,5 @@ export interface Route { export const routes: Route[] = [ { path: '/', label: 'Home', pageFile: 'HomePage' }, + { path: '/datenschutz', label: 'Datenschutz', pageFile: 'DatenschutzPage' }, ];