<commit_before>import { GetServerSideProps } from 'next';
import Head from 'next/head';
import { initializeApollo } from '../lib/apolloClient';
import Nav from '../components/home/Nav';
import Recent from '../components/home/Recent';
import Form from '../components/search/Form';
import { SEARCH_QUERY } from '../graphql/queries';
import { loadNamespaces } from './_app';
import useTranslation from 'next-translate/useTranslation';

const Home: React.FC<{ locale: any; locales: any }> = ({
  locale,
  locales,
}) => {
  const { t } = useTranslation();

  return (
    <>
      <div className="container mx-auto">
        <Head>
          <title>{t`common:title`}</title>
          <link rel="icon" href="/favicon.ico" />
        </Head>
        <Nav />
        <section className="flex justify-center items-center flex-col mt-8 mx-4 lg:flex-row">
          <div>
            <h1 className="text-4xl mb-3 font-thin">
              Find, Share and Publish <br /> Quality Data with{' '}
              <span className="text-orange-500">Datahub</span>
            </h1>
            <p className="text-md font-light mb-3 w-4/5">
              {t`common:description`}
            </p>
            <Form />
          </div>
          <div className="mt-4">
            <img src="/images/banner.svg" className="w-4/5" alt="banner_img" /><commit_msg>[index.js][s]: remove the templatestring causing cypress to fail<commit_after>import { GetServerSideProps } from 'next';
import Head from 'next/head';
import { initializeApollo } from '../lib/apolloClient';
import Nav from '../components/home/Nav';
import Recent from '../components/home/Recent';
import Form from '../components/search/Form';
import { SEARCH_QUERY } from '../graphql/queries';
import { loadNamespaces } from './_app';
import useTranslation from 'next-translate/useTranslation';

const Home: React.FC<{ locale: any; locales: any }> = ({
  locale,
  locales,
}) => {
  const { t } = useTranslation();

  return (
    <>
      <div className="container mx-auto">
        <Head>
          <title>{t(`common:title`)}</title>
          <link rel="icon" href="/favicon.ico" />
        </Head>
        <Nav />
        <section className="flex justify-center items-center flex-col mt-8 mx-4 lg:flex-row">
          <div>
            <h1 className="text-4xl mb-3 font-thin">
              Find, Share and Publish <br /> Quality Data with{' '}
              <span className="text-orange-500">Datahub</span>
            </h1>
            <p className="text-md font-light mb-3 w-4/5">
              {t(`common:description`)}
            </p>
            <Form />
          </div>
          <div className="mt-4">
            <img src="/images/banner.svg" className="w-4/5" alt="banner_img" />
{'fraction_non_alphanumeric': 0.1636828644501279, 'fraction_numerical': 0.010960906101571063, 'mean_word_length': 2.359509202453988, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 49, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4489140', 'n_tokens_mistral': 841, 'n_tokens_neox': 827, 'n_words': 203}