From 6f626177f6a965c50de6f200a3fb89ecc1d219ee Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Wed, 1 Jul 2026 10:29:21 +0000 Subject: [PATCH] Bob AI: Removed hero, testimonials, and metrics from the menu --- src/components/Layout.tsx | 9 --- src/pages/KontaktPage.tsx | 70 ++++--------------- src/pages/KontaktPage/sections/Contact.tsx | 46 ++++++++++++ .../KontaktPage/sections/ContactSection.tsx | 28 ++++++++ 4 files changed, 87 insertions(+), 66 deletions(-) create mode 100644 src/pages/KontaktPage/sections/Contact.tsx create mode 100644 src/pages/KontaktPage/sections/ContactSection.tsx diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 49b3c03..225d6b3 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -18,15 +18,6 @@ export default function Layout() { }, { "name": "Cases", "href": "/cases" - }, - { - "name": "Hero", "href": "#hero" - }, - { - "name": "Testimonials", "href": "#testimonials" - }, - { - "name": "Metrics", "href": "#metrics" } ]; diff --git a/src/pages/KontaktPage.tsx b/src/pages/KontaktPage.tsx index 231c035..c68d086 100644 --- a/src/pages/KontaktPage.tsx +++ b/src/pages/KontaktPage.tsx @@ -1,63 +1,19 @@ -import ContactCta from '@/components/sections/contact/ContactCta'; -import ContactParallaxCard from '@/components/sections/contact/ContactParallaxCard'; -import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; +// AUTO-GENERATED shell by per-section-migrate. +// Section bodies live in the sibling sections/ folder (one file per section). +// Edit those section files directly. Non-block content (wrappers, +// non-inlinable sections) is preserved inline; extracted section blocks +// become component refs. -export default function KontaktPage() { +import React from 'react'; +import ContactSectionSection from './KontaktPage/sections/ContactSection'; +import ContactSection from './KontaktPage/sections/Contact'; + +export default function KontaktPage(): React.JSX.Element { return ( - <> -
- - - -
+<> + -
- - - -
+ ); } diff --git a/src/pages/KontaktPage/sections/Contact.tsx b/src/pages/KontaktPage/sections/Contact.tsx new file mode 100644 index 0000000..24aeb53 --- /dev/null +++ b/src/pages/KontaktPage/sections/Contact.tsx @@ -0,0 +1,46 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "contact" section. + +import React from 'react'; +import ContactParallaxCard from '@/components/sections/contact/ContactParallaxCard'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function ContactSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/KontaktPage/sections/ContactSection.tsx b/src/pages/KontaktPage/sections/ContactSection.tsx new file mode 100644 index 0000000..d1f8505 --- /dev/null +++ b/src/pages/KontaktPage/sections/ContactSection.tsx @@ -0,0 +1,28 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "contact-section" section. + +import React from 'react'; +import ContactCta from '@/components/sections/contact/ContactCta'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function ContactSectionSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} -- 2.49.1