SYNC-HP用のサンプル
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

73 rindas
2.2KB

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