import NextHead from "next/head" import useTranslation from "next-translate/useTranslation" interface HeadProps { title?: string image?: string description?: string url?: string } export const Head: React.FC = (props) => { const { t } = useTranslation() const { title = "Thream", image = "https://thream.theoludwig.fr/images/icon-128x128.png", description = t("common:description"), url = "https://thream.theoludwig.fr/", } = props return ( {title} {/* Meta Tag */} {/* Open Graph Metadata */} {/* Twitter card Metadata */} ) }