Update src/components/Layout.tsx
This commit is contained in:
@@ -9,32 +9,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
|
||||
export default function Layout() {
|
||||
const navItems = [
|
||||
{
|
||||
"name": "Home",
|
||||
"href": "#hero"
|
||||
"name": "Home", "href": "#hero"
|
||||
},
|
||||
{
|
||||
"name": "Benefits",
|
||||
"href": "#benefits"
|
||||
"name": "Benefits", "href": "#benefits"
|
||||
},
|
||||
{
|
||||
"name": "Flavors",
|
||||
"href": "#flavors"
|
||||
"name": "Flavors", "href": "#flavors"
|
||||
},
|
||||
{
|
||||
"name": "About Us",
|
||||
"href": "#about"
|
||||
"name": "About Us", "href": "#about"
|
||||
},
|
||||
{
|
||||
"name": "FAQ",
|
||||
"href": "#faq"
|
||||
"name": "FAQ", "href": "#faq"
|
||||
},
|
||||
{
|
||||
"name": "Contact",
|
||||
"href": "#contact"
|
||||
"name": "Contact", "href": "#contact"
|
||||
},
|
||||
{
|
||||
"name": "Metrics",
|
||||
"href": "#metrics"
|
||||
"name": "Metrics", "href": "#metrics"
|
||||
}
|
||||
];
|
||||
|
||||
@@ -44,11 +37,9 @@ export default function Layout() {
|
||||
<SectionErrorBoundary name="navbar">
|
||||
<NavbarFloatingLogo
|
||||
logo="Nordic Yogurt"
|
||||
logoImageSrc="/logo.svg"
|
||||
logoImageSrc="http://img.b2bpic.net/free-vector/simple-cute-logo-brand-cow-milk_80328-229.jpg"
|
||||
ctaButton={{
|
||||
text: "Shop Now",
|
||||
href: "#flavors",
|
||||
}}
|
||||
text: "Shop Now", href: "#flavors"}}
|
||||
navItems={navItems} />
|
||||
</SectionErrorBoundary>
|
||||
<main className="flex-grow">
|
||||
@@ -61,16 +52,13 @@ export default function Layout() {
|
||||
socialLinks={[
|
||||
{
|
||||
icon: Facebook,
|
||||
href: "#",
|
||||
},
|
||||
href: "#"},
|
||||
{
|
||||
icon: Instagram,
|
||||
href: "#",
|
||||
},
|
||||
href: "#"},
|
||||
{
|
||||
icon: Twitter,
|
||||
href: "#",
|
||||
},
|
||||
href: "#"},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
|
||||
Reference in New Issue
Block a user