Files
098097f5-9980-4dc8-b195-d24…/src/components/Layout.tsx

116 lines
2.7 KiB
TypeScript

import FooterSimpleMedia from '@/components/sections/footer/FooterSimpleMedia';
import NavbarInline from '@/components/ui/NavbarInline';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
import SiteBackgroundSlot from "@/components/ui/SiteBackgroundSlot";
import { Outlet } from 'react-router-dom';
import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Início",
"href": "#hero"
},
{
"name": "Sobre",
"href": "#about"
},
{
"name": "Serviços",
"href": "#services"
},
{
"name": "Projetos",
"href": "#portfolio"
},
{
"name": "Contacto",
"href": "#contact"
},
{
"name": "Diferenciais",
"href": "#diferenciais"
},
{
"name": "Testimonials",
"href": "#testimonials"
}
];
return (
<StyleProvider buttonVariant="bubble" siteBackground="floatingGradient" heroBackground="gradientBars">
<SiteBackgroundSlot />
<SectionErrorBoundary name="navbar">
<NavbarInline
logo="Create Web"
ctaButton={{
text: "Solicitar Orçamento",
href: "#contact",
}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
<Outlet />
</main>
<SectionErrorBoundary name="footer">
<FooterSimpleMedia
brand="Create Web"
columns={[
{
title: "Navegação",
items: [
{
label: "Início",
href: "#hero",
},
{
label: "Sobre",
href: "#about",
},
{
label: "Serviços",
href: "#services",
},
],
},
{
title: "Social",
items: [
],
},
{
title: "Contacto",
items: [
{
label: "createweb332@gmail.com",
href: "mailto:createweb332@gmail.com",
},
{
label: "+244 938 090 147",
href: "tel:+244938090147",
},
],
},
]}
copyright="© 2026 Create Web. Todos os direitos reservados."
imageSrc="http://img.b2bpic.net/free-photo/creative-3d-render-design-web-development-banner-marketing-material-business-presentation-online-advertising_460848-9669.jpg"
links={[
{
label: "Início",
href: "#hero",
},
{
label: "Sobre",
href: "#about",
},
{
label: "Serviços",
href: "#services",
},
]}
/>
</SectionErrorBoundary>
</StyleProvider>
);
}