Fri Jun 17 2022
Copied to clipboard! Copy reply
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
import React from 'react';
import Head from 'next/head';
import { useTranslation } from 'next-export-i18n';
import FullWidthPageWrap from '~/components/common/layout/FullWidthPageWrap';
import Main from '~/components/common/layout/Main';

const TRYITNOW_PAGE_I18N_NAMESPACE = 'single-pages.tryitnow.';

export default function Home() {
  const { t } = useTranslation();

  return (
    <>
      <Head>
        <title>{t(`${TRYITNOW_PAGE_I18N_NAMESPACE}head.title`)}</title>
        <meta name="description" content={t(`${TRYITNOW_PAGE_I18N_NAMESPACE}head.description`)} />
        <link rel="icon" href="/favicon.ico" />
      </Head>
      <FullWidthPageWrap>
        <Main>
          <div class="masthead">
            <h1>How language is learned.</h1>
            <h3>Start your free trial today!</h3>
            <div class="form-wrap">
              <div class="legalese">{ t(`${TRYITNOW_PAGE_I18N_NAMESPACE}body.masthead.form.legal`) }</div>
            </div>
          </div>
        </Main>
      </FullWidthPageWrap>
    </>
  );
}