Merge version_1_1781527374361 into main #2
@@ -2,62 +2,44 @@ 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": "#hero"
|
||||
},
|
||||
{
|
||||
"name": "Services", "href": "#services"
|
||||
},
|
||||
{
|
||||
"name": "Gallery", "href": "#gallery"
|
||||
},
|
||||
{
|
||||
"name": "Reviews", "href": "#reviews"
|
||||
},
|
||||
{
|
||||
"name": "Contact", "href": "#contact"
|
||||
},
|
||||
{
|
||||
"name": "About", "href": "#about"
|
||||
},
|
||||
{
|
||||
"name": "Why Choose", "href": "#why-choose"
|
||||
}
|
||||
];
|
||||
{ "name": "Home", "href": "#hero" },
|
||||
{ "name": "Services", "href": "#services" },
|
||||
{ "name": "Gallery", "href": "#gallery" },
|
||||
{ "name": "Reviews", "href": "#reviews" },
|
||||
{ "name": "Contact", "href": "#contact" },
|
||||
{ "name": "About", "href": "#about" },
|
||||
{ "name": "Why Choose", "href": "#why-choose" }
|
||||
];
|
||||
|
||||
return (
|
||||
<StyleProvider buttonVariant="expand" siteBackground="gridDots" heroBackground="lightRaysCenter">
|
||||
<SiteBackgroundSlot />
|
||||
<SectionErrorBoundary name="navbar">
|
||||
<NavbarFloatingLogo
|
||||
logo="Sarwat's Beauty Lounge"
|
||||
logoImageSrc="https://storage.googleapis.com/webild/default/no-image.jpg?id=y3gbyw"
|
||||
ctaButton={{
|
||||
text: "Book Now", href: "#contact"}}
|
||||
navItems={navItems} />
|
||||
logo="Sarwat's Beauty Lounge"
|
||||
logoImageSrc="https://storage.googleapis.com/webild/default/no-image.jpg?id=y3gbyw"
|
||||
ctaButton={{ text: "Book Now", href: "#contact" }}
|
||||
navItems={navItems}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
<main className="flex-grow">
|
||||
<Outlet />
|
||||
</main>
|
||||
<SectionErrorBoundary name="footer">
|
||||
<FooterMinimal
|
||||
brand="Sarwat's Beauty Lounge"
|
||||
copyright="© 2024 Sarwat's Beauty Lounge. All rights reserved."
|
||||
socialLinks={[
|
||||
{
|
||||
icon: "Instagram", href: "#"},
|
||||
{
|
||||
icon: "Facebook", href: "#"},
|
||||
{
|
||||
icon: "Twitter", href: "#"},
|
||||
]}
|
||||
/>
|
||||
brand="Sarwat's Beauty Lounge"
|
||||
copyright="© 2024 Sarwat's Beauty Lounge. All rights reserved."
|
||||
socialLinks={[
|
||||
{ icon: "Instagram", href: "#" },
|
||||
{ icon: "Facebook", href: "#" },
|
||||
{ icon: "Twitter", href: "#" }
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</StyleProvider>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user