From c1e87b4abc1c3066a35a422f812abef1c2737e73 Mon Sep 17 00:00:00 2001 From: Ayris Dev Date: Mon, 13 Jul 2026 16:49:57 +0300 Subject: [PATCH] chore: remove rooms (odalar) page and links --- app/[lang]/odalar/page.tsx | 217 ------------------------------------- app/sitemap.ts | 3 +- components/Footer.tsx | 2 - 3 files changed, 1 insertion(+), 221 deletions(-) delete mode 100644 app/[lang]/odalar/page.tsx diff --git a/app/[lang]/odalar/page.tsx b/app/[lang]/odalar/page.tsx deleted file mode 100644 index 612ebdb..0000000 --- a/app/[lang]/odalar/page.tsx +++ /dev/null @@ -1,217 +0,0 @@ -import Image from "next/image"; -import Link from "next/link"; -import { Check, Wifi, Wind, Coffee, Eye, Trees } from "lucide-react"; -import ScrollReveal from "@/components/ScrollReveal"; - -const roomsTr = [ - { - img: "https://images.unsplash.com/photo-1618773928121-c32242e63f39?q=80&w=2940&auto=format&fit=crop", - tag: "Standart", - name: "Standart Oda", - desc: "Konforlu ve modern tasarımlı standart odalarımızda rahatlığın tadını çıkarın. Çift kişilik yatak ve şık dekorasyon ile dinlendirici bir atmosfer.", - sqm: "20 m²", - price: "₺4.500", - features: [ - { icon: Wifi, label: "Ücretsiz Wi-Fi" }, - { icon: Wind, label: "Klima" }, - { icon: Coffee, label: "Minibar" }, - { icon: Eye, label: "Bahçe Manzarası" }, - ], - reversed: false, - }, - { - img: "https://images.unsplash.com/photo-1566665797739-1674de7a421a?q=80&w=2874&auto=format&fit=crop", - tag: "Popüler", - name: "Nehir Manzaralı Oda", - desc: "Güne Azmak nehrinin eşsiz manzarası eşliğinde uyanacağınız ferah odalar. Balkonunuzda sabah kahvenizi yudumlarken doğanın sesini dinleyin.", - sqm: "25 m²", - price: "₺5.500", - features: [ - { icon: Eye, label: "Nehir Manzarası" }, - { icon: Trees, label: "Özel Balkon" }, - { icon: Coffee, label: "Nespresso Makinesi" }, - { icon: Wifi, label: "Ücretsiz Wi-Fi" }, - ], - reversed: true, - }, - { - img: "https://images.unsplash.com/photo-1499955085172-a104c9463ece?q=80&w=2940&auto=format&fit=crop", - tag: "Premium", - name: "Ahşap Bungalow", - desc: "Doğayla tamamen iç içe, bağımsız girişli ve teraslı ahşap tasarımlı yaşam alanı. Gizlilik ve huzur arayan çiftler için ideal.", - sqm: "35 m²", - price: "₺7.000", - features: [ - { icon: Trees, label: "Özel Teras" }, - { icon: Eye, label: "Doğa Manzarası" }, - { icon: Coffee, label: "Premium İkramlar" }, - { icon: Wind, label: "Klima" }, - ], - reversed: false, - }, -]; - -const roomsEn = [ - { - img: "https://images.unsplash.com/photo-1618773928121-c32242e63f39?q=80&w=2940&auto=format&fit=crop", - tag: "Standard", - name: "Standard Room", - desc: "Enjoy comfort in our modern standard rooms. Relaxing atmosphere with a double bed and stylish decoration.", - sqm: "20 m²", - price: "₺4.500", - features: [ - { icon: Wifi, label: "Free Wi-Fi" }, - { icon: Wind, label: "Air Conditioning" }, - { icon: Coffee, label: "Minibar" }, - { icon: Eye, label: "Garden View" }, - ], - reversed: false, - }, - { - img: "https://images.unsplash.com/photo-1566665797739-1674de7a421a?q=80&w=2874&auto=format&fit=crop", - tag: "Popular", - name: "River View Room", - desc: "Spacious rooms where you wake up to the unique view of the Azmak river. Listen to the sound of nature while sipping morning coffee on your private balcony.", - sqm: "25 m²", - price: "₺5.500", - features: [ - { icon: Eye, label: "River View" }, - { icon: Trees, label: "Private Balcony" }, - { icon: Coffee, label: "Nespresso Machine" }, - { icon: Wifi, label: "Free Wi-Fi" }, - ], - reversed: true, - }, - { - img: "https://images.unsplash.com/photo-1499955085172-a104c9463ece?q=80&w=2940&auto=format&fit=crop", - tag: "Premium", - name: "Wooden Bungalow", - desc: "Wooden living area with private entrance and terrace, fully integrated with nature. Ideal for couples seeking privacy and serenity.", - sqm: "35 m²", - price: "₺7.000", - features: [ - { icon: Trees, label: "Private Terrace" }, - { icon: Eye, label: "Nature View" }, - { icon: Coffee, label: "Premium Amenities" }, - { icon: Wind, label: "Air Conditioning" }, - ], - reversed: false, - }, -]; - -export default async function OdalarPage({ params }: { params: Promise<{ lang: string }> }) { - const { lang } = await params; - const isEn = lang === "en"; - const displayRooms = isEn ? roomsEn : roomsTr; - const displayAmenities = isEn - ? ["Organic Breakfast Spread", "Free Parking", "Beach & River Access", "Sunbed & Towel", "Wi-Fi", "24/7 Reception"] - : ["Organik Serpme Kahvaltı", "Ücretsiz Otopark", "Plaj & Nehir Erişimi", "Şezlong & Havlu", "Wi-Fi", "24/7 Resepsiyon"]; - - return ( -
- - {/* Page Header */} -
-
- {isEn -
-
-
- - {isEn ? "Accommodation" : "Konaklama"} - -

- {isEn ? "Our Rooms" : "Odalarımız"} -

-

- {isEn ? "A comfortable break in the heart of nature." : "Doğanın içinde, konforlu bir mola."} -

-
-
- - {/* Room Listings */} -
-
- {displayRooms.map((room, i) => ( - -
- {/* Image */} -
- {room.name} - {/* Tag */} - - {room.tag} - -
- - {/* Content */} -
- {room.sqm} -

{room.name}

-

{room.desc}

- -
- {room.features.map(({ icon: Icon, label }, j) => ( -
-
- -
- {label} -
- ))} -
- -
-
- - {isEn ? "Per Night" : "Gecelik"} - - {room.price} -
- - {isEn ? "Contact Us" : "Bize Ulaşın"} - -
-
-
-
- ))} -
-
- - {/* Info strip */} -
-
-

- {isEn ? "What's included in all rooms" : "Tüm odalarda dahil olanlar"} -

-
- {displayAmenities.map((item) => ( - - - {item} - - ))} -
-
-
-
- ); -} diff --git a/app/sitemap.ts b/app/sitemap.ts index cd3c8d2..7d859d0 100644 --- a/app/sitemap.ts +++ b/app/sitemap.ts @@ -4,8 +4,7 @@ const baseUrl = 'https://kitebeachakyaka.com.tr'; const langs = ['tr', 'en']; const routes = [ { path: '', changeFrequency: 'daily' as const, priority: 1.0 }, - { path: '/odalar', changeFrequency: 'weekly' as const, priority: 0.9 }, - { path: '/aktiviteler', changeFrequency: 'weekly' as const, priority: 0.9 }, + { path: '/aktiviteler', changeFrequency: 'weekly' as const, priority: 0.8 }, { path: '/etkinlikler', changeFrequency: 'weekly' as const, priority: 0.9 }, { path: '/restoran', changeFrequency: 'weekly' as const, priority: 0.8 }, { path: '/iletisim', changeFrequency: 'monthly' as const, priority: 0.8 }, diff --git a/components/Footer.tsx b/components/Footer.tsx index e7e3468..c3a6ef7 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -33,7 +33,6 @@ export default function Footer({ lang = "tr" }: { lang?: string }) { const isEn = lang === "en"; const quickLinks = isEn ? [ { name: "Home", href: "/en" }, - { name: "Rooms", href: "/en/odalar" }, { name: "Activities", href: "/en/aktiviteler"}, { name: "Restaurant", href: "/en/restoran" }, { name: "Events", href: "/en/etkinlikler"}, @@ -41,7 +40,6 @@ export default function Footer({ lang = "tr" }: { lang?: string }) { { name: "About Us", href: "/en/hakkimizda" }, ] : [ { name: "Ana Sayfa", href: "/tr" }, - { name: "Odalar", href: "/tr/odalar" }, { name: "Aktiviteler", href: "/tr/aktiviteler"}, { name: "Restoran", href: "/tr/restoran" }, { name: "Etkinlikler", href: "/tr/etkinlikler"},