import Head from 'next/head'

import TextInput from "../components/TextInput";
import Continuation from '../components/Continuation';
import {useRef, useState} from "react";

export default function Home() {
    const [text, setText] = useState<string>("");

    // @ts-ignore
    return (
        <div>
            <Head>
                <title>Alas, me got ye now</title>
                <meta name="description" content="Finally understand what people really say"/>
                <link rel="icon" href="/favicon.ico"/>
            </Head>

            <TextInput textFn={setText} />

            <Continuation text={text}/>
        </div>
    )
}
