Update src/components/Layout.tsx

This commit is contained in:
2026-06-14 12:01:53 +00:00
parent 0df8fc6130
commit 1795e8da79

View File

@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Ana Səhifə",
"href": "/"
"name": "Ana Səhifə", "href": "/"
},
{
"name": "Haqqımızda",
"href": "#about"
"name": "Haqqımızda", "href": "#about"
},
{
"name": "Rəylər və Əlaqə",
"href": "/contact"
"name": "Rəylər və Əlaqə", "href": "/contact"
},
{
"name": "Hero",
"href": "#hero"
"name": "Hero", "href": "#hero"
},
{
"name": "Stats",
"href": "#stats"
"name": "Stats", "href": "#stats"
},
{
"name": "Faq",
"href": "#faq"
"name": "Faq", "href": "#faq"
},
{
"name": "Legal",
"href": "#legal"
"name": "Legal", "href": "#legal"
}
];
@@ -43,11 +36,9 @@ export default function Layout() {
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Pluton"
logoImageSrc="https://images.unsplash.com/photo-1511795409834-ef04bbd61622?auto=format&fit=crop&q=80&w=100&h=100"
logoImageSrc="http://img.b2bpic.net/free-vector/set-wedding-monogram-logos_23-2148257561.jpg"
ctaButton={{
text: "Rezervasiya",
href: "/contact",
}}
text: "Rezervasiya", href: "/contact"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -58,37 +49,27 @@ export default function Layout() {
brand="Pluton Şadlıq Sarayı"
columns={[
{
title: "Ünvan",
items: [
title: "Ünvan", items: [
{
label: "Bakı, Əhmədli",
href: "#",
},
label: "Bakı, Əhmədli", href: "#"},
],
},
{
title: "Xidmətlər",
items: [
title: "Xidmətlər", items: [
{
label: "Toy",
href: "/about",
},
label: "Toy", href: "/about"},
{
label: "Nişan",
href: "/about",
},
label: "Nişan", href: "/about"},
],
},
]}
copyright="© 2024 Pluton Şadlıq Sarayı. Bütün hüquqlar qorunur."
links={[
{
label: "Gizlilik Siyasəti",
href: "#",
},
label: "Gizlilik Siyasəti", href: "#"},
]}
/>
</SectionErrorBoundary>
</StyleProvider>
);
}
}