gallery changes
CI / ci (push) Canceled after 0s

Hero gallery: the slideshow on Home doesn’t open full screen. Only portfolio images do, as you asked.
Lightbox: it has no pinch-zoom.
Delete: removing an image still has no confirm step, same as before.
New dependency: drag-and-drop uses @dnd-kit, which I added to package.json.
Touch dragging: I couldn’t test it on a real phone. Mouse and keyboard dragging work.
Health test: src/app/api/health/__tests__/route.test.ts passes, but it prints unhandled rejections. Its prisma mock has no notificationDelivery, so getQueueHealth throws. That comes from the earlier “Remaining features” commit and I left it alone. It’s a quick fix if you want it.
This commit is contained in:
Stefan Lazic committed 2026-10-18 11:23:17 +01:00
1 parent 96d5533638
commit 21299f0287
9 files changed
+506 -70

No files matched your search

+2 -1
View File
@@ -27,7 +27,8 @@ export function ImageGallery({ images, className }: ImageGalleryProps) {
return (
<div className={cn("w-full", className)}>
<div className="bg-stone relative aspect-[16/9] w-full overflow-hidden">
{/* A little taller on phones (3:2) so the cover fills more of the screen; 16:9 from tablet width up. */}
<div className="bg-stone relative aspect-[3/2] w-full overflow-hidden sm:aspect-[16/9]">
{/* eslint-disable-next-line @next/next/no-img-element -- local/user-supplied URL, same pattern used app-wide */}
<img src={active.url} alt={active.caption ?? ""} className="h-full w-full object-cover" />
{images.length > 1 && (