2021-08-27 12:35:20 +00:00
|
|
|
import { DefaultSeoProps } from "next-seo";
|
2021-09-22 19:52:38 +00:00
|
|
|
|
2022-07-01 17:19:52 +00:00
|
|
|
import { SEO_IMG_DEFAULT, SEO_IMG_OGIMG } from "@calcom/lib/constants";
|
|
|
|
|
2021-08-27 12:35:20 +00:00
|
|
|
import { HeadSeoProps } from "@components/seo/head-seo";
|
|
|
|
|
|
|
|
const seoImages = {
|
2022-07-01 17:19:52 +00:00
|
|
|
default: SEO_IMG_DEFAULT,
|
|
|
|
ogImage: SEO_IMG_OGIMG,
|
2021-08-27 12:35:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export const getSeoImage = (key: keyof typeof seoImages): string => {
|
|
|
|
return seoImages[key];
|
|
|
|
};
|
|
|
|
|
|
|
|
export const seoConfig: {
|
|
|
|
headSeo: Required<Pick<HeadSeoProps, "siteName">>;
|
|
|
|
defaultNextSeo: DefaultSeoProps;
|
|
|
|
} = {
|
|
|
|
headSeo: {
|
2021-09-15 18:18:16 +00:00
|
|
|
siteName: "Cal.com",
|
2021-08-27 12:35:20 +00:00
|
|
|
},
|
|
|
|
defaultNextSeo: {
|
|
|
|
twitter: {
|
2022-02-24 13:55:34 +00:00
|
|
|
handle: "@calcom",
|
|
|
|
site: "@calcom",
|
2021-08-27 12:35:20 +00:00
|
|
|
cardType: "summary_large_image",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
} as const;
|