import Head from "next/head"; import { useRouter } from "next/router"; interface Props { title: string; description: string; publishedTime?: string; updatedTime?: string; authors?: string[]; section?: string; tags?: string[]; } export default function MetaInformation({ title, description, publishedTime, updatedTime, authors, section, tags, }: Props) { const router = useRouter(); const pageTitle = `${title}`; const BASE_URL = `https://${process.env.VERCEL_URL}`; const canonicalLink = `${BASE_URL}${router.asPath}`; return (