"use client"; import type { PointerEvent } from "react"; import type { RecoveryProps } from "../recovery"; import "./unlit-gallery-404.css"; export function UnlitGallery404({ title = "An empty room.", description = "There was something here once. The collection continues just beyond this door.", home = { label: "Enter the collection", href: "/" }, destinations = [], className = "" }: RecoveryProps) { const point = (e: PointerEvent) => { if (e.pointerType !== "mouse" || !window.matchMedia("(hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference)").matches) return; const b=e.currentTarget.getBoundingClientRect(); e.currentTarget.style.setProperty("--ug404-x", `${20 + (e.clientX-b.left)/b.width*60}%`); }; return
; }