import Link from "next/link"; import { SIGNS, formatBirthDate } from "@/lib/astro"; import type { ChartListItem } from "@/lib/types"; /** Sun, Moon and Ascendant sign glyphs of a chart. */ export function SignTrio({ chart }: { chart: ChartListItem }) { const h = chart.highlights; const items: [string, string | null][] = [ ["☉", h.sun], ["☽", h.moon], ["AC", h.time_known ? h.ascendant : null], ]; return ( ); } /** One chart in the list: name, birth date and place, the three main signs. */ export function ChartCard({ chart, title, children }: { chart: ChartListItem; title: string; children?: React.ReactNode }) { const { birth } = chart; return (