import { ReactNode } from 'react' import Head from 'next/head' import { Challenge } from 'common/challenge' import { buildCardUrl, OgCardProps } from 'common/contract-details' export function SEO(props: { title: string description: string url?: string children?: ReactNode ogCardProps?: OgCardProps challenge?: Challenge }) { const { title, description, url, children, ogCardProps, challenge } = props return ( {title} | Manifold Markets {url && ( )} {ogCardProps && ( <> )} {children} ) }