Add artists page

This commit is contained in:
2025-06-29 14:22:26 +02:00
parent 1dba1cf093
commit 2e1161b50b
18 changed files with 321 additions and 94 deletions

View File

@ -10,7 +10,7 @@ export default function ImageList({ images, gallerySlug, albumSlug }: { images:
<h1 className="text-2xl font-bold mb-4">Images</h1>
<div className="grid gap-6 sm:grid-cols-2 md:grid-cols-3 xl:grid-cols-4">
{images ? images.map((img) => (
<Link href={`/${gallerySlug}/${albumSlug}/${img.id}`} key={img.id}>
<Link href={`/galleries/${gallerySlug}/${albumSlug}/${img.id}`} key={img.id}>
<div className="group rounded-lg border overflow-hidden hover:shadow-lg transition-shadow bg-background">
<div className="relative aspect-[4/3] w-full bg-muted items-center justify-center">
{img.fileKey ? (