|
| 1 | +import type { NextPage } from 'next' |
| 2 | +import Head from 'next/head' |
| 3 | +import Image from 'next/image' |
| 4 | +import styles from '../styles/Home.module.css' |
| 5 | + |
| 6 | +const Home: NextPage = () => { |
| 7 | + return ( |
| 8 | + <div className={styles.container}> |
| 9 | + <Head> |
| 10 | + <title>Create Next App</title> |
| 11 | + <meta name="description" content="Generated by create next app" /> |
| 12 | + <link rel="icon" href="/favicon.ico" /> |
| 13 | + </Head> |
| 14 | + |
| 15 | + <main className={styles.main}> |
| 16 | + <h1 className={styles.title}> |
| 17 | + Welcome to <a href="https://nextjs.org">Next.js!</a> |
| 18 | + </h1> |
| 19 | + |
| 20 | + <p className={styles.description}> |
| 21 | + Get started by editing{' '} |
| 22 | + <code className={styles.code}>pages/index.tsx</code> |
| 23 | + </p> |
| 24 | + |
| 25 | + <div className={styles.grid}> |
| 26 | + <a href="https://nextjs.org/docs" className={styles.card}> |
| 27 | + <h2>Documentation →</h2> |
| 28 | + <p>Find in-depth information about Next.js features and API.</p> |
| 29 | + </a> |
| 30 | + |
| 31 | + <a href="https://nextjs.org/learn" className={styles.card}> |
| 32 | + <h2>Learn →</h2> |
| 33 | + <p>Learn about Next.js in an interactive course with quizzes!</p> |
| 34 | + </a> |
| 35 | + |
| 36 | + <a |
| 37 | + href="https://github.com/vercel/next.js/tree/canary/examples" |
| 38 | + className={styles.card} |
| 39 | + > |
| 40 | + <h2>Examples →</h2> |
| 41 | + <p>Discover and deploy boilerplate example Next.js projects.</p> |
| 42 | + </a> |
| 43 | + |
| 44 | + <a |
| 45 | + href="https://vercel.com/new?utm_source=create-next-app&utm_medium=default-template&utm_campaign=create-next-app" |
| 46 | + className={styles.card} |
| 47 | + > |
| 48 | + <h2>Deploy →</h2> |
| 49 | + <p> |
| 50 | + Instantly deploy your Next.js site to a public URL with Vercel. |
| 51 | + </p> |
| 52 | + </a> |
| 53 | + </div> |
| 54 | + </main> |
| 55 | + |
| 56 | + <footer className={styles.footer}> |
| 57 | + <a |
| 58 | + href="https://vercel.com?utm_source=create-next-app&utm_medium=default-template&utm_campaign=create-next-app" |
| 59 | + target="_blank" |
| 60 | + rel="noopener noreferrer" |
| 61 | + > |
| 62 | + Powered by{' '} |
| 63 | + <span className={styles.logo}> |
| 64 | + <Image src="/vercel.svg" alt="Vercel Logo" width={72} height={16} /> |
| 65 | + </span> |
| 66 | + </a> |
| 67 | + </footer> |
| 68 | + </div> |
| 69 | + ) |
| 70 | +} |
| 71 | + |
| 72 | +export default Home |
0 commit comments