|
1 |
| -import Image from "next/image"; |
2 |
| -import styles from "./page.module.css"; |
| 1 | +import Image from 'next/image' |
| 2 | +import styles from './page.module.css' |
3 | 3 |
|
4 | 4 | export default function Home() {
|
5 |
| - return ( |
6 |
| - <div className={styles.page}> |
7 |
| - <main className={styles.main}> |
8 |
| - <Image |
9 |
| - className={styles.logo} |
10 |
| - src="/next.svg" |
11 |
| - alt="Next.js logo" |
12 |
| - width={180} |
13 |
| - height={38} |
14 |
| - priority |
15 |
| - /> |
16 |
| - <ol> |
17 |
| - <li> |
18 |
| - Get started by editing <code>src/app/page.tsx</code>. |
19 |
| - </li> |
20 |
| - <li>Save and see your changes instantly.</li> |
21 |
| - </ol> |
| 5 | + return ( |
| 6 | + <div className={styles.page}> |
| 7 | + <main className={styles.main}> |
| 8 | + <Image className={styles.logo} src='/next.svg' alt='Next.js logo' width={180} height={38} priority /> |
| 9 | + <ol> |
| 10 | + <li> |
| 11 | + Get started by editing <code>src/app/page.tsx</code>. |
| 12 | + </li> |
| 13 | + <li>Save and see your changes instantly.</li> |
| 14 | + </ol> |
22 | 15 |
|
23 |
| - <div className={styles.ctas}> |
24 |
| - <a |
25 |
| - className={styles.primary} |
26 |
| - href="https://vercel.com/new?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app" |
27 |
| - target="_blank" |
28 |
| - rel="noopener noreferrer" |
29 |
| - > |
30 |
| - <Image |
31 |
| - className={styles.logo} |
32 |
| - src="/vercel.svg" |
33 |
| - alt="Vercel logomark" |
34 |
| - width={20} |
35 |
| - height={20} |
36 |
| - /> |
37 |
| - Deploy now |
38 |
| - </a> |
39 |
| - <a |
40 |
| - href="https://nextjs.org/docs?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app" |
41 |
| - target="_blank" |
42 |
| - rel="noopener noreferrer" |
43 |
| - className={styles.secondary} |
44 |
| - > |
45 |
| - Read our docs |
46 |
| - </a> |
47 |
| - </div> |
48 |
| - </main> |
49 |
| - <footer className={styles.footer}> |
50 |
| - <a |
51 |
| - href="https://nextjs.org/learn?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app" |
52 |
| - target="_blank" |
53 |
| - rel="noopener noreferrer" |
54 |
| - > |
55 |
| - <Image |
56 |
| - aria-hidden |
57 |
| - src="/file.svg" |
58 |
| - alt="File icon" |
59 |
| - width={16} |
60 |
| - height={16} |
61 |
| - /> |
62 |
| - Learn |
63 |
| - </a> |
64 |
| - <a |
65 |
| - href="https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app" |
66 |
| - target="_blank" |
67 |
| - rel="noopener noreferrer" |
68 |
| - > |
69 |
| - <Image |
70 |
| - aria-hidden |
71 |
| - src="/window.svg" |
72 |
| - alt="Window icon" |
73 |
| - width={16} |
74 |
| - height={16} |
75 |
| - /> |
76 |
| - Examples |
77 |
| - </a> |
78 |
| - <a |
79 |
| - href="https://nextjs.org?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app" |
80 |
| - target="_blank" |
81 |
| - rel="noopener noreferrer" |
82 |
| - > |
83 |
| - <Image |
84 |
| - aria-hidden |
85 |
| - src="/globe.svg" |
86 |
| - alt="Globe icon" |
87 |
| - width={16} |
88 |
| - height={16} |
89 |
| - /> |
90 |
| - Go to nextjs.org → |
91 |
| - </a> |
92 |
| - </footer> |
93 |
| - </div> |
94 |
| - ); |
| 16 | + <div className={styles.ctas}> |
| 17 | + <a |
| 18 | + className={styles.primary} |
| 19 | + href='https://vercel.com/new?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app' |
| 20 | + target='_blank' |
| 21 | + rel='noopener noreferrer'> |
| 22 | + <Image className={styles.logo} src='/vercel.svg' alt='Vercel logomark' width={20} height={20} /> |
| 23 | + Deploy now |
| 24 | + </a> |
| 25 | + <a |
| 26 | + href='https://nextjs.org/docs?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app' |
| 27 | + target='_blank' |
| 28 | + rel='noopener noreferrer' |
| 29 | + className={styles.secondary}> |
| 30 | + Read our docs |
| 31 | + </a> |
| 32 | + </div> |
| 33 | + </main> |
| 34 | + <footer className={styles.footer}> |
| 35 | + <a |
| 36 | + href='https://nextjs.org/learn?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app' |
| 37 | + target='_blank' |
| 38 | + rel='noopener noreferrer'> |
| 39 | + <Image aria-hidden src='/file.svg' alt='File icon' width={16} height={16} /> |
| 40 | + Learn |
| 41 | + </a> |
| 42 | + <a |
| 43 | + href='https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app' |
| 44 | + target='_blank' |
| 45 | + rel='noopener noreferrer'> |
| 46 | + <Image aria-hidden src='/window.svg' alt='Window icon' width={16} height={16} /> |
| 47 | + Examples |
| 48 | + </a> |
| 49 | + <a |
| 50 | + href='https://nextjs.org?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app' |
| 51 | + target='_blank' |
| 52 | + rel='noopener noreferrer'> |
| 53 | + <Image aria-hidden src='/globe.svg' alt='Globe icon' width={16} height={16} /> |
| 54 | + Go to nextjs.org → |
| 55 | + </a> |
| 56 | + </footer> |
| 57 | + </div> |
| 58 | + ) |
95 | 59 | }
|
0 commit comments