From 1028a72cc7b61938eb6941a597d16977d90b4a25 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Thu, 25 Jun 2026 21:11:24 +0000 Subject: [PATCH] Bob AI: Fixed layout issue by reverting to NavbarCentered and HeroSp --- src/components/Layout.tsx | 5 +- src/pages/HomePage/sections/Hero.tsx | 142 +++------------------------ 2 files changed, 15 insertions(+), 132 deletions(-) diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 66e715a..681dece 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -1,5 +1,5 @@ import FooterMinimal from '@/components/sections/footer/FooterMinimal'; -import NavbarFloatingLogo from '@/components/ui/NavbarFloatingLogo'; +import NavbarCentered from '@/components/ui/NavbarCentered'; import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; import SiteBackgroundSlot from "@/components/ui/SiteBackgroundSlot"; import { Facebook, Instagram } from "lucide-react"; @@ -42,9 +42,8 @@ export default function Layout() { - { - const duplicatedLeft = [...leftItems, ...leftItems, ...leftItems, ...leftItems]; - const duplicatedRight = [...rightItems, ...rightItems, ...rightItems, ...rightItems]; - - return ( -
- -
-
-
-
-

{"Transforming Spaces, Elevating Lives"}

-
- - - - - -
-
-
-
- -
-
-
- {duplicatedLeft.map((item, index) => ( -
- -
- ))} -
-
- -
-
- {duplicatedRight.map((item, index) => ( -
- -
- ))} -
-
-
-
-
- ); -}; - -export default function HeroSection() { +export default function HeroSection(): React.JSX.Element { return (
- +
); } -- 2.49.1