Unify portfolio and animal studies galleries

This commit is contained in:
2026-01-31 01:18:46 +01:00
parent 0de3eed5f1
commit 96efd4c942
17 changed files with 800 additions and 528 deletions

View File

@ -7,7 +7,7 @@ import {
DialogTitle,
DialogTrigger,
} from "@/components/ui/dialog";
import * as React from "react";
import { useState } from "react";
type Timelapse = {
s3Key: string;
@ -25,7 +25,7 @@ export default function ArtworkTimelapseViewer({
artworkName?: string | null;
trigger: React.ReactNode;
}) {
const [open, setOpen] = React.useState(false);
const [open, setOpen] = useState(false);
// IMPORTANT:
// This assumes your existing `/api/image/[...key]` can stream arbitrary S3 keys.