import Head from 'next/head' import meta from '../../../_content/meta.json' import resume from '../../../_content/resume.json' const Meta = ({ title, description, image, slug }: { title: string description?: string image?: string slug?: string }) => { const twitterHandle = resume.basics.profiles.filter( ({ network }) => network === 'Twitter' )[0].username const url = slug ? `${meta.url}/${slug}` : meta.url return ( {/* */} {title} ) } export default Meta