"use client";
import { useState } from "react";
import Link from "next/link";
import { type BlogPost, imageSrc, imageDescription } from "@/data/content";
import "../styles/blog.css";
type Props = {
post: BlogPost;
visible: boolean;
};
/** One blog post: the card in the blog list. Unlike ProjectCard, clicking
* navigates to the post instead of expanding in place. */
export default function BlogPostCard({ post, visible }: Props) {
const [hovered, setHovered] = useState(false);
function postTagsComponent() {
return (