Update src/components/Layout.tsx

This commit is contained in:
2026-06-15 12:49:22 +00:00
parent 31ac579551
commit 62c1c87f2b

View File

@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Anasayfa",
"href": "#hero"
"name": "Anasayfa", "href": "#hero"
},
{
"name": "Hakkımızda",
"href": "#about"
"name": "Hakkımızda", "href": "#about"
},
{
"name": "Menü",
"href": "#menu"
"name": "Menü", "href": "#menu"
},
{
"name": "İletişim",
"href": "#contact"
"name": "İletişim", "href": "#contact"
},
{
"name": "Features",
"href": "#features"
"name": "Features", "href": "#features"
},
{
"name": "Testimonials",
"href": "#testimonials"
"name": "Testimonials", "href": "#testimonials"
},
{
"name": "Faq",
"href": "#faq"
"name": "Faq", "href": "#faq"
}
];
@@ -42,55 +35,42 @@ export default function Layout() {
<SiteBackgroundSlot />
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Faysal Usta"
logoImageSrc="https://images.unsplash.com/photo-1555396273-367ea4eb4db5?w=128&h=128&fit=crop"
ctaButton={{
text: "Rezervasyon",
href: "#contact",
}}
navItems={navItems} />
logo="Faysal Usta"
logoImageSrc="http://img.b2bpic.net/free-vector/fast-food-insignias_23-2147517290.jpg"
ctaButton={{
text: "Rezervasyon", href: "#contact"}}
navItems={navItems}
/>
</SectionErrorBoundary>
<main className="flex-grow">
<Outlet />
</main>
<SectionErrorBoundary name="footer">
<FooterBrand
brand="Diyarbakır Ciğercisi Faysal Usta"
columns={[
{
items: [
brand="Diyarbakır Ciğercisi Faysal Usta"
columns={[
{
label: "İletişim",
href: "tel:05368596111",
items: [
{
label: "İletişim", href: "tel:05368596111"},
{
label: "Konum", href: "#contact"},
{
label: "Çalışma Saatleri: 21:00'a kadar", href: "#"},
],
},
{
label: "Konum",
href: "#contact",
items: [
{
label: "Hakkımızda", href: "#about"},
{
label: "Menü", href: "#menu"},
{
label: "Yorumlar", href: "#testimonials"},
],
},
{
label: "Çalışma Saatleri: 21:00'a kadar",
href: "#",
},
],
},
{
items: [
{
label: "Hakkımızda",
href: "#about",
},
{
label: "Menü",
href: "#menu",
},
{
label: "Yorumlar",
href: "#testimonials",
},
],
},
]}
/>
]}
/>
</SectionErrorBoundary>
</StyleProvider>
);