---
interface Props {
  title: string;
  description: string;
}

const domain = "noahsw.xyz";
const author = "Noah Swerhun";
const site_name = "Noah Swerhun's Website";

const image_link = "https://noahsw.xyz/portrait_cropped.jpg";
const image_desc = "Portrait of Noah Swerhun";

const { title, description }: Props = Astro.props;
---

<meta name="robots" content="index, follow" />
<meta name="description" content={description} />
<meta name="author" content={author} />

<meta property="og:site_name" content={site_name} />
<meta name="twitter:domain" property="twitter:domain" content={domain} />
<meta name="og:title" property="og:title" content={title} />
<meta property="og:description" content={description} />
<meta
  name="twitter:description"
  property="twitter:description"
  content={description}
/>
<meta name="og:image" content={image_link} />

<meta property="twitter:card" content={image_link} />
<meta
  name="twitter:image:src"
  property="twitter:image:src"
  content={image_link}
/>
<meta name="twitter:image" property="twitter:image" content={image_link} />
<meta name="og:image:alt" property="og:image:alt" content={image_desc} />

<meta property="og:url" content={domain} />
<meta property="og:type" content="website" />
