--- import { Button } from "@/components/ui/button" import { Icon } from "@/components/ui/icon" import { Section, SectionActions, SectionContent, SectionGrid, SectionProse, } from "@/components/ui/section" import { Tile, TileActions, TileContent, TileDescription, TileMedia, TileTitle, } from "@/components/ui/tile" interface Props { class?: string id?: string links?: { icon?: string text?: string href?: string target?: string }[] items?: { title?: string description?: string icon?: string href?: string links?: { icon?: string text?: string href?: string target?: string }[] }[] } const { class: className, id, links, items } = Astro.props ---
{ links?.map(({ icon, text, ...link }, i) => ( )) } { items?.map(({ title, description, icon, links }) => ( {title} {description} {links?.map(({ icon, text, href, target }) => ( ))} )) }