Update src/components/Layout.tsx
This commit is contained in:
@@ -8,34 +8,13 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
|
||||
|
||||
export default function Layout() {
|
||||
const navItems = [
|
||||
{
|
||||
"name": "Home",
|
||||
"href": "#hero"
|
||||
},
|
||||
{
|
||||
"name": "About",
|
||||
"href": "#about"
|
||||
},
|
||||
{
|
||||
"name": "Services",
|
||||
"href": "#services"
|
||||
},
|
||||
{
|
||||
"name": "Testimonials",
|
||||
"href": "#testimonials"
|
||||
},
|
||||
{
|
||||
"name": "Maintenance",
|
||||
"href": "#maintenance"
|
||||
},
|
||||
{
|
||||
"name": "Faq",
|
||||
"href": "#faq"
|
||||
},
|
||||
{
|
||||
"name": "Contact",
|
||||
"href": "#contact"
|
||||
}
|
||||
{ name: "Home", href: "#hero" },
|
||||
{ name: "About", href: "#about" },
|
||||
{ name: "Services", href: "#services" },
|
||||
{ name: "Testimonials", href: "#testimonials" },
|
||||
{ name: "Maintenance", href: "#maintenance" },
|
||||
{ name: "Faq", href: "#faq" },
|
||||
{ name: "Contact", href: "#contact" }
|
||||
];
|
||||
|
||||
return (
|
||||
@@ -44,11 +23,9 @@ export default function Layout() {
|
||||
<SectionErrorBoundary name="navbar">
|
||||
<NavbarFloatingLogo
|
||||
logo="Crystal Gardens"
|
||||
logoImageSrc="https://images.unsplash.com/photo-1585320806297-9794b3e4ce88?w=150&h=150&fit=crop&q=80"
|
||||
logoImageSrc="https://storage.googleapis.com/webild/default/no-image.jpg?id=355dv0"
|
||||
ctaButton={{
|
||||
text: "Contact Us",
|
||||
href: "#contact",
|
||||
}}
|
||||
text: "Contact Us", href: "#contact"}}
|
||||
navItems={navItems} />
|
||||
</SectionErrorBoundary>
|
||||
<main className="flex-grow">
|
||||
@@ -59,21 +36,12 @@ export default function Layout() {
|
||||
brand="Crystal Gardens Landscape & Gardening Services"
|
||||
copyright="© 2024 Crystal Gardens. All rights reserved."
|
||||
socialLinks={[
|
||||
{
|
||||
icon: Facebook,
|
||||
href: "https://facebook.com",
|
||||
},
|
||||
{
|
||||
icon: Instagram,
|
||||
href: "https://instagram.com",
|
||||
},
|
||||
{
|
||||
icon: Twitter,
|
||||
href: "https://twitter.com",
|
||||
},
|
||||
{ icon: "Facebook", href: "https://facebook.com" },
|
||||
{ icon: "Instagram", href: "https://instagram.com" },
|
||||
{ icon: "Twitter", href: "https://twitter.com" },
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</StyleProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user