"use client" import { Button } from "@/components/ui/button" import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogTrigger } from "@/components/ui/dialog" import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "@/components/ui/tooltip" import { REPO_PATH } from "@/constants" import { DialogDescription } from "@radix-ui/react-dialog" import { ExternalLink, PlusCircle } from "lucide-react" import Link from "next/link" import { useState } from "react" export const ISSUE_TEMPLATES = [ { id: "add_monochrome_icon", name: "Add light & dark icon", description: "Use this template to add a new icon to the project. Monochrome icons need both light and dark versions.", url: `${REPO_PATH}/issues/new?template=add_monochrome_icon.yml`, }, { id: "add_normal_icon", name: "Add normal icon", description: "Use this template to add a new icon to the project. Normal icons work for both light and dark themes.", url: `${REPO_PATH}/issues/new?template=add_normal_icon.yml`, }, { id: "update_monochrome_icon", name: "Update light & dark icon", description: "Use this template to update an existing icon. Monochrome icons need both light and dark versions.", url: `${REPO_PATH}/issues/new?template=update_monochrome_icon.yml`, }, { id: "update_normal_icon", name: "Update normal icon", description: "Use this template to update an existing icon. Normal icons work for both light and dark themes.", url: `${REPO_PATH}/issues/new?template=update_normal_icon.yml`, }, { id: "blank_issue", name: "Something else", description: "You'd like to do something else? Use this template to create a new issue.", url: `${REPO_PATH}/issues/new?template=BLANK_ISSUE`, }, ] export function IconSubmissionContent({ onClose }: { onClose?: () => void }) { return (