import type { Project } from "@/content/site"; // A project still. Uses the project image when present, otherwise renders a // stylised "viewer" frame (gradient plate + safe-area guide + slate overlay). export default function Frame({ project, priority = false }: { project: Project; priority?: boolean }) { const h = project.hue; return (
{project.image ? ( // eslint-disable-next-line @next/next/no-img-element {project.title} ) : (
)}
{project.category} ยท {project.year}
{project.shots ? `${project.shots} SHOTS` : "2.39:1"}
); }