import { redirect } from "next/navigation"; import Image from "next/image"; import { getRoast } from "@/app/actions/roast"; import { Quote } from "@/components/quote"; import Logo from "@/assets/logo.svg"; import Link from "next/link"; async function get(id: string) { const roast = await getRoast({ id }); return roast; } export default async function Roast({ params: { roastId }, }: { params: { roastId: string }; }) { const quote = await get(roastId); if (!quote?.data) { redirect("/"); } return (
logo hugging face

Roast your favorite Hugging Face user! 👹

Roast another user! 🧨
); }