interface StructuredDataProps { type: "WebSite" | "Organization" | "SoftwareApplication" | "WebPage"; data: Record; } export function StructuredData({ type, data }: StructuredDataProps) { const baseUrl = process.env.NEXT_PUBLIC_SITE_URL || "https://minigameai.com"; const baseData = { "@context": "https://schema.org", "@type": type, url: baseUrl, ...data, }; return (