+
+
+
+
Albums in this Gallery
+ {gallery.albums.length === 0 ? (
+
No albums yet.
+ ) : (
+
+ )}
+
+
+ Total images in this gallery: 0
+
+
+ {gallery.albums.length === 0 ? (
+
+ ) : (
+ <>
+
+
+ You must remove all albums before deleting this gallery.
+
+ >
+ )}
+
+
+ );
+}
\ No newline at end of file
diff --git a/src/components/images/list/ListImages.tsx b/src/components/images/list/ListImages.tsx
new file mode 100644
index 0000000..9571c5c
--- /dev/null
+++ b/src/components/images/list/ListImages.tsx
@@ -0,0 +1,23 @@
+// "use client"
+
+import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
+import { Image } from "@/generated/prisma";
+import Link from "next/link";
+
+export default function ListImages({ images }: { images: Image[] }) {
+ return (
+