--- import { Image } from "astro:assets"; import type { CollectionEntry } from "astro:content"; import ExperienceTags from "@/components/ExperienceTags.astro"; import FormattedDate from "@/components/FormattedDate.astro"; import TagList from "@/components/TagList.astro"; interface Props { content: CollectionEntry<"writing">; readingTime: string; } const { content: { data }, readingTime, } = Astro.props; const dateTimeOptions: Intl.DateTimeFormatOptions = { month: "long", }; --- { data.coverImage && (
{data.coverImage.alt}
) } {data.draft ? (Draft) : null}

{data.title}

/{" "} {readingTime}

{ data.updatedDate && ( Updated: ) }
{ !!data.experiences?.length && (
) }