import React from 'react'; interface HeadProps { title?: string; description?: string; keywords?: string; ogTitle?: string; ogDescription?: string; ogImage?: string; twitterCard?: string; twitterTitle?: string; twitterDescription?: string; children?: React.ReactNode; } export function Head({ title, description, keywords, ogTitle, ogDescription, ogImage, twitterCard, twitterTitle, twitterDescription, children, }: HeadProps) { return ( <> {title && {title}} {description && } {keywords && } {/* Open Graph */} {ogTitle && } {ogDescription && ( )} {ogImage && } {/* Twitter */} {twitterCard && } {twitterTitle && } {twitterDescription && ( )} {/* Additional elements */} {children} ); }