* Suggestion: let prettier sort imports order # Conflicts: # yarn.lock * AUTO SORT ALL THE IMPORTS * Linting * Fixes test
29 lines
632 B
TypeScript
29 lines
632 B
TypeScript
import { DefaultSeoProps } from "next-seo";
|
|
|
|
import { HeadSeoProps } from "@components/seo/head-seo";
|
|
|
|
const seoImages = {
|
|
default: "https://cal.com/og-image.png",
|
|
ogImage: "https://og-image-one-pi.vercel.app/",
|
|
};
|
|
|
|
export const getSeoImage = (key: keyof typeof seoImages): string => {
|
|
return seoImages[key];
|
|
};
|
|
|
|
export const seoConfig: {
|
|
headSeo: Required<Pick<HeadSeoProps, "siteName">>;
|
|
defaultNextSeo: DefaultSeoProps;
|
|
} = {
|
|
headSeo: {
|
|
siteName: "Cal.com",
|
|
},
|
|
defaultNextSeo: {
|
|
twitter: {
|
|
handle: "@calendso",
|
|
site: "@Calendso",
|
|
cardType: "summary_large_image",
|
|
},
|
|
},
|
|
} as const;
|