"use client";
import ReactMarkdown from "react-markdown";
import remarkGfm from "remark-gfm";
import type { Components } from "react-markdown";
import { Button } from "@/components/ui/button";
import {
Dialog,
DialogContent,
DialogDescription,
DialogTitle,
DialogTrigger
} from "@/components/ui/dialog";
type ProjectIntroDialogProps = {
title: string;
intro?: string;
};
const markdownComponents: Components = {
a: ({ href, children }) => (
{children}
),
img: ({ src, alt }) => (
),
table: ({ children }) => (