diff options
author | 2021-08-17 18:49:58 -0700 | |
---|---|---|
committer | 2021-08-17 18:49:58 -0700 | |
commit | bbe0a3d58ccb420fe94b8d59934b2b54ed71f295 (patch) | |
tree | cf65bb41ae3557df4ec6d48908deaa47b33f97ce /demos/hello-next/pages/index.tsx | |
parent | 68b6e80b911439cecbc78d23fab3be82e77f2997 (diff) | |
parent | 7a1ca0bc0cb93f62daedfb4d5dee1bd22020a9d2 (diff) | |
download | bun-bbe0a3d58ccb420fe94b8d59934b2b54ed71f295.tar.gz bun-bbe0a3d58ccb420fe94b8d59934b2b54ed71f295.tar.zst bun-bbe0a3d58ccb420fe94b8d59934b2b54ed71f295.zip |
Merge branch 'main' of github.com:Jarred-Sumner/esdev
Former-commit-id: 7aec17b6232cb51067a289944aa733466c0478fb
Diffstat (limited to 'demos/hello-next/pages/index.tsx')
-rw-r--r-- | demos/hello-next/pages/index.tsx | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/demos/hello-next/pages/index.tsx b/demos/hello-next/pages/index.tsx new file mode 100644 index 000000000..621f2c401 --- /dev/null +++ b/demos/hello-next/pages/index.tsx @@ -0,0 +1,73 @@ +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 Ap123p</title> + <meta name="description" content="Generated by create next app" /> + <link rel="icon" href="/favicon.ico" /> + </Head> + + <main className={styles.main}> + <h1 className={styles.title}> + Welcom <a href="https://nextjs.org">Next.js!</a> + </h1> + + <Title /> + + <Link href="/blue"> + <a>Blue page</a> + </Link> + + <p className={styles.description}> + Get started by editing{" "} + <code className={styles.code}>pages/index.js</code> + </p> + + <div className={styles.grid}> + <a href="https://nextjs.org/docs" className={styles.card}> + <h2>Documentation →</h2> + <p>Find in-depth information about Next.js features and API.</p> + </a> + + <a href="https://nextjs.org/learn" className={styles.card}> + <h2>Learn →</h2> + <p>Learn about Next.js in an interactive course with quizzes!</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} + > + <h2>Deploy →</h2> + <p> + Instantly deploy your Next.js site to a public URL with Vercel. + </p> + </a> + </div> + </main> + + <footer className={styles.footer}> + <a + href="https://vercel.com?utm_source=create-next-app&utm_medium=default-template&utm_campaign=create-next-app" + target="_blank" + rel="noopener noreferrer" + > + Powered by{" "} + <span className={styles.logo}> + <img src="/vercel.svg" alt="Vercel Logo" width={72} height={16} /> + </span> + </a> + </footer> + </div> + ); +} |