Update gallery to bento grid, add real reviews, update phone numbers and locations
This commit is contained in:
@@ -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", "Activities", "Restaurant", "Nature"]
|
||||
: ["Tümü", "Aktiviteler", "Restoran", "Doğa"];
|
||||
? ["All", "Rooms", "Activities", "Restaurant", "Nature"]
|
||||
: ["Tümü", "Odalar", "Aktiviteler", "Restoran", "Doğa"];
|
||||
|
||||
const [active, setActive] = useState<string>(isEn ? "All" : "Tümü");
|
||||
const [lightbox, setLightbox] = useState<string | null>(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";
|
||||
|
||||
Reference in New Issue
Block a user