Update src/components/Layout.tsx
This commit is contained in:
@@ -7,103 +7,52 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
|
|||||||
|
|
||||||
export default function Layout() {
|
export default function Layout() {
|
||||||
const navItems = [
|
const navItems = [
|
||||||
{
|
{ name: "Anasayfa", href: "#hero" },
|
||||||
"name": "Anasayfa",
|
{ name: "Hakkımızda", href: "#about" },
|
||||||
"href": "#hero"
|
{ name: "Hizmetler", href: "#services" },
|
||||||
},
|
{ name: "İletişim", href: "#contact" }
|
||||||
{
|
];
|
||||||
"name": "Hakkımızda",
|
|
||||||
"href": "#about"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Hizmetler",
|
|
||||||
"href": "#services"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "İletişim",
|
|
||||||
"href": "#contact"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Metrics",
|
|
||||||
"href": "#metrics"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Testimonials",
|
|
||||||
"href": "#testimonials"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Faq",
|
|
||||||
"href": "#faq"
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<StyleProvider buttonVariant="default" siteBackground="floatingGradient" heroBackground="lightRaysCenter">
|
<StyleProvider buttonVariant="default" siteBackground="floatingGradient" heroBackground="lightRaysCenter">
|
||||||
<SiteBackgroundSlot />
|
<SiteBackgroundSlot />
|
||||||
<SectionErrorBoundary name="navbar">
|
<SectionErrorBoundary name="navbar">
|
||||||
<NavbarFloatingLogo
|
<NavbarFloatingLogo
|
||||||
logo="Uysal Oto"
|
logo="Uysal Oto"
|
||||||
logoImageSrc="https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&q=80&w=100&h=100"
|
logoImageSrc="https://storage.googleapis.com/webild/default/no-image.jpg?id=pleg9l"
|
||||||
ctaButton={{
|
ctaButton={{
|
||||||
text: "Randevu Al",
|
text: "Randevu Al", href: "#contact"}}
|
||||||
href: "#contact",
|
navItems={navItems}
|
||||||
}}
|
/>
|
||||||
navItems={navItems} />
|
|
||||||
</SectionErrorBoundary>
|
</SectionErrorBoundary>
|
||||||
<main className="flex-grow">
|
<main className="flex-grow">
|
||||||
<Outlet />
|
<Outlet />
|
||||||
</main>
|
</main>
|
||||||
<SectionErrorBoundary name="footer">
|
<SectionErrorBoundary name="footer">
|
||||||
<FooterSimpleCard
|
<FooterSimpleCard
|
||||||
brand="Uysal Oto Özel Servis"
|
brand="Uysal Oto Özel Servis"
|
||||||
columns={[
|
columns={[
|
||||||
{
|
|
||||||
title: "Hizmetler",
|
|
||||||
items: [
|
|
||||||
{
|
{
|
||||||
label: "Motor Bakımı",
|
title: "Hizmetler", items: [
|
||||||
href: "#services",
|
{ label: "Motor Bakımı", href: "#services" },
|
||||||
|
{ label: "Fren Kontrolü", href: "#services" },
|
||||||
|
{ label: "Elektronik Tespit", href: "#services" },
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Fren Kontrolü",
|
title: "İletişim", items: [
|
||||||
href: "#services",
|
{ label: "Adres Bilgisi", href: "#contact" },
|
||||||
|
{ label: "Telefon", href: "tel:+905550000000" },
|
||||||
|
{ label: "Email", href: "mailto:info@uysaloto.com" },
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{
|
]}
|
||||||
label: "Elektronik Tespit",
|
copyright="© 2024 Uysal Oto Özel Servis. Tüm hakları saklıdır."
|
||||||
href: "#services",
|
links={[
|
||||||
},
|
{ label: "Gizlilik Politikası", href: "#" },
|
||||||
],
|
{ label: "Kullanım Şartları", href: "#" },
|
||||||
},
|
]}
|
||||||
{
|
/>
|
||||||
title: "İletişim",
|
|
||||||
items: [
|
|
||||||
{
|
|
||||||
label: "Adres Bilgisi",
|
|
||||||
href: "#contact",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: "Telefon",
|
|
||||||
href: "tel:+905550000000",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: "Email",
|
|
||||||
href: "mailto:info@uysaloto.com",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
]}
|
|
||||||
copyright="© 2024 Uysal Oto Özel Servis. Tüm hakları saklıdır."
|
|
||||||
links={[
|
|
||||||
{
|
|
||||||
label: "Gizlilik Politikası",
|
|
||||||
href: "#",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: "Kullanım Şartları",
|
|
||||||
href: "#",
|
|
||||||
},
|
|
||||||
]}
|
|
||||||
/>
|
|
||||||
</SectionErrorBoundary>
|
</SectionErrorBoundary>
|
||||||
</StyleProvider>
|
</StyleProvider>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user