|
| 1 | +import Image from 'next/image' |
| 2 | +import { Inter } from 'next/font/google' |
| 3 | + |
| 4 | +const inter = Inter({ subsets: ['latin'] }) |
| 5 | + |
| 6 | +export default function Home() { |
| 7 | + return ( |
| 8 | + <main className="flex min-h-screen flex-col items-center justify-between p-24"> |
| 9 | + <div className="z-10 w-full max-w-5xl items-center justify-between font-mono text-sm lg:flex"> |
| 10 | + <p className="fixed left-0 top-0 flex w-full justify-center border-b border-gray-300 bg-gradient-to-b from-zinc-200 pb-6 pt-8 backdrop-blur-2xl dark:border-neutral-800 dark:bg-zinc-800/30 dark:from-inherit lg:static lg:w-auto lg:rounded-xl lg:border lg:bg-gray-200 lg:p-4 lg:dark:bg-zinc-800/30"> |
| 11 | + Get started by editing |
| 12 | + <code className="font-mono font-bold">pages/index.tsx</code> |
| 13 | + </p> |
| 14 | + <div className="fixed bottom-0 left-0 flex h-48 w-full items-end justify-center bg-gradient-to-t from-white via-white dark:from-black dark:via-black lg:static lg:h-auto lg:w-auto lg:bg-none"> |
| 15 | + <a |
| 16 | + className="pointer-events-none flex place-items-center gap-2 p-8 lg:pointer-events-auto lg:p-0" |
| 17 | + href="https://vercel.com?utm_source=create-next-app&utm_medium=default-template-tw&utm_campaign=create-next-app" |
| 18 | + target="_blank" |
| 19 | + rel="noopener noreferrer" |
| 20 | + > |
| 21 | + By <Image src="/vercel.svg" alt="Vercel Logo" className="dark:invert" width={100} height={24} priority /> |
| 22 | + </a> |
| 23 | + </div> |
| 24 | + </div> |
| 25 | + |
| 26 | + <div className="relative flex place-items-center before:absolute before:h-[300px] before:w-[480px] before:-translate-x-1/2 before:rounded-full before:bg-gradient-radial before:from-white before:to-transparent before:blur-2xl before:content-[''] after:absolute after:-z-20 after:h-[180px] after:w-[240px] after:translate-x-1/3 after:bg-gradient-conic after:from-sky-200 after:via-blue-200 after:blur-2xl after:content-[''] before:dark:bg-gradient-to-br before:dark:from-transparent before:dark:to-blue-700/10 after:dark:from-sky-900 after:dark:via-[#0141ff]/40 before:lg:h-[360px]"> |
| 27 | + <Image className="relative dark:drop-shadow-[0_0_0.3rem_#ffffff70] dark:invert" src="/next.svg" alt="Next.js Logo" width={180} height={37} priority /> |
| 28 | + </div> |
| 29 | + |
| 30 | + <div className="mb-32 grid text-center lg:mb-0 lg:grid-cols-4 lg:text-left"> |
| 31 | + <a |
| 32 | + href="https://nextjs.org/docs?utm_source=create-next-app&utm_medium=default-template-tw&utm_campaign=create-next-app" |
| 33 | + className="group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30" |
| 34 | + target="_blank" |
| 35 | + rel="noopener noreferrer" |
| 36 | + > |
| 37 | + <h2 className={`${inter.className} mb-3 text-2xl font-semibold`}> |
| 38 | + Docs <span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">-></span> |
| 39 | + </h2> |
| 40 | + <p className={`${inter.className} m-0 max-w-[30ch] text-sm opacity-50`}>Find in-depth information about Next.js features and API.</p> |
| 41 | + </a> |
| 42 | + |
| 43 | + <a |
| 44 | + href="https://nextjs.org/learn?utm_source=create-next-app&utm_medium=default-template-tw&utm_campaign=create-next-app" |
| 45 | + className="group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30" |
| 46 | + target="_blank" |
| 47 | + rel="noopener noreferrer" |
| 48 | + > |
| 49 | + <h2 className={`${inter.className} mb-3 text-2xl font-semibold`}> |
| 50 | + Learn <span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">-></span> |
| 51 | + </h2> |
| 52 | + <p className={`${inter.className} m-0 max-w-[30ch] text-sm opacity-50`}>Learn about Next.js in an interactive course with quizzes!</p> |
| 53 | + </a> |
| 54 | + |
| 55 | + <a |
| 56 | + href="https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=default-template-tw&utm_campaign=create-next-app" |
| 57 | + className="group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30" |
| 58 | + target="_blank" |
| 59 | + rel="noopener noreferrer" |
| 60 | + > |
| 61 | + <h2 className={`${inter.className} mb-3 text-2xl font-semibold`}> |
| 62 | + Templates <span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">-></span> |
| 63 | + </h2> |
| 64 | + <p className={`${inter.className} m-0 max-w-[30ch] text-sm opacity-50`}>Discover and deploy boilerplate example Next.js projects.</p> |
| 65 | + </a> |
| 66 | + |
| 67 | + <a |
| 68 | + href="https://vercel.com/new?utm_source=create-next-app&utm_medium=default-template-tw&utm_campaign=create-next-app" |
| 69 | + className="group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30" |
| 70 | + target="_blank" |
| 71 | + rel="noopener noreferrer" |
| 72 | + > |
| 73 | + <h2 className={`${inter.className} mb-3 text-2xl font-semibold`}> |
| 74 | + Deploy <span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">-></span> |
| 75 | + </h2> |
| 76 | + <p className={`${inter.className} m-0 max-w-[30ch] text-sm opacity-50`}>Instantly deploy your Next.js site to a shareable URL with Vercel.</p> |
| 77 | + </a> |
| 78 | + </div> |
| 79 | + </main> |
| 80 | + ) |
| 81 | +} |
0 commit comments