Add src/app/location/page.tsx

This commit is contained in:
2026-06-10 16:47:12 +00:00
parent 03445f8959
commit d0d13ade99

130
src/app/location/page.tsx Normal file
View File

@@ -0,0 +1,130 @@
"use client";
import { Metadata } from "next";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FaqBase from '@/components/sections/faq/FaqBase';
export const metadata: Metadata = {
title: 'Burg Burger | Konum ve Harita',
description: 'Burg Burger İstanbul şubesinin konumunu ve yol tariflerini alın. Size en yakın lezzet durağı.',
};
const updatedNavItems = [
{ name: "Ana Sayfa", id: "/" },
{ name: "Menü", id: "/#menu" },
{ name: "Hakkımızda", id: "/#about" },
{ name: "Galeri", id: "/gallery" },
{ name: "Sipariş Ver", id: "/order" },
{ name: "Konum", id: "/location" },
{ name: "Rezervasyon", id: "/reservations" },
{ name: "Yorumlar", id: "/#testimonials" },
{ name: "İletişim", id: "/#contact" }
];
const updatedFooterColumns = [
{
title: "Hızlı Erişim", items: [
{ label: "Ana Sayfa", href: "/" },
{ label: "Menü", href: "/#menu" },
{ label: "Hakkımızda", href: "/#about" },
{ label: "Galeri", href: "/gallery" },
{ label: "Sipariş Ver", href: "/order" },
{ label: "Konum", href: "/location" },
{ label: "Rezervasyon", href: "/reservations" }
]
},
{
title: "Yardım", items: [
{ label: "İletişim", href: "/#contact" },
{ label: "Sıkça Sorulan Sorular", href: "/#faq" },
{ label: "Gizlilik Politikası", href: "#" }
]
},
{
title: "Sosyal Medya", items: [
{ label: "Instagram", href: "#" },
{ label: "Facebook", href: "#" },
{ label: "Twitter", href: "#" }
]
}
];
export default function LocationPage() {
return (
<ThemeProvider
defaultButtonVariant="expand-hover"
defaultTextAnimation="background-highlight"
borderRadius="rounded"
contentWidth="mediumLarge"
sizing="largeSmall"
background="circleGradient"
cardStyle="subtle-shadow"
primaryButtonStyle="gradient"
secondaryButtonStyle="layered"
headingFontWeight="extrabold"
>
<ReactLenis root>
<div id="nav" data-section="nav">
<NavbarLayoutFloatingOverlay
navItems={updatedNavItems}
logoSrc="http://img.b2bpic.net/free-vector/hamburger-shield-crown-logo-design_474888-5004.jpg"
logoAlt="Burg Burger Logo"
brandName="Burg Burger"
button={{ text: "Şimdi Sipariş Ver", href: "/order" }}
/>
</div>
<div id="location-map" data-section="location-map">
<ContactSplit
tag="Konum"
title="Bizi Ziyaret Edin"
description="Burg Burger İstanbul şubesinin haritasını ve adres bilgilerini aşağıda bulabilirsiniz. Lezzet dolu anlar için sizleri bekliyoruz!"
background={{ variant: "plain" }}
useInvertedBackground={false}
mediaPosition="left"
imageSrc="http://img.b2bpic.net/free-photo/map-istanbul_23-2147775538.jpg"
imageAlt="Burg Burger İstanbul Konumu Haritası"
buttons={[
{ text: "Yol Tarifi Al", href: "https://www.google.com/maps/dir/?api=1&destination=Burg+Burger+Istanbul", onClick: () => console.log('Yol Tarifi Al') },
{ text: "Hemen Ara", href: "tel:+902121234567" }
]}
mediaAnimation="slide-up"
tagAnimation="opacity"
buttonAnimation="slide-up"
/>
</div>
<div id="location-details" data-section="location-details">
<FaqBase
textboxLayout="default"
useInvertedBackground={true}
faqs={[
{ id: "address", title: "Adres", content: "Burg Burger İstanbul Şubesi\nÖrnek Mah. Cumhuriyet Cad. No:123\nKadıköy/İstanbul" },
{ id: "hours", title: "Çalışma Saatleri", content: "Haftanın her günü: 11:00 - 23:00" },
{ id: "contact-info", title: "İletişim", content: "Telefon: +90 212 123 45 67\nE-posta: info@burgburger.com.tr" }
]}
title="Detaylı Bilgiler"
description="Şubemiz hakkında daha fazla bilgi edinin."
faqsAnimation="slide-up"
/>
</div>
<div id="footer" data-section="footer">
<FooterMedia
imageSrc="http://img.b2bpic.net/free-photo/front-view-fresh-red-tomatoes-with-kumquats-dark-surface-color-salad-meal-food-health-diet-pepper_179666-24549.jpg"
imageAlt="Restaurant kitchen background"
logoSrc="http://img.b2bpic.net/free-vector/hamburger-shield-crown-logo-design_474888-5004.jpg"
logoAlt="Burg Burger Logo"
logoText="Burg Burger"
columns={updatedFooterColumns}
copyrightText="© 2024 Burg Burger. Tüm Hakları Saklıdır."
/>
</div>
</ReactLenis>
</ThemeProvider>
);
}