Merge version_1_1781700561271 into main #2
@@ -2,62 +2,44 @@ import FooterMinimal from '@/components/sections/footer/FooterMinimal';
|
||||
import NavbarFloatingLogo from '@/components/ui/NavbarFloatingLogo';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
import SiteBackgroundSlot from "@/components/ui/SiteBackgroundSlot";
|
||||
import { Instagram, Linkedin, Twitter } from "lucide-react";
|
||||
import { Outlet } from 'react-router-dom';
|
||||
import { StyleProvider } from "@/components/ui/StyleProvider";
|
||||
|
||||
export default function Layout() {
|
||||
const navItems = [
|
||||
{
|
||||
"name": "About", "href": "#about"
|
||||
},
|
||||
{
|
||||
"name": "Services", "href": "#services"
|
||||
},
|
||||
{
|
||||
"name": "Results", "href": "#metrics"
|
||||
},
|
||||
{
|
||||
"name": "Testimonials", "href": "#testimonials"
|
||||
},
|
||||
{
|
||||
"name": "Hero", "href": "#hero"
|
||||
},
|
||||
{
|
||||
"name": "Faq", "href": "#faq"
|
||||
},
|
||||
{
|
||||
"name": "Social Proof", "href": "#social-proof"
|
||||
}
|
||||
];
|
||||
{ "name": "Hero", "href": "#hero" },
|
||||
{ "name": "About", "href": "#about" },
|
||||
{ "name": "Services", "href": "#services" },
|
||||
{ "name": "Results", "href": "#metrics" },
|
||||
{ "name": "Testimonials", "href": "#testimonials" },
|
||||
{ "name": "Faq", "href": "#faq" },
|
||||
{ "name": "Social Proof", "href": "#social-proof" }
|
||||
];
|
||||
|
||||
return (
|
||||
<StyleProvider buttonVariant="stagger" siteBackground="aurora" heroBackground="radialGradient">
|
||||
<SiteBackgroundSlot />
|
||||
<SectionErrorBoundary name="navbar">
|
||||
<NavbarFloatingLogo
|
||||
logo="DuoBlas"
|
||||
logoImageSrc="http://img.b2bpic.net/free-photo/business-people-holding-linkedin-logo_53876-71128.jpg"
|
||||
ctaButton={{
|
||||
text: "Get Started", href: "#contact"}}
|
||||
navItems={navItems} />
|
||||
logo="DuoBlas"
|
||||
logoImageSrc="http://img.b2bpic.net/free-photo/business-people-holding-linkedin-logo_53876-71128.jpg"
|
||||
ctaButton={{ text: "Get Started", href: "#contact" }}
|
||||
navItems={navItems}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
<main className="flex-grow">
|
||||
<Outlet />
|
||||
</main>
|
||||
<SectionErrorBoundary name="footer">
|
||||
<FooterMinimal
|
||||
brand="DuoBlas Marketing"
|
||||
copyright="© 2024 DuoBlas Marketing. All rights reserved."
|
||||
socialLinks={[
|
||||
{
|
||||
icon: "Twitter", href: "https://twitter.com"},
|
||||
{
|
||||
icon: "Linkedin", href: "https://linkedin.com"},
|
||||
{
|
||||
icon: "Instagram", href: "https://instagram.com"},
|
||||
]}
|
||||
/>
|
||||
brand="DuoBlas Marketing"
|
||||
copyright="© 2024 DuoBlas Marketing. All rights reserved."
|
||||
socialLinks={[
|
||||
{ icon: "Twitter", href: "https://twitter.com" },
|
||||
{ icon: "Linkedin", href: "https://linkedin.com" },
|
||||
{ icon: "Instagram", href: "https://instagram.com" }
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</StyleProvider>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user