+ {/* Lightbox */}
+ {lightboxIndex !== null && (
+
+ {/* Close */}
- {lightboxIndex! > 0 && (
+ {/* Previous */}
+ {lightboxIndex > 0 && (
)}
- {lightboxIndex! < items.length - 1 && (
+ {/* Next */}
+ {lightboxIndex < images.length - 1 && (
)}
+ {/* Image */}
e.stopPropagation()}
>
-
-
-
-
-
-
-
-
- {lightboxItem.title}
-
-
- {lightboxItem.category}
-
-
-
- {lightboxIndex! + 1} / {items.length}
-
-
- {lightboxItem.description && (
-
- {lightboxItem.description}
-
- )}
-
+
+
+
+ {/* Counter */}
+
+ {lightboxIndex + 1} / {images.length}
)}
diff --git a/data/gallery.ts b/data/gallery.ts
index 7e55244..40ebd31 100644
--- a/data/gallery.ts
+++ b/data/gallery.ts
@@ -1,9 +1,15 @@
-export type GalleryItem = {
- id: string;
- title: string;
- description: string;
- image: string;
- category: string;
-};
-
-export const GALLERY_ITEMS: GalleryItem[] = [];
+// Galeri resimleri – public/gallery/ klasörüne eklenen dosyaların yolları
+export const GALLERY_IMAGES: string[] = [
+ "/gallery/1.jpg",
+ "/gallery/2.jpg",
+ "/gallery/3.jpg",
+ "/gallery/4.jpg",
+ "/gallery/5.jpg",
+ "/gallery/6.jpg",
+ "/gallery/7.jpeg",
+ "/gallery/8.jpeg",
+ "/gallery/9.jpeg",
+ "/gallery/10.jpeg",
+ "/gallery/11.jpeg",
+ "/gallery/12.jpeg",
+];
diff --git a/public/gallery/1.jpg b/public/gallery/1.jpg
new file mode 100644
index 0000000..71a6743
Binary files /dev/null and b/public/gallery/1.jpg differ
diff --git a/public/gallery/10.jpeg b/public/gallery/10.jpeg
new file mode 100644
index 0000000..61f70a1
Binary files /dev/null and b/public/gallery/10.jpeg differ
diff --git a/public/gallery/11.jpeg b/public/gallery/11.jpeg
new file mode 100644
index 0000000..46ace70
Binary files /dev/null and b/public/gallery/11.jpeg differ
diff --git a/public/gallery/12.jpeg b/public/gallery/12.jpeg
new file mode 100644
index 0000000..0a2b64e
Binary files /dev/null and b/public/gallery/12.jpeg differ
diff --git a/public/gallery/2.jpg b/public/gallery/2.jpg
new file mode 100644
index 0000000..23fab49
Binary files /dev/null and b/public/gallery/2.jpg differ
diff --git a/public/gallery/3.jpg b/public/gallery/3.jpg
new file mode 100644
index 0000000..93b3d91
Binary files /dev/null and b/public/gallery/3.jpg differ
diff --git a/public/gallery/4.jpg b/public/gallery/4.jpg
new file mode 100644
index 0000000..bba3683
Binary files /dev/null and b/public/gallery/4.jpg differ
diff --git a/public/gallery/5.jpg b/public/gallery/5.jpg
new file mode 100644
index 0000000..28a3cd0
Binary files /dev/null and b/public/gallery/5.jpg differ
diff --git a/public/gallery/6.jpg b/public/gallery/6.jpg
new file mode 100644
index 0000000..fa941b5
Binary files /dev/null and b/public/gallery/6.jpg differ
diff --git a/public/gallery/7.jpeg b/public/gallery/7.jpeg
new file mode 100644
index 0000000..7e72586
Binary files /dev/null and b/public/gallery/7.jpeg differ
diff --git a/public/gallery/8.jpeg b/public/gallery/8.jpeg
new file mode 100644
index 0000000..90c7007
Binary files /dev/null and b/public/gallery/8.jpeg differ
diff --git a/public/gallery/9.jpeg b/public/gallery/9.jpeg
new file mode 100644
index 0000000..8c59221
Binary files /dev/null and b/public/gallery/9.jpeg differ