2022-02-18 22:15:25 +01:00
|
|
|
import type { NextPage } from 'next'
|
2021-01-25 14:20:14 +01:00
|
|
|
import Head from 'next/head'
|
2022-02-18 22:15:25 +01:00
|
|
|
import Image from 'next/image'
|
2017-11-23 13:48:34 +01:00
|
|
|
|
2022-02-18 22:15:25 +01:00
|
|
|
const Home: NextPage = () => {
|
2020-05-02 21:08:23 +02:00
|
|
|
return (
|
2022-01-24 22:24:48 +01:00
|
|
|
<div className="flex min-h-screen flex-col items-center justify-center py-2">
|
2021-01-25 14:20:14 +01:00
|
|
|
<Head>
|
|
|
|
<title>Create Next App</title>
|
|
|
|
<link rel="icon" href="/favicon.ico" />
|
|
|
|
</Head>
|
|
|
|
|
2022-01-24 22:24:48 +01:00
|
|
|
<main className="flex w-full flex-1 flex-col items-center justify-center px-20 text-center">
|
2021-01-25 14:20:14 +01:00
|
|
|
<h1 className="text-6xl font-bold">
|
|
|
|
Welcome to{' '}
|
|
|
|
<a className="text-blue-600" href="https://nextjs.org">
|
|
|
|
Next.js!
|
|
|
|
</a>
|
2020-07-29 16:43:48 +02:00
|
|
|
</h1>
|
2021-01-25 14:20:14 +01:00
|
|
|
|
|
|
|
<p className="mt-3 text-2xl">
|
|
|
|
Get started by editing{' '}
|
2022-01-24 22:24:48 +01:00
|
|
|
<code className="rounded-md bg-gray-100 p-3 font-mono text-lg">
|
2022-01-05 18:41:25 +01:00
|
|
|
pages/index.tsx
|
2021-01-25 14:20:14 +01:00
|
|
|
</code>
|
|
|
|
</p>
|
|
|
|
|
2022-01-24 22:24:48 +01:00
|
|
|
<div className="mt-6 flex max-w-4xl flex-wrap items-center justify-around sm:w-full">
|
2021-01-25 14:20:14 +01:00
|
|
|
<a
|
|
|
|
href="https://nextjs.org/docs"
|
2022-01-24 22:24:48 +01:00
|
|
|
className="mt-6 w-96 rounded-xl border p-6 text-left hover:text-blue-600 focus:text-blue-600"
|
2021-01-25 14:20:14 +01:00
|
|
|
>
|
|
|
|
<h3 className="text-2xl font-bold">Documentation →</h3>
|
|
|
|
<p className="mt-4 text-xl">
|
2022-04-25 15:50:17 +02:00
|
|
|
Find in-depth information about Next.js features and its API.
|
2021-01-25 14:20:14 +01:00
|
|
|
</p>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<a
|
|
|
|
href="https://nextjs.org/learn"
|
2022-01-24 22:24:48 +01:00
|
|
|
className="mt-6 w-96 rounded-xl border p-6 text-left hover:text-blue-600 focus:text-blue-600"
|
2021-01-25 14:20:14 +01:00
|
|
|
>
|
|
|
|
<h3 className="text-2xl font-bold">Learn →</h3>
|
|
|
|
<p className="mt-4 text-xl">
|
|
|
|
Learn about Next.js in an interactive course with quizzes!
|
|
|
|
</p>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<a
|
2022-01-12 02:55:35 +01:00
|
|
|
href="https://github.com/vercel/next.js/tree/canary/examples"
|
2022-01-24 22:24:48 +01:00
|
|
|
className="mt-6 w-96 rounded-xl border p-6 text-left hover:text-blue-600 focus:text-blue-600"
|
2021-01-25 14:20:14 +01:00
|
|
|
>
|
|
|
|
<h3 className="text-2xl font-bold">Examples →</h3>
|
|
|
|
<p className="mt-4 text-xl">
|
|
|
|
Discover and deploy boilerplate example Next.js projects.
|
|
|
|
</p>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<a
|
|
|
|
href="https://vercel.com/import?filter=next.js&utm_source=create-next-app&utm_medium=default-template&utm_campaign=create-next-app"
|
2022-01-24 22:24:48 +01:00
|
|
|
className="mt-6 w-96 rounded-xl border p-6 text-left hover:text-blue-600 focus:text-blue-600"
|
2021-01-25 14:20:14 +01:00
|
|
|
>
|
|
|
|
<h3 className="text-2xl font-bold">Deploy →</h3>
|
|
|
|
<p className="mt-4 text-xl">
|
|
|
|
Instantly deploy your Next.js site to a public URL with Vercel.
|
|
|
|
</p>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
|
2022-01-24 22:24:48 +01:00
|
|
|
<footer className="flex h-24 w-full items-center justify-center border-t">
|
2021-01-25 14:20:14 +01:00
|
|
|
<a
|
2022-02-18 22:15:25 +01:00
|
|
|
className="flex items-center justify-center gap-2"
|
2021-01-25 14:20:14 +01:00
|
|
|
href="https://vercel.com?utm_source=create-next-app&utm_medium=default-template&utm_campaign=create-next-app"
|
|
|
|
target="_blank"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
>
|
|
|
|
Powered by{' '}
|
2022-02-18 22:15:25 +01:00
|
|
|
<Image src="/vercel.svg" alt="Vercel Logo" width={72} height={16} />
|
2021-01-25 14:20:14 +01:00
|
|
|
</a>
|
|
|
|
</footer>
|
2017-11-23 13:48:34 +01:00
|
|
|
</div>
|
2020-05-02 21:08:23 +02:00
|
|
|
)
|
|
|
|
}
|
2022-02-18 22:15:25 +01:00
|
|
|
|
|
|
|
export default Home
|