import { Helmet } from "react-helmet-async"; interface SEOProps { title?: string; description?: string; keywords?: string; image?: string; url?: string; } const defaultSEO = { title: "Stackkit - Production-ready React starter template", description: "Production-ready React starter template", keywords: "react, vite, typescript, stackkit, production-ready, starter template", image: "/og-image.png", }; export function SEO({ title, description, keywords, image, url }: SEOProps) { const siteTitle = title ? `${title} | ${defaultSEO.title}` : defaultSEO.title; const siteDescription = description || defaultSEO.description; const siteKeywords = keywords || defaultSEO.keywords; const siteImage = image || defaultSEO.image; const siteUrl = url || window.location.href; return ( {siteTitle} ); }