page.js 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. import Image from 'next/image'
  2. import styles from './page.module.css'
  3. export default function Home() {
  4. return (
  5. <main className={styles.main}>
  6. <div className={styles.description}>
  7. <p>
  8. Get started by editing&nbsp;
  9. <code className={styles.code}>app/page.js</code>
  10. </p>
  11. <div>
  12. <a
  13. href="https://vercel.com?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
  14. target="_blank"
  15. rel="noopener noreferrer"
  16. >
  17. By{' '}
  18. <Image
  19. src="/vercel.svg"
  20. alt="Vercel Logo"
  21. className={styles.vercelLogo}
  22. width={100}
  23. height={24}
  24. priority
  25. />
  26. </a>
  27. </div>
  28. </div>
  29. <div className={styles.center}>
  30. <Image
  31. className={styles.logo}
  32. src="/next.svg"
  33. alt="Next.js Logo"
  34. width={180}
  35. height={37}
  36. priority
  37. />
  38. </div>
  39. <div className={styles.grid}>
  40. <a
  41. href="https://nextjs.org/docs?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
  42. className={styles.card}
  43. target="_blank"
  44. rel="noopener noreferrer"
  45. >
  46. <h2>
  47. Docs <span>-&gt;</span>
  48. </h2>
  49. <p>Find in-depth information about Next.js features and API.</p>
  50. </a>
  51. <a
  52. href="https://nextjs.org/learn?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
  53. className={styles.card}
  54. target="_blank"
  55. rel="noopener noreferrer"
  56. >
  57. <h2>
  58. Learn <span>-&gt;</span>
  59. </h2>
  60. <p>Learn about Next.js in an interactive course with&nbsp;quizzes!</p>
  61. </a>
  62. <a
  63. href="https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
  64. className={styles.card}
  65. target="_blank"
  66. rel="noopener noreferrer"
  67. >
  68. <h2>
  69. Templates <span>-&gt;</span>
  70. </h2>
  71. <p>Explore the Next.js 13 playground.</p>
  72. </a>
  73. <a
  74. href="https://vercel.com/new?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
  75. className={styles.card}
  76. target="_blank"
  77. rel="noopener noreferrer"
  78. >
  79. <h2>
  80. Deploy <span>-&gt;</span>
  81. </h2>
  82. <p>
  83. Instantly deploy your Next.js site to a shareable URL with Vercel.
  84. </p>
  85. </a>
  86. </div>
  87. </main>
  88. )
  89. }