fixed tenants and eventpurchaseresource, changed lightbox in gallery

This commit is contained in:
2025-09-18 15:27:33 +02:00
parent 60f5e46ea9
commit ef6203c603
15 changed files with 440 additions and 118 deletions

View File

@@ -97,7 +97,7 @@ export default function GalleryPreview({ slug }: Props) {
)}
<div className="grid grid-cols-2 gap-3">
{items.map((p: any) => (
<Link key={p.id} to={`/e/${slug}/photo/${p.id}`} state={{ photo: p }} className="block">
<Link key={p.id} to={`/e/${slug}/gallery?photoId=${p.id}`} className="block">
<div className="relative">
<img
src={p.thumbnail_path || p.file_path}