import { Theme } from "../.." ; import { InternalUrl } from "../../lib/parse-url" ; interface VerifyRequestPageProps { url : InternalUrl ; theme : Theme ; } export default function VerifyRequestPage ( props ) { const { url , theme } = props ; return ( < div className = "verify-request" > { theme . brandColor && < style dangerouslySetInnerHTML = { { __html : `
        :root {
          --brand-color: ${ theme . brandColor }
        }
      ` , } } />} { theme . logo && < img src = { theme . logo } alt = "Logo" className = "logo" / > } < div className = "card" > < h1 > Check your email < /h1> < p > A sign in link has been sent to your email address . < /p> < p > < a className = "site" href = { url . origin } > { url . host } < /a> < /p> < /div> < /div>); }