Add real studio content: Festo F1 film, filmography, service stills

From the Dec 2024 company profile: Pretoria location, founding year, service
list with stills, and 14 film/series credits with posters. Festo F1 spot
transcoded for web (cropped letterbox, 14 MB, faststart).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
twotalesanimation
2026-10-05 18:40:45 +02:00
parent 1f3af8f7f5
commit 6c464d6dfb
43 changed files with 226 additions and 129 deletions
+12 -4
View File
@@ -17,7 +17,7 @@ export async function generateMetadata({ params }: PageProps<"/work/[slug]">): P
return { title: project.title, description: project.summary };
}
function Video({ src, title }: { src: string; title: string }) {
function Video({ src, title, poster }: { src: string; title: string; poster?: string }) {
if (/vimeo\.com|youtube\.com|youtu\.be/.test(src)) {
return (
<iframe
@@ -29,7 +29,7 @@ function Video({ src, title }: { src: string; title: string }) {
/>
);
}
return <video src={src} className="aspect-video w-full bg-black" controls playsInline />;
return <video src={src} poster={poster} className="w-full bg-black" controls playsInline preload="metadata" />;
}
export default async function ProjectPage({ params }: PageProps<"/work/[slug]">) {
@@ -43,7 +43,6 @@ export default async function ProjectPage({ params }: PageProps<"/work/[slug]">)
{ k: "Client", v: project.client },
{ k: "Year", v: String(project.year) },
{ k: "Type", v: project.category },
...(project.shots ? [{ k: "Shots", v: String(project.shots) }] : []),
];
return (
@@ -59,9 +58,18 @@ export default async function ProjectPage({ params }: PageProps<"/work/[slug]">)
</div>
<div className="mx-auto mt-12 max-w-7xl px-5 md:px-8">
{project.video ? <Video src={project.video} title={project.title} /> : <Frame project={project} priority />}
{project.video ? <Video src={project.video} title={project.title} poster={project.image} /> : <Frame project={project} priority />}
</div>
{project.gallery && (
<div className="mx-auto mt-2 grid max-w-7xl gap-2 px-5 md:grid-cols-2 md:px-8">
{project.gallery.map((src) => (
// eslint-disable-next-line @next/next/no-img-element
<img key={src} src={src} alt={`${project.title} still`} loading="lazy" className="w-full" />
))}
</div>
)}
<div className="mx-auto grid max-w-7xl gap-12 px-5 py-20 md:grid-cols-[1fr_2fr] md:px-8 md:py-28">
<dl className="grid grid-cols-2 gap-6 self-start md:grid-cols-1">
{meta.map((m) => (