Update src/components/Layout.tsx

This commit is contained in:
2026-06-15 10:53:38 +00:00
parent e690a3accf
commit 829d689ae2

View File

@@ -9,32 +9,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Home",
"href": "#home"
"name": "Home", "href": "#home"
},
{
"name": "Services",
"href": "#services"
"name": "Services", "href": "#services"
},
{
"name": "Products",
"href": "#products"
"name": "Products", "href": "#products"
},
{
"name": "About",
"href": "#about"
"name": "About", "href": "#about"
},
{
"name": "Team",
"href": "#team"
"name": "Team", "href": "#team"
},
{
"name": "Testimonials",
"href": "#testimonials"
"name": "Testimonials", "href": "#testimonials"
},
{
"name": "Faq",
"href": "#faq"
"name": "Faq", "href": "#faq"
}
];
@@ -43,33 +36,29 @@ export default function Layout() {
<SiteBackgroundSlot />
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="QuickSeva"
logoImageSrc="https://images.unsplash.com/photo-1599305445671-ac291c95aaa9?w=200&h=200&fit=crop"
ctaButton={{
text: "Book Now",
href: "#contact",
}}
navItems={navItems} />
logo="QuickSeva"
logoImageSrc="https://storage.googleapis.com/webild/users/user_3FAakrGyZd7VBV36Fpvs1I0qz8k/uploaded-1781520761041-gy58vkal.png"
ctaButton={{
text: "Book Now", href: "#contact"}}
navItems={navItems}
/>
</SectionErrorBoundary>
<main className="flex-grow">
<Outlet />
</main>
<SectionErrorBoundary name="footer">
<FooterMinimal
brand="QuickSeva"
copyright="© 2024 QuickSeva Technologies. All rights reserved."
socialLinks={[
{
icon: Facebook,
},
{
icon: Instagram,
},
{
icon: Twitter,
},
]}
/>
brand="QuickSeva"
copyright="© 2024 QuickSeva Technologies. All rights reserved."
socialLinks={[
{
icon: "Facebook"},
{
icon: "Instagram"},
{
icon: "Twitter"},
]}
/>
</SectionErrorBoundary>
</StyleProvider>
);