/**
* HeroBanner — homepage opener.
*
* Full-bleed banner that establishes the brand promise. Reader sees:
* - The mission line in display serif
* - A subhead that names what this archive contains
* - A live stats row showing real corpus counts
*
* Uses a declassified document page as background art (the green-fireball
* Sandia file is a good choice — period typewriter look). Falls back to
* a CSS gradient when the asset is unavailable.
*/
import Link from "next/link";
interface Stats {
documents: number;
events: number;
people: number;
uap_objects: number;
}
export function HeroBanner({ locale, stats, heroDocId, heroPage }: {
locale: "pt-br" | "en";
stats: Stats;
heroDocId?: string;
heroPage?: number;
}) {
const heroImg = heroDocId && heroPage
? `/api/static/processing/png/${heroDocId}/p-${String(heroPage).padStart(3, "0")}.png`
: null;
return (
{locale === "en"
? <>
122 declassified UAP/UFO documents from the
US Department of War. Pilots, officers and physicists describe what they
saw — read from primary sources, with every quote linked to its page.
>
: <>
122 documentos UAP/UFO desclassificados do
Departamento de Guerra dos EUA. Pilotos, oficiais e físicos descrevem o
que viram — lido das fontes primárias, com cada citação ligada à sua página.
>}
{locale === "en" ? (
<>
The files the government
didn’t want you to read.
>
) : (
<>
Os arquivos que o governo
não queria que você lesse.
>
)}