import Link from "next/link" import { YOUTUBE_ID_REGEX } from "../../lib/constants" export function Latest({ posts }) { return (
Our latest articles and explorations.
{youtube && YOUTUBE_ID_REGEX.test(youtube) ? ( Video ) :
Article
}{title}
{description && description.length > 150 ? `${description.slice(0, 120)} ...` : description }