Repository: freeCodeCamp/freeCodeCamp
File: client/src/pages/email-sign-up.tsx (TypeScript)

Code before:
        <Col md={8} mdOffset={2} sm={10} smOffset={1} xs={12}>
          <Spacer size='small' />
          <Button
            block={true}
            bsSize='lg'
            bsStyle='primary'
            className='big-cta-btn'
            href={`${apiLocation}/signin`}
          >
            {t('buttons.sign-up-email-list')}
          </Button>
          <Spacer size='small' />
        </Col>
      );
    }
  }

  return acceptedPrivacyTerms ? (
    <RedirectToLearn />
  ) : (
    <>
      <Helmet>
        <title>{t('misc.email-signup')} | freeCodeCamp.org</title>
      </Helmet>
      <Grid>
        {isSignedIn && completedChallengeCount < 2 ? (
          <Row>
            <Col md={8} mdOffset={2} sm={10} smOffset={1} xs={12}>
              <Spacer size='large' />
              <h1 className='text-center'>{t('misc.brand-new-account')}</h1>
              <Spacer size='small' />
              <p>
                <Trans i18nKey='misc.duplicate-account-warning'>
                  <Link className='inline' to='/settings#danger-zone' />
                </Trans>
              </p>
            </Col>
          </Row>
        ) : (
          ''
        )}
        <Row>
          <Col md={8} mdOffset={2} sm={10} smOffset={1} xs={12}>
            <Spacer size='small' />
            <IntroDescription />
            <hr />
          </Col>
        </Row>
        <Row className='email-sign-up' data-cy='email-sign-up'>
          <Col md={8} mdOffset={2} sm={10} smOffset={1} xs={12}>
            <Spacer size='small' />

Review comment (suggestion):
```suggestion
        {isSignedIn && completedChallengeCount < 1 ? (
```

Is this what you are proposing @naomi-lgbt 

Code after:
        <Col md={8} mdOffset={2} sm={10} smOffset={1} xs={12}>
          <Spacer size='small' />
          <Button
            block={true}
            bsSize='lg'
            bsStyle='primary'
            className='big-cta-btn'
            href={`${apiLocation}/signin`}
          >
            {t('buttons.sign-up-email-list')}
          </Button>
          <Spacer size='small' />
        </Col>
      );
    }
  }

  return acceptedPrivacyTerms ? (
    <RedirectToLearn />
  ) : (
    <>
      <Helmet>
        <title>{t('misc.email-signup')} | freeCodeCamp.org</title>
      </Helmet>
      <Grid>
        {isSignedIn && completedChallengeCount < 1 ? (
          <Row>
            <Col md={8} mdOffset={2} sm={10} smOffset={1} xs={12}>
              <Spacer size='large' />
              <h1 className='text-center'>{t('misc.brand-new-account')}</h1>
              <Spacer size='small' />
              <p>
                <Trans i18nKey='misc.duplicate-account-warning'>
                  <Link className='inline' to='/settings#danger-zone' />
                </Trans>
              </p>
            </Col>
          </Row>
        ) : (
          ''
        )}
        <Row>
          <Col md={8} mdOffset={2} sm={10} smOffset={1} xs={12}>
            <Spacer size='small' />
            <IntroDescription />
            <hr />
          </Col>
        </Row>
        <Row className='email-sign-up' data-cy='email-sign-up'>
          <Col md={8} mdOffset={2} sm={10} smOffset={1} xs={12}>
            <Spacer size='small' />