import { NextSeo } from "next-seo"; import { useRouter } from "next/router"; interface Props { title: string; description: string; // 1200x628 imageSrc: string; appendTitle?: boolean; } const SEO: React.FC = ({ title, description, imageSrc, appendTitle = true, }) => { const router = useRouter(); const fullTitle = appendTitle ? `${title} | sendou.ink` : title; const url = "https://sendou.ink" + router.pathname; return ( ); }; export default SEO;