|
| 1 | +import Head from 'next/head' |
| 2 | + |
| 3 | +export default function Home() { |
| 4 | + return ( |
| 5 | + <div className="flex min-h-screen flex-col items-center justify-center py-2"> |
| 6 | + <Head> |
| 7 | + <title>Create Next App</title> |
| 8 | + <link rel="icon" href="/favicon.ico" /> |
| 9 | + </Head> |
| 10 | + |
| 11 | + <main className="flex w-full flex-1 flex-col items-center justify-center px-20 text-center"> |
| 12 | + <h1 className="text-6xl font-bold"> |
| 13 | + Welcome to{' '} |
| 14 | + <a className="text-blue-600" href="https://nextjs.org"> |
| 15 | + Next.js! |
| 16 | + </a> |
| 17 | + </h1> |
| 18 | + |
| 19 | + <p className="mt-3 text-2xl"> |
| 20 | + Get started by editing{' '} |
| 21 | + <code className="rounded-md bg-gray-100 p-3 font-mono text-lg"> |
| 22 | + pages/index.tsx |
| 23 | + </code> |
| 24 | + </p> |
| 25 | + |
| 26 | + <div className="mt-6 flex max-w-4xl flex-wrap items-center justify-around sm:w-full"> |
| 27 | + <a |
| 28 | + href="https://nextjs.org/docs" |
| 29 | + className="mt-6 w-96 rounded-xl border p-6 text-left hover:text-blue-600 focus:text-blue-600" |
| 30 | + > |
| 31 | + <h3 className="text-2xl font-bold">Documentation →</h3> |
| 32 | + <p className="mt-4 text-xl"> |
| 33 | + Find in-depth information about Next.js features and API. |
| 34 | + </p> |
| 35 | + </a> |
| 36 | + |
| 37 | + <a |
| 38 | + href="https://nextjs.org/learn" |
| 39 | + className="mt-6 w-96 rounded-xl border p-6 text-left hover:text-blue-600 focus:text-blue-600" |
| 40 | + > |
| 41 | + <h3 className="text-2xl font-bold">Learn →</h3> |
| 42 | + <p className="mt-4 text-xl"> |
| 43 | + Learn about Next.js in an interactive course with quizzes! |
| 44 | + </p> |
| 45 | + </a> |
| 46 | + |
| 47 | + <a |
| 48 | + href="https://github.com/vercel/next.js/tree/canary/examples" |
| 49 | + className="mt-6 w-96 rounded-xl border p-6 text-left hover:text-blue-600 focus:text-blue-600" |
| 50 | + > |
| 51 | + <h3 className="text-2xl font-bold">Examples →</h3> |
| 52 | + <p className="mt-4 text-xl"> |
| 53 | + Discover and deploy boilerplate example Next.js projects. |
| 54 | + </p> |
| 55 | + </a> |
| 56 | + |
| 57 | + <a |
| 58 | + href="https://vercel.com/import?filter=next.js&utm_source=create-next-app&utm_medium=default-template&utm_campaign=create-next-app" |
| 59 | + className="mt-6 w-96 rounded-xl border p-6 text-left hover:text-blue-600 focus:text-blue-600" |
| 60 | + > |
| 61 | + <h3 className="text-2xl font-bold">Deploy →</h3> |
| 62 | + <p className="mt-4 text-xl"> |
| 63 | + Instantly deploy your Next.js site to a public URL with Vercel. |
| 64 | + </p> |
| 65 | + </a> |
| 66 | + </div> |
| 67 | + </main> |
| 68 | + |
| 69 | + <footer className="flex h-24 w-full items-center justify-center border-t"> |
| 70 | + <a |
| 71 | + className="flex items-center justify-center" |
| 72 | + href="https://vercel.com?utm_source=create-next-app&utm_medium=default-template&utm_campaign=create-next-app" |
| 73 | + target="_blank" |
| 74 | + rel="noopener noreferrer" |
| 75 | + > |
| 76 | + Powered by{' '} |
| 77 | + <img src="/vercel.svg" alt="Vercel Logo" className="ml-2 h-4" /> |
| 78 | + </a> |
| 79 | + </footer> |
| 80 | + </div> |
| 81 | + ) |
| 82 | +} |
0 commit comments