--- import { Icon } from 'astro-icon/components'; import type { Post } from '@lib/directusTypes'; import { getDirectusImageURL } from '@lib/directusFunctions'; import Image from '@components/ui/images/Image.astro'; import { formatDate } from '@support/time'; interface Props { post: Post; } const { post } = Astro.props; const baseClasses = 'group group-hover smooth-reveal-cards rounded-xl flex flex-col'; const borderClasses = 'border border-stone-200/50 dark:border-stone-700/50'; const bgColorClasses = 'bg-neutral-100/80 hover:bg-neutral-100 dark:bg-neutral-800/60 dark:hover:bg-neutral-800/90'; const shadowClasses = 'shadow-xs hover:shadow-md dark:shadow-md dark:hover:shadow-lg'; ---
{post.image_alt}

{post.title}

Read more

{formatDate(post.published_date)}