Something went wrong. Try again.
doll.systems community website
Something went wrong. Try again.
12345678910111213141516---import type { Document } from '../lib/content';import EntryCard from './EntryCard.astro';type Props = { entries: Document[]; title?: string };const { entries, title } = Astro.props;---
{entries.length > 0 && ( <section class:list={{ 'profile-writing': title }} aria-labelledby={title && 'writing-heading'}> {title && <h2 id="writing-heading">{title}</h2>} {entries.map((entry) => ( <EntryCard entry={entry} heading={title ? 'h3' : 'h2'} /> ))} </section>)}