Update src/components/Layout.tsx

This commit is contained in:
2026-06-15 10:54:25 +00:00
parent 829d689ae2
commit e7a046547f

View File

@@ -2,34 +2,19 @@ import FooterMinimal from '@/components/sections/footer/FooterMinimal';
import NavbarFloatingLogo from '@/components/ui/NavbarFloatingLogo';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
import SiteBackgroundSlot from "@/components/ui/SiteBackgroundSlot";
import { Facebook, Instagram, Twitter } from "lucide-react";
import { Outlet } from 'react-router-dom';
import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Home", "href": "#home"
},
{
"name": "Services", "href": "#services"
},
{
"name": "Products", "href": "#products"
},
{
"name": "About", "href": "#about"
},
{
"name": "Team", "href": "#team"
},
{
"name": "Testimonials", "href": "#testimonials"
},
{
"name": "Faq", "href": "#faq"
}
];
{ "name": "Home", "href": "#home" },
{ "name": "Services", "href": "#services" },
{ "name": "Products", "href": "#products" },
{ "name": "About", "href": "#about" },
{ "name": "Team", "href": "#team" },
{ "name": "Testimonials", "href": "#testimonials" },
{ "name": "Faq", "href": "#faq" }
];
return (
<StyleProvider buttonVariant="bubble" siteBackground="floatingGradient" heroBackground="lightRaysCenter">
@@ -39,7 +24,8 @@ export default function Layout() {
logo="QuickSeva"
logoImageSrc="https://storage.googleapis.com/webild/users/user_3FAakrGyZd7VBV36Fpvs1I0qz8k/uploaded-1781520761041-gy58vkal.png"
ctaButton={{
text: "Book Now", href: "#contact"}}
text: "Book Now", href: "#contact"
}}
navItems={navItems}
/>
</SectionErrorBoundary>
@@ -51,12 +37,9 @@ export default function Layout() {
brand="QuickSeva"
copyright="© 2024 QuickSeva Technologies. All rights reserved."
socialLinks={[
{
icon: "Facebook"},
{
icon: "Instagram"},
{
icon: "Twitter"},
{ icon: "Facebook" },
{ icon: "Instagram" },
{ icon: "Twitter" }
]}
/>
</SectionErrorBoundary>