Something went wrong. Try again.
Central platform for European atproto.<cc> country community websites atproto.eu
community atproto
Something went wrong. Try again.
644 B · 27 lines
Astro
12345678910111213141516171819202122232425262728---import type { CommunityEvent } from '../data/events';
interface Props { event: CommunityEvent;}
const { event } = Astro.props;---
<article class:list={['event-card', event.next && 'next']}> <div class="event-top"> <span class:list={['event-kicker', event.next && 'next']}>{event.kicker}</span> <span class="event-date">{event.date}</span> </div> <h3 class="event-title">{event.title}</h3> <p class="event-desc">{event.desc}</p> { event.tags.length > 0 && ( <div class="event-tags"> {event.tags.map((tag) => ( <span class="chip">{tag}</span> ))} </div> ) }</article>