From d4bcbb0cc373d471be2e9ad16c4dd1295d465abf Mon Sep 17 00:00:00 2001 From: Ayris Dev Date: Mon, 13 Jul 2026 23:21:35 +0300 Subject: [PATCH] refactor: deactivate rooms (odalar) feature --- app/[lang]/galeri/page.tsx | 16 ++++++++-------- app/[lang]/hakkimizda/page.tsx | 4 ++-- app/[lang]/page.tsx | 2 +- app/actions/features.ts | 4 ++-- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/app/[lang]/galeri/page.tsx b/app/[lang]/galeri/page.tsx index 3e4cf2f..6729594 100644 --- a/app/[lang]/galeri/page.tsx +++ b/app/[lang]/galeri/page.tsx @@ -23,13 +23,13 @@ const getAltText = (alt: string, isEn: boolean) => { }; const gallery: { src: string; alt: string; category: "Odalar" | "Aktiviteler" | "Restoran" | "Doğa" }[] = [ - { src: "https://images.unsplash.com/photo-1618773928121-c32242e63f39?q=80&w=2940&auto=format&fit=crop", alt: "Standart Oda", category: "Odalar" }, +// { src: "https://images.unsplash.com/photo-1618773928121-c32242e63f39?q=80&w=2940&auto=format&fit=crop", alt: "Standart Oda", category: "Odalar" }, { src: "https://images.unsplash.com/photo-1526367790999-0150786686a2?q=80&w=2940&auto=format&fit=crop", alt: "Kitesurf", category: "Aktiviteler" }, { src: "https://images.unsplash.com/photo-1544551763-46a013bb70d5?q=80&w=2940&auto=format&fit=crop", alt: "Nehir Doğa", category: "Doğa" }, - { src: "https://images.unsplash.com/photo-1566665797739-1674de7a421a?q=80&w=2874&auto=format&fit=crop", alt: "Nehir Manzaralı Oda",category: "Odalar" }, +// { src: "https://images.unsplash.com/photo-1566665797739-1674de7a421a?q=80&w=2874&auto=format&fit=crop", alt: "Nehir Manzaralı Oda",category: "Odalar" }, { src: "https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?q=80&w=2940&auto=format&fit=crop", alt: "Restoran", category: "Restoran" }, { src: "https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?q=80&w=2940&auto=format&fit=crop", alt: "Yoga", category: "Aktiviteler" }, - { src: "https://images.unsplash.com/photo-1499955085172-a104c9463ece?q=80&w=2940&auto=format&fit=crop", alt: "Bungalow", category: "Odalar" }, +// { src: "https://images.unsplash.com/photo-1499955085172-a104c9463ece?q=80&w=2940&auto=format&fit=crop", alt: "Bungalow", category: "Odalar" }, { src: "https://images.unsplash.com/photo-1507525428034-b723cf961d3e?q=80&w=2940&auto=format&fit=crop", alt: "SUP", category: "Aktiviteler" }, { src: "https://images.unsplash.com/photo-1551504734-5ee1c4a1479b?q=80&w=2940&auto=format&fit=crop", alt: "Kahvaltı", category: "Restoran" }, { src: "https://images.unsplash.com/photo-1511994298241-608e28f14fde?q=80&w=2940&auto=format&fit=crop", alt: "Bisiklet", category: "Aktiviteler" }, @@ -42,15 +42,15 @@ export default function GaleriPage({ params }: { params: Promise<{ lang: string const isEn = lang === "en"; const filters = isEn - ? ["All", "Rooms", "Activities", "Restaurant", "Nature"] - : ["Tümü", "Odalar", "Aktiviteler", "Restoran", "Doğa"]; + ? ["All", "Activities", "Restaurant", "Nature"] + : ["Tümü", "Aktiviteler", "Restoran", "Doğa"]; const [active, setActive] = useState(isEn ? "All" : "Tümü"); const [lightbox, setLightbox] = useState(null); const getInternalCategory = (filterName: string) => { if (filterName === "All" || filterName === "Tümü") return "Tümü"; - if (filterName === "Rooms") return "Odalar"; + // if (filterName === "Rooms") return "Odalar"; if (filterName === "Activities") return "Aktiviteler"; if (filterName === "Restaurant") return "Restoran"; if (filterName === "Nature") return "Doğa"; @@ -74,8 +74,8 @@ export default function GaleriPage({ params }: { params: Promise<{ lang: string

{isEn ? "Gallery" : "Galeri"}

{isEn - ? "Discover the unique nature, modern rooms, and exciting activities of Kite Beach Akyaka." - : "Kite Beach Akyaka'nın eşsiz doğasını, modern odalarını ve heyecan verici aktivitelerini keşfedin."} + ? "Discover the unique nature and exciting activities of Kite Beach Akyaka." + : "Kite Beach Akyaka'nın eşsiz doğasını ve heyecan verici aktivitelerini keşfedin."}

