Files
10be562d-1e2d-4bd4-bf54-a17…/src/components/Layout.tsx
2026-06-13 15:09:05 +00:00

103 lines
2.3 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import FooterSimpleMedia from '@/components/sections/footer/FooterSimpleMedia';
import NavbarCentered from '@/components/ui/NavbarCentered';
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": "Anasayfa",
"href": "#hero"
},
{
"name": "Ürünler",
"href": "#products"
},
{
"name": "İletişim",
"href": "#contact"
},
{
"name": "Brands",
"href": "#brands"
},
{
"name": "Testimonials",
"href": "#testimonials"
},
{
"name": "Metrics",
"href": "#metrics"
},
{
"name": "Faq",
"href": "#faq"
}
];
return (
<StyleProvider buttonVariant="stagger" siteBackground="floatingGradient" heroBackground="gradientBars">
<SiteBackgroundSlot />
<SectionErrorBoundary name="navbar">
<NavbarCentered
logo="DRIP HOUSE"
ctaButton={{
text: "Alışverişe Başla",
href: "#products",
}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
<Outlet />
</main>
<SectionErrorBoundary name="footer">
<FooterSimpleMedia
brand="DRIP HOUSE"
columns={[
{
title: "Kategoriler",
items: [
{
label: "Tüm Ürünler",
href: "#",
},
{
label: "Giyim",
href: "#",
},
{
label: "Ayakkabı",
href: "#",
},
],
},
{
title: "Politikalar",
items: [
{
label: "Gizlilik",
href: "#",
},
{
label: "İade Şartları",
href: "#",
},
],
},
]}
copyright="Powered by DRIP HOUSE DRIP © 2024"
links={[
{
label: "İletişim",
href: "#",
},
]}
imageSrc="http://img.b2bpic.net/free-photo/non-binary-person-modern-clothes-posing-artistic-way_23-2148760574.jpg"
/>
</SectionErrorBoundary>
</StyleProvider>
);
}