Bob AI: Remove the section with id 'navigation' and its unused impor

This commit is contained in:
kudinDmitriyUp
2026-07-03 07:10:55 +00:00
parent 1d55d3f241
commit f48fad51ce
2 changed files with 69 additions and 73 deletions

View File

@@ -7,77 +7,80 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Services",
"href": "#services"
},
{
"name": "Projects",
"href": "#projects"
},
{
"name": "About",
"href": "#about"
},
{
"name": "Contact",
"href": "#contact"
}
];
{
"name": "Services",
"href": "#services"
},
{
"name": "Projects",
"href": "#projects"
},
{
"name": "About",
"href": "#about"
},
{
"name": "Contact",
"href": "#contact"
}
];
return (
<StyleProvider buttonVariant="arrow" siteBackground="floatingGradient" heroBackground="gradientBars">
<SiteBackgroundSlot />
<SectionErrorBoundary name="navbar">
<NavbarInline
logo="Record Engineering"
ctaButton={{
text: "Inquire Now",
href: "#contact",
}}
navItems={navItems} />
<div className="sticky top-0 z-50 w-full bg-background">
<NavbarInline
logo="Record Engineering"
ctaButton={{
text: "Inquire Now",
href: "#contact",
}}
navItems={navItems}
/>
</div>
</SectionErrorBoundary>
<main className="flex-grow">
<Outlet />
</main>
<SectionErrorBoundary name="footer">
<FooterBasic
columns={[
{
title: "Company",
items: [
columns={[
{
label: "About Us",
href: "#about",
title: "Company",
items: [
{
label: "About Us",
href: "#about",
},
{
label: "Services",
href: "#services",
},
{
label: "Projects",
href: "#projects",
},
],
},
{
label: "Services",
href: "#services",
title: "Legal",
items: [
{
label: "Privacy Policy",
href: "#",
},
{
label: "Terms of Service",
href: "#",
},
],
},
{
label: "Projects",
href: "#projects",
},
],
},
{
title: "Legal",
items: [
{
label: "Privacy Policy",
href: "#",
},
{
label: "Terms of Service",
href: "#",
},
],
},
]}
leftText="© 2024 Record Engineering Pty Ltd."
rightText="Northern Cape, South Africa"
/>
]}
leftText="© 2024 Record Engineering Pty Ltd."
rightText="Northern Cape, South Africa"
/>
</SectionErrorBoundary>
</StyleProvider>
);
}
}

View File

@@ -16,22 +16,15 @@ import ContactSection from './HomePage/sections/Contact';
export default function HomePage(): React.JSX.Element {
return (
<>
<HeroSection />
<AboutSection />
<ServicesSection />
<ProjectsSection />
<MetricsSection />
<TestimonialsSection />
<FaqSection />
<ContactSection />
<>
<HeroSection />
<AboutSection />
<ServicesSection />
<ProjectsSection />
<MetricsSection />
<TestimonialsSection />
<FaqSection />
<ContactSection />
</>
);
}
}