| 
									
										
										
										
											2021-08-27 12:35:20 +00:00
										 |  |  | import { DefaultSeoProps } from "next-seo"; | 
					
						
							| 
									
										
										
										
											2021-09-22 19:52:38 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-08-27 12:35:20 +00:00
										 |  |  | import { HeadSeoProps } from "@components/seo/head-seo"; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | const seoImages = { | 
					
						
							| 
									
										
										
										
											2021-09-15 16:27:00 +00:00
										 |  |  |   default: "https://cal.com/og-image.png", | 
					
						
							| 
									
										
										
										
											2021-08-27 12:35:20 +00:00
										 |  |  |   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: { | 
					
						
							| 
									
										
										
										
											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; |