import Link from "next/link"; import { Report } from "revolt-api"; import { Card, CardDescription, CardHeader, CardTitle } from "../ui/card"; import { Badge } from "../ui/badge"; export function ReportCard({ report }: { report: Report }) { return ( {report.content.report_reason.includes("Illegal") && ( Urgent )}{" "} {report.additional_context || "No reason specified"} {report._id.toString().substring(20, 26)} ·{" "} {report.content.report_reason} · {report.content.type} ); }