Update src/components/Layout.tsx

This commit is contained in:
2026-06-22 14:21:26 +00:00
parent 1efcd9a0e4
commit 737b002b76

View File

@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Home",
"href": "#"
"name": "Home", "href": "#"
},
{
"name": "Products",
"href": "#products"
"name": "Products", "href": "#products"
},
{
"name": "Gallery",
"href": "#gallery"
"name": "Gallery", "href": "#gallery"
},
{
"name": "Contact",
"href": "#contact"
"name": "Contact", "href": "#contact"
},
{
"name": "Hero",
"href": "#hero"
"name": "Hero", "href": "#hero"
},
{
"name": "About",
"href": "#about"
"name": "About", "href": "#about"
},
{
"name": "Features",
"href": "#features"
"name": "Features", "href": "#features"
}
];
@@ -43,11 +36,9 @@ export default function Layout() {
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Croch-Slay"
logoImageSrc="https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?q=80&w=200&auto=format&fit=crop"
logoImageSrc="http://img.b2bpic.net/free-vector/colorful-minimal-logo-set-retro-style_23-2148369773.jpg"
ctaButton={{
text: "Shop Now",
href: "#products",
}}
text: "Shop Now", href: "#products"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -57,29 +48,19 @@ export default function Layout() {
<FooterBasic
columns={[
{
title: "Shop",
items: [
title: "Shop", items: [
{
label: "New Arrivals",
href: "#",
},
label: "New Arrivals", href: "#"},
{
label: "All Products",
href: "#products",
},
label: "All Products", href: "#products"},
],
},
{
title: "Support",
items: [
title: "Support", items: [
{
label: "Shipping Info",
href: "#",
},
label: "Shipping Info", href: "#"},
{
label: "Custom Orders",
href: "#",
},
label: "Custom Orders", href: "#"},
],
},
]}