aboutsummaryrefslogtreecommitdiff
path: root/demos/hello-next/pages/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'demos/hello-next/pages/index.js')
-rw-r--r--demos/hello-next/pages/index.js18
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 &rarr;</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 &rarr;</h2>
- <p>Discover and deploy boilerplate example Next.js projects.</p>
- </a>
-
+ <Link href="/hi">
+ <a className={styles.card}>
+ <h2>Examples &rarr;</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}