diff options
author | 2021-08-17 15:25:36 -0700 | |
---|---|---|
committer | 2021-08-17 15:25:36 -0700 | |
commit | 3b6259edf33933be61ed0e8cdb2ff3dc2ae3a56a (patch) | |
tree | 48a0aa9e2d8c099e381332e3be5d23da61e7e371 /demos/hello-next/pages/index.js | |
parent | ae01e9b98d481332236976344fa0386bafa82f53 (diff) | |
download | bun-3b6259edf33933be61ed0e8cdb2ff3dc2ae3a56a.tar.gz bun-3b6259edf33933be61ed0e8cdb2ff3dc2ae3a56a.tar.zst bun-3b6259edf33933be61ed0e8cdb2ff3dc2ae3a56a.zip |
fix jsx
Former-commit-id: a9bfcbce261798cdd0c3f8cb09076dc246920b48
Diffstat (limited to 'demos/hello-next/pages/index.js')
-rw-r--r-- | demos/hello-next/pages/index.js | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/demos/hello-next/pages/index.js b/demos/hello-next/pages/index.js index 4db0d5ae6..209701990 100644 --- a/demos/hello-next/pages/index.js +++ b/demos/hello-next/pages/index.js @@ -1,12 +1,13 @@ import Head from "next/head"; import Image from "next/image"; import styles from "../styles/Home.module.css"; +import Link from "next/link"; export default function Home() { return ( <div className={styles.container}> <Head> - <title>Create Next App</title> + <title>Create Next Ap123p</title> <meta name="description" content="Generated by create next app" /> <link rel="icon" href="/favicon.ico" /> </Head> @@ -31,15 +32,12 @@ export default function Home() { <h2>Learn →</h2> <p>Learn about Next.js in an interactive course with quizzes!</p> </a> - - <a - href="https://github.com/vercel/next.js/tree/master/examples" - className={styles.card} - > - <h2>Examples →</h2> - <p>Discover and deploy boilerplate example Next.js projects.</p> - </a> - + <Link href="/hi"> + <a className={styles.card}> + <h2>Examples →</h2> + <p>Discover and deploy boilerplate example Next.js projects.</p> + </a> + </Link> <a href="https://vercel.com/new?utm_source=create-next-app&utm_medium=default-template&utm_campaign=create-next-app" className={styles.card} |