import { useState } from "react"; import Head from "next/head"; import Link from "next/link"; import { serverSideTranslations } from "next-i18next/serverSideTranslations"; import { useTranslation } from "next-i18next"; import { Container, Row, Col, Button, Input } from "reactstrap"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faRocket } from "@fortawesome/free-solid-svg-icons"; import config from "../next-i18next.config.js"; export const getStaticProps = async ({ locale }) => ({ props: { ...(await serverSideTranslations(locale, [], config)), }, }); const Home = () => { const [title, setTitle] = useState(null); const { t } = useTranslation(); return (
logo of Mieux Voter

{t("common.valueProp")}

setTitle(e.target.value)} maxLength="250" />

{t("resource.noAds")}

); }; export default Home;