import React from 'react';
import styles from './styles.module.css';
import useBaseUrl from '@docusaurus/useBaseUrl';
import ThemedImage from '@theme/ThemedImage';
import {addDarkToFileName} from '../../../util/util';
import {SliderButton} from '@typeform/embed-react';
export default function RegisterForConference() {
  const background = '/conf/Shipyard-WaveBackground.png';
  const learnBuildDeploy = '/conf/LearnBuildDeploy-Light.png';
  const shipyardImage = '/conf/SailPoint-Shipyard-DeveloperConference-Logo.png';
  const sailpointImage = '/img/SailPoint-Logo-RGB-Color.png';

  return (
    <div className={styles.mainCard}>
      <div>
        <ThemedImage
          className={styles.background}
          sources={{
            light: useBaseUrl(background),
            dark: useBaseUrl(background),
          }}></ThemedImage>
        <ThemedImage
          className={styles.learnDeployText}
          sources={{
            light: useBaseUrl(learnBuildDeploy),
            dark: useBaseUrl(learnBuildDeploy),
          }}></ThemedImage>
      </div>

      <div className={styles.signUpSection}>
        <div className={styles.sailpointImageContainer}>
          <ThemedImage
            className={styles.sailpointImage}
            sources={{
              light: useBaseUrl(sailpointImage),
              dark: useBaseUrl(addDarkToFileName(sailpointImage)),
            }}></ThemedImage>
        </div>
        <div className={styles.comingSoon}>March 7th-9th, 2023</div>
        <div className={styles.welcomeText}>
          The conference for developers on SailPoint platforms.
        </div>
        {/* <div className={styles.emailText}>
          Email Address
        </div>
        <input className={styles.emailInput} type="text" id="fname" name="fname" placeholder="user.name@email.com"></input> */}
        <SliderButton id="DxKIYwdl" className={styles.button}>
          Register today!
        </SliderButton>
      </div>
    </div>
  );
}
