From 574c3472744dc15871d92c8d9ba682c0f7befb35 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sun, 21 Jun 2026 18:17:34 +0000 Subject: [PATCH 1/2] Bob AI: fix build error in src/components/Layout.tsx --- src/components/Layout.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index b7eecbe..eab119c 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -6,7 +6,8 @@ import { Instagram, Layout, Twitter } from "lucide-react"; import { Outlet } from 'react-router-dom'; import { StyleProvider } from "@/components/ui/StyleProvider"; -export default function Layout() { +export { LayoutComponent as Layout }; +export default function LayoutComponent() { const navItems = [ { "name": "Work", -- 2.49.1 From e4c4552d4a88ddc6f4f24af43c553a5389dcc4e2 Mon Sep 17 00:00:00 2001 From: bender Date: Sun, 21 Jun 2026 18:17:37 +0000 Subject: [PATCH 2/2] Update src/components/Layout.tsx --- src/components/Layout.tsx | 78 ++++++++++++--------------------------- 1 file changed, 23 insertions(+), 55 deletions(-) diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index eab119c..193642a 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -2,77 +2,45 @@ import FooterMinimal from '@/components/sections/footer/FooterMinimal'; import NavbarFloating from '@/components/ui/NavbarFloating'; import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; import SiteBackgroundSlot from "@/components/ui/SiteBackgroundSlot"; -import { Instagram, Layout, Twitter } from "lucide-react"; +import { Twitter, Instagram, LayoutGrid } from "lucide-react"; import { Outlet } from 'react-router-dom'; import { StyleProvider } from "@/components/ui/StyleProvider"; -export { LayoutComponent as Layout }; -export default function LayoutComponent() { +export default function Layout() { const navItems = [ - { - "name": "Work", - "href": "#work" - }, - { - "name": "About", - "href": "#about" - }, - { - "name": "Contact", - "href": "#contact" - }, - { - "name": "Hero", - "href": "#hero" - }, - { - "name": "Portfolio", - "href": "#portfolio" - }, - { - "name": "Metrics", - "href": "#metrics" - }, - { - "name": "Testimonials", - "href": "#testimonials" - } -]; + { name: "Work", href: "#work" }, + { name: "About", href: "#about" }, + { name: "Contact", href: "#contact" }, + { name: "Hero", href: "#hero" }, + { name: "Portfolio", href: "#portfolio" }, + { name: "Metrics", href: "#metrics" }, + { name: "Testimonials", href: "#testimonials" } + ]; return ( + logo="Portfolio" + ctaButton={{ + text: "Get in Touch", href: "#contact"}} + navItems={navItems} + />
+ brand="Jordan Creative" + copyright="© 2024 Jordan Creative. All rights reserved." + socialLinks={[ + { icon: "Twitter", href: "#" }, + { icon: "Instagram", href: "#" }, + { icon: "LayoutGrid", href: "#" }, + ]} + />
); -- 2.49.1