2023-10-23 23:26:27 +02:00
|
|
|
import type { GetStaticProps, NextPage } from "next"
|
|
|
|
import Head from "next/head"
|
2022-08-26 20:19:31 +02:00
|
|
|
|
2023-10-23 23:26:27 +02:00
|
|
|
import { About } from "../components/About"
|
|
|
|
import { FormExample } from "../components/FormExample"
|
|
|
|
import { Header } from "../components/Header"
|
2022-08-26 20:19:31 +02:00
|
|
|
|
|
|
|
const Home: NextPage = () => {
|
|
|
|
return (
|
|
|
|
<>
|
|
|
|
<Head>
|
|
|
|
<title>react-component-form</title>
|
2023-10-23 23:26:27 +02:00
|
|
|
<meta name="description" content="Manage React Forms with ease." />
|
|
|
|
<link rel="icon" href="/favicon.ico" />
|
2022-08-26 20:19:31 +02:00
|
|
|
</Head>
|
|
|
|
|
|
|
|
<Header />
|
2023-10-23 23:26:27 +02:00
|
|
|
<main className="flex flex-col justify-center items-center mt-4">
|
2022-08-26 20:19:31 +02:00
|
|
|
<About />
|
|
|
|
<FormExample />
|
|
|
|
</main>
|
|
|
|
</>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
export const getStaticProps: GetStaticProps = async () => {
|
|
|
|
return { props: {} }
|
|
|
|
}
|
|
|
|
|
|
|
|
export default Home
|