Files
formbricks/apps/formbricks-com/components/shared/MetaInformation.tsx
T
Johannes fe04fe5c7f Seo tweaks (#137)
* responsiveness tweaks

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2022-11-10 11:36:45 +01:00

27 lines
1.0 KiB
TypeScript

import Head from "next/head";
interface Props {
title: string;
description: string;
}
export default function MetaInformation({ title, description }: Props) {
const pageTitle = `${title} | Open Source Forms & Surveys by Formbricks`;
return (
<Head>
<title>{pageTitle}</title>
<meta name="description" content={description} />
<meta property="og:title" content={title} />
<meta property="og:description" content={description} />
<meta property="og:image" content={`https://${process.env.VERCEL_URL}/social-image.png`} />
<meta property="og:image:alt" content="Formbricks - Open Source Form and Survey Infrastructure" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:locale" content="en_US" />
<meta property="og:type" content="website" />
<meta property="og:site_name" content="Open Source Forms and Surveys by Formbricks" />
</Head>
);
}