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": "Shop",
|
||||
"href": "#products"
|
||||
},
|
||||
{
|
||||
"name": "About",
|
||||
"href": "#about"
|
||||
},
|
||||
{
|
||||
"name": "Testimonials",
|
||||
"href": "#testimonials"
|
||||
},
|
||||
{
|
||||
"name": "Contact",
|
||||
"href": "#contact"
|
||||
},
|
||||
{
|
||||
"name": "Hero",
|
||||
"href": "#hero"
|
||||
},
|
||||
{
|
||||
"name": "Features",
|
||||
"href": "#features"
|
||||
},
|
||||
{
|
||||
"name": "Metrics",
|
||||
"href": "#metrics"
|
||||
}
|
||||
];
|
||||
{ "name": "Shop", "href": "#products" },
|
||||
{ "name": "About", "href": "#about" },
|
||||
{ "name": "Testimonials", "href": "#testimonials" },
|
||||
{ "name": "Contact", "href": "#contact" },
|
||||
{ "name": "Hero", "href": "#hero" },
|
||||
{ "name": "Features", "href": "#features" },
|
||||
{ "name": "Metrics", "href": "#metrics" }
|
||||
];
|
||||
|
||||
return (
|
||||
<StyleProvider buttonVariant="default" siteBackground="noiseGradient" heroBackground="radialGradient">
|
||||
<SiteBackgroundSlot />
|
||||
<SectionErrorBoundary name="navbar">
|
||||
<NavbarFloatingLogo
|
||||
logo="Ongonwear"
|
||||
logoImageSrc="https://images.unsplash.com/photo-1599305445671-ac291c95aaa9?w=100&h=100&fit=crop"
|
||||
ctaButton={{
|
||||
text: "Buy Now",
|
||||
href: "#products",
|
||||
}}
|
||||
navItems={navItems} />
|
||||
logo="Ongonwear"
|
||||
logoImageSrc="http://img.b2bpic.net/free-vector/minimalist-fashion-typography-logo-template_742173-7469.jpg"
|
||||
ctaButton={{
|
||||
text: "Buy Now", href: "#products"}}
|
||||
navItems={navItems}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
<main className="flex-grow">
|
||||
<Outlet />
|
||||
</main>
|
||||
<SectionErrorBoundary name="footer">
|
||||
<FooterBrand
|
||||
brand="Ongonwear"
|
||||
columns={[
|
||||
{
|
||||
items: [
|
||||
brand="Ongonwear"
|
||||
columns={[
|
||||
{
|
||||
label: "Shop",
|
||||
href: "#products",
|
||||
items: [
|
||||
{ label: "Shop", href: "#products" },
|
||||
{ label: "About", href: "#about" },
|
||||
{ label: "Community", href: "#testimonials" },
|
||||
],
|
||||
},
|
||||
{
|
||||
label: "About",
|
||||
href: "#about",
|
||||
items: [
|
||||
{ label: "Contact", href: "#contact" },
|
||||
{ label: "Support", href: "#faq" },
|
||||
{ label: "Legal", href: "#" },
|
||||
],
|
||||
},
|
||||
{
|
||||
label: "Community",
|
||||
href: "#testimonials",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
items: [
|
||||
{
|
||||
label: "Contact",
|
||||
href: "#contact",
|
||||
},
|
||||
{
|
||||
label: "Support",
|
||||
href: "#faq",
|
||||
},
|
||||
{
|
||||
label: "Legal",
|
||||
href: "#",
|
||||
},
|
||||
],
|
||||
},
|
||||
]}
|
||||
/>
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</StyleProvider>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user