import { Metadata } from "next";
import Index from "@/modules/upload-design/index";
import { generateSEO } from "@/modules/common/seo";
interface PageProps {
  searchParams: Promise<Record<string, string>>;
}

export const metadata: Metadata = generateSEO({
  title: "Upload Artwork | Custom Printing File Upload",
  description:
    "Upload your print-ready file for custom printing. Supports PDF, JPG, PNG, TIFF & Illustrator formats. Choose proofing options and ensure your design meets CMYK and bleed requirements.",
  url: "https://vibrant-print.vercel.app/upload-design",
  image: "/assets/images/og-image.png",
  keywords: [
    "upload artwork",
    "file upload printing",
    "print-ready file upload",
    "custom printing design upload",
    "CMYK artwork upload",
    "print file proof",
    "bleed setup printing",
    "business card file upload",
    "poster design upload",
    "vinyl banner upload",
    "online printing upload",
    "file specifications for printing",
    "submit artwork printing"
  ],
});

export default async function Page({ searchParams }: PageProps) {
  const queryParams = await searchParams;
  return <Index searchParams={queryParams} />;
}
