Update src/components/Layout.tsx
This commit is contained in:
@@ -7,90 +7,50 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
|
||||
|
||||
export default function Layout() {
|
||||
const navItems = [
|
||||
{
|
||||
"name": "Home",
|
||||
"href": "#hero"
|
||||
},
|
||||
{
|
||||
"name": "Products",
|
||||
"href": "#products"
|
||||
},
|
||||
{
|
||||
"name": "Services",
|
||||
"href": "#services"
|
||||
},
|
||||
{
|
||||
"name": "About",
|
||||
"href": "#about"
|
||||
},
|
||||
{
|
||||
"name": "Contact",
|
||||
"href": "#contact"
|
||||
},
|
||||
{
|
||||
"name": "Testimonials",
|
||||
"href": "#testimonials"
|
||||
},
|
||||
{
|
||||
"name": "Stats",
|
||||
"href": "#stats"
|
||||
}
|
||||
];
|
||||
{ "name": "Home", "href": "#hero" },
|
||||
{ "name": "Products", "href": "#products" },
|
||||
{ "name": "Services", "href": "#services" },
|
||||
{ "name": "About", "href": "#about" },
|
||||
{ "name": "Contact", "href": "#contact" },
|
||||
{ "name": "Testimonials", "href": "#testimonials" },
|
||||
{ "name": "Stats", "href": "#stats" }
|
||||
];
|
||||
|
||||
return (
|
||||
<StyleProvider buttonVariant="shift" siteBackground="floatingGradient" heroBackground="lightRaysCenter">
|
||||
<SiteBackgroundSlot />
|
||||
<SectionErrorBoundary name="navbar">
|
||||
<NavbarFloatingLogo
|
||||
logo="Al-BARI FABRICS"
|
||||
logoImageSrc="https://images.unsplash.com/photo-1560414239-d28a14ce6615?auto=format&fit=crop&q=80&w=100&h=100"
|
||||
ctaButton={{
|
||||
text: "Get Quote",
|
||||
href: "#contact",
|
||||
}}
|
||||
navItems={navItems} />
|
||||
logo="Al-BARI FABRICS"
|
||||
logoImageSrc="https://storage.googleapis.com/webild/default/no-image.jpg?id=uv6cwm"
|
||||
ctaButton={{
|
||||
text: "Get Quote", href: "#contact"}}
|
||||
navItems={navItems}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
<main className="flex-grow">
|
||||
<Outlet />
|
||||
</main>
|
||||
<SectionErrorBoundary name="footer">
|
||||
<FooterBrand
|
||||
brand="Al-BARI FABRICS"
|
||||
columns={[
|
||||
{
|
||||
items: [
|
||||
brand="Al-BARI FABRICS"
|
||||
columns={[
|
||||
{
|
||||
label: "About Us",
|
||||
href: "#about",
|
||||
items: [
|
||||
{ label: "About Us", href: "#about" },
|
||||
{ label: "Products", href: "#products" },
|
||||
{ label: "Privacy Policy", href: "#" },
|
||||
],
|
||||
},
|
||||
{
|
||||
label: "Products",
|
||||
href: "#products",
|
||||
items: [
|
||||
{ label: "Contact", href: "tel:+923014305236" },
|
||||
{ label: "WhatsApp", href: "https://wa.me/923014305236" },
|
||||
{ label: "Address", href: "#" },
|
||||
],
|
||||
},
|
||||
{
|
||||
label: "Privacy Policy",
|
||||
href: "#",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
items: [
|
||||
{
|
||||
label: "Contact",
|
||||
href: "tel:+923014305236",
|
||||
},
|
||||
{
|
||||
label: "WhatsApp",
|
||||
href: "https://wa.me/923014305236",
|
||||
},
|
||||
{
|
||||
label: "Address",
|
||||
href: "#",
|
||||
},
|
||||
],
|
||||
},
|
||||
]}
|
||||
/>
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</StyleProvider>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user