import NextHead from 'next/head'; import siteConfig from '../content/site.json'; type HelmetProps = { title?: string; keywords?: string[]; canonical?: string; description?: string; }; const Helmet = (props: HelmetProps) => ( {props.title || siteConfig.title} {props.canonical && } { /* Global Site Tag (gtag.js) - Google Analytics */} {process.env.GA_SECRET && ( <>