---
/**
* Greg's portrait in a gold frame, from the Page text note's `portrait`.
* Without one, or if it fails to load, the star-chart art stands in.
*/
import GiltCorners from "@gk/ui/components/GiltCorners.astro";
import Star from "@gk/ui/components/Star.astro";
import StarChartArt from "@gk/ui/components/StarChartArt.astro";
import type { SealName } from "@gk/ui/components/seals.ts";
interface Props {
/** "hero": the thick gold frame on the landing; "panel": the framed panel on About. */
variant?: "hero" | "panel";
src?: string;
alt?: string;
seal?: SealName;
class?: string;
}
const { variant = "hero", src, alt = "Greg Kilmer", seal = "transmutation", class: className } = Astro.props;
---
{variant === "panel" && }
{variant === "hero" && }
{variant === "hero" && }
{!src && Portrait coming soon}