From 0dc01a587554b02f2eba9e6168f0b86a5553f186 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Thu, 25 Jun 2026 06:40:00 +0000 Subject: [PATCH 1/2] Bob AI: Add datenschutz page --- src/App.tsx | 2 + src/components/Layout.tsx | 4 +- src/pages/DatenschutzPage.tsx | 74 +++++++++++++++++++++++++++++++++++ src/routes.ts | 1 + 4 files changed, 80 insertions(+), 1 deletion(-) create mode 100644 src/pages/DatenschutzPage.tsx 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..591a14e --- /dev/null +++ b/src/pages/DatenschutzPage.tsx @@ -0,0 +1,74 @@ +import { routes } from "@/routes"; +import NavbarCentered from "@/components/ui/NavbarCentered"; +import PolicyContent from "@/components/sections/legal/PolicyContent"; +import FooterMinimal from "@/components/sections/footer/FooterMinimal"; + +export default function DatenschutzPage() { + return ( +
+ ({ name: r.label, href: r.path }))} + ctaButton={{ text: "Kontakt", href: "/contact" }} + /> + +
+ +
+ + +
+ ); +} \ No newline at end of file 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' }, ]; -- 2.49.1 From bc8f823bab185310a9a141f461680e0ba852b0d5 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Thu, 25 Jun 2026 06:40:32 +0000 Subject: [PATCH 2/2] Bob AI: Populate src/pages/DatenschutzPage.tsx (snippet builder, 1 sections) --- src/pages/DatenschutzPage.tsx | 77 ++++------------------------------- 1 file changed, 8 insertions(+), 69 deletions(-) diff --git a/src/pages/DatenschutzPage.tsx b/src/pages/DatenschutzPage.tsx index 591a14e..8cd01e5 100644 --- a/src/pages/DatenschutzPage.tsx +++ b/src/pages/DatenschutzPage.tsx @@ -1,74 +1,13 @@ -import { routes } from "@/routes"; -import NavbarCentered from "@/components/ui/NavbarCentered"; import PolicyContent from "@/components/sections/legal/PolicyContent"; -import FooterMinimal from "@/components/sections/footer/FooterMinimal"; export default function DatenschutzPage() { return ( -
- ({ name: r.label, href: r.path }))} - ctaButton={{ text: "Kontakt", href: "/contact" }} - /> - -
- -
- - -
+ <> +
+ ); -} \ No newline at end of file +} -- 2.49.1