import type { Metadata } from "next";
import { redirect } from "next/navigation";
import { PageHeader } from "@/components/status";
import { UploadCard } from "@/components/upload-card";
import { getMe } from "@/lib/api";
export const metadata: Metadata = { title: "Create" };
export default async function Create() {
const me = await getMe();
if (!me) redirect("/signin?next=/create");
return (
<>
Upload it to a catalog. You can edit its info after.
>
);
}