--- /** * A sidebar panel on the blog pages: Midnight box, a faint seal in the * corner, a starred kicker over a tick scale, then its rows. */ import Kicker from "@gk/ui/components/Kicker.astro"; import Seal from "@gk/ui/components/Seal.astro"; import type { SealName } from "@gk/ui/components/seals.ts"; interface Props { title: string; seal?: SealName; /** Heading level for the title, so the outline stays correct. */ as?: "h2" | "h3"; } const { title, seal, as: H = "h2" } = Astro.props; ---
{seal && } {title}