// components/SEOHead.jsx
export function SEOHead({ 
  title, 
  description, 
  canonical,
  ogImage = ''
}) {
  const siteUrl = 'https://aramland.approagency.ir/';
  
  return (
    <>
      <title>{title}</title>
      <meta name="description" content={description} />
      
      {/* Canonical URL */}
      <link rel="canonical" href={`${siteUrl}${canonical}`} />
      
      {/* Open Graph */}
      <meta property="og:title" content={title} />
      <meta property="og:description" content={description} />
      <meta property="og:url" content={`${siteUrl}${canonical}`} />
      <meta property="og:image" content={ogImage || `${siteUrl}og-image.jpg`} />
      <meta property="og:type" content="website" />
      <meta property="og:locale" content="fa_IR" />
      
      {/* Twitter */}
      <meta name="twitter:title" content={title} />
      <meta name="twitter:description" content={description} />
      <meta name="twitter:image" content={ogImage || `${siteUrl}og-image.jpg`} />
      <meta name="twitter:card" content="summary_large_image" />
    </>
  );
}