diff --git a/app/[lang]/hakkimizda/page.tsx b/app/[lang]/hakkimizda/page.tsx index 0c01dc5..b86e984 100644 --- a/app/[lang]/hakkimizda/page.tsx +++ b/app/[lang]/hakkimizda/page.tsx @@ -31,7 +31,7 @@ const valuesTr = [ { icon: Award, title: "Premium Deneyim", - desc: "IKO sertifikalı kitesurf okulumuzdandan odalarımıza kadar her noktada en yüksek kalite standartlarını sunuyoruz.", + desc: "IKO sertifikalı kitesurf okulumuzdan restoranımıza kadar her noktada en yüksek kalite standartlarını sunuyoruz.", }, ]; @@ -49,7 +49,7 @@ const valuesEn = [ { icon: Award, title: "Premium Experience", - desc: "From our IKO certified kitesurf school to our rooms, we offer the highest quality standards at every point.", + desc: "From our IKO certified kitesurf school to our restaurant, we offer the highest quality standards at every point.", }, ]; diff --git a/app/[lang]/page.tsx b/app/[lang]/page.tsx index 5418a3f..249994e 100644 --- a/app/[lang]/page.tsx +++ b/app/[lang]/page.tsx @@ -22,7 +22,7 @@ const defaultFeatures = [ { icon: "Wind", label: "Kitesurf Okulu", sub: "IKO Sertifikalı" }, { icon: "Anchor", label: "Yoga Platformu", sub: "Nehir Kenarı" }, { icon: "Utensils", label: "Restoran & Bar", sub: "Ege Mutfağı" }, - { icon: "BedDouble", label: "Butik Odalar", sub: "3 Tip Konaklama" }, + // { icon: "BedDouble", label: "Butik Odalar", sub: "3 Tip Konaklama" }, { icon: "Sun", label: "Gün Batımı Terası", sub: "Gökova Manzarası" }, ]; diff --git a/app/actions/features.ts b/app/actions/features.ts index 72d9465..9870986 100644 --- a/app/actions/features.ts +++ b/app/actions/features.ts @@ -12,8 +12,8 @@ export async function loadMockFeatures() { { lang: "en", icon: "Anchor", label: "Yoga Platform", sub: "Riverside", order: 2 }, { lang: "tr", icon: "Utensils", label: "Restoran & Bar", sub: "Ege Mutfağı", order: 3 }, { lang: "en", icon: "Utensils", label: "Restaurant & Bar", sub: "Aegean Cuisine", order: 3 }, - { lang: "tr", icon: "BedDouble", label: "Butik Odalar", sub: "3 Tip Konaklama", order: 4 }, - { lang: "en", icon: "BedDouble", label: "Boutique Rooms", sub: "3 Types of Stay", order: 4 }, + // { lang: "tr", icon: "BedDouble", label: "Butik Odalar", sub: "3 Tip Konaklama", order: 4 }, + // { lang: "en", icon: "BedDouble", label: "Boutique Rooms", sub: "3 Types of Stay", order: 4 }, { lang: "tr", icon: "Sun", label: "Gün Batımı Terası", sub: "Gökova Manzarası", order: 5 }, { lang: "en", icon: "Sun", label: "Sunset Terrace", sub: "Gokova View", order: 5 }, ];