From 1961bb21f0e881ed5a8b28fc521a5e4d461183a1 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sun, 21 Jun 2026 19:51:10 +0000 Subject: [PATCH 1/2] Bob AI: Add impressum page --- src/App.tsx | 2 + src/components/Layout.tsx | 4 +- src/pages/ImpressumPage.tsx | 81 +++++++++++++++++++++++++++++++++++++ src/routes.ts | 1 + 4 files changed, 87 insertions(+), 1 deletion(-) create mode 100644 src/pages/ImpressumPage.tsx diff --git a/src/App.tsx b/src/App.tsx index 33d15f9..b754997 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 ImpressumPage from "@/pages/ImpressumPage"; export default function App() { return ( }> } /> + } /> ); diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 43be4bb..479eab6 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -27,7 +27,9 @@ export default function Layout() { }, { "name": "Vertrauen", "href": "#vertrauen" - } + }, + { name: "Impressum", href: "/impressum" }, + ]; return ( diff --git a/src/pages/ImpressumPage.tsx b/src/pages/ImpressumPage.tsx new file mode 100644 index 0000000..6bb5866 --- /dev/null +++ b/src/pages/ImpressumPage.tsx @@ -0,0 +1,81 @@ +import React from "react"; +import { routes } from "@/routes"; +import NavbarCentered from "@/components/ui/NavbarCentered"; +import PolicyContent from "@/components/sections/legal/PolicyContent"; +import FooterSimple from "@/components/sections/footer/FooterSimple"; + +export default function ImpressumPage() { + 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..46e5d90 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: '/impressum', label: 'Impressum', pageFile: 'ImpressumPage' }, ]; -- 2.49.1 From 6cc9b32e56af4f8984b684731ba1549719ef8027 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sun, 21 Jun 2026 19:51:41 +0000 Subject: [PATCH 2/2] Bob AI: Populate src/pages/ImpressumPage.tsx (snippet builder, 1 sections) --- src/pages/ImpressumPage.tsx | 84 ++++--------------------------------- 1 file changed, 8 insertions(+), 76 deletions(-) diff --git a/src/pages/ImpressumPage.tsx b/src/pages/ImpressumPage.tsx index 6bb5866..0506666 100644 --- a/src/pages/ImpressumPage.tsx +++ b/src/pages/ImpressumPage.tsx @@ -1,81 +1,13 @@ -import React from "react"; -import { routes } from "@/routes"; -import NavbarCentered from "@/components/ui/NavbarCentered"; import PolicyContent from "@/components/sections/legal/PolicyContent"; -import FooterSimple from "@/components/sections/footer/FooterSimple"; export default function ImpressumPage() { return ( -
- ({ name: r.label, href: r.path }))} - ctaButton={{ text: "Kontakt", href: "/contact" }} - /> - -
- -
- - -
+ <> +
+ ); -} \ No newline at end of file +} -- 2.49.1