diff options
author | 2021-10-02 22:54:19 -0700 | |
---|---|---|
committer | 2021-10-02 22:54:19 -0700 | |
commit | cdabcfd9d09d2f4928ba7a918f654e001bb3c2eb (patch) | |
tree | 46141053ec9163fc9abb087e57b7819c3716a4d6 /examples/hello-next | |
parent | ac7a96b088bce9e9703e6501a0546357b3a33faf (diff) | |
download | bun-cdabcfd9d09d2f4928ba7a918f654e001bb3c2eb.tar.gz bun-cdabcfd9d09d2f4928ba7a918f654e001bb3c2eb.tar.zst bun-cdabcfd9d09d2f4928ba7a918f654e001bb3c2eb.zip |
Linux works now.
Diffstat (limited to 'examples/hello-next')
-rw-r--r-- | examples/hello-next/pages/index.tsx | 7 | ||||
-rw-r--r-- | examples/hello-next/styles/Home.module.css | 4 |
2 files changed, 6 insertions, 5 deletions
diff --git a/examples/hello-next/pages/index.tsx b/examples/hello-next/pages/index.tsx index f733efb51..9101ed8c7 100644 --- a/examples/hello-next/pages/index.tsx +++ b/examples/hello-next/pages/index.tsx @@ -5,12 +5,11 @@ import styles from "../styles/Home.module.css"; export async function getStaticProps(ctx) { return { - props: { - }, + props: {}, }; } -export default function Home({ }) { +export default function Home({}) { return ( <div className={styles.container}> <Head> @@ -21,7 +20,7 @@ export default function Home({ }) { <main className={styles.main}> <h1 className={styles.title}> - Welcome to <a href="https://nextjs.org">Next.js!</a> + Welcome!!to <a href="https://nextjs.org">Next.js!</a> </h1> <p className={styles.description}> diff --git a/examples/hello-next/styles/Home.module.css b/examples/hello-next/styles/Home.module.css index 167d5f75b..4a04160d0 100644 --- a/examples/hello-next/styles/Home.module.css +++ b/examples/hello-next/styles/Home.module.css @@ -1,6 +1,6 @@ @import url("./2.css"); .container { - min-height: 100vh; + min-height: 99vh; padding: 0 0.5rem; display: flex; flex-direction: column; @@ -8,6 +8,8 @@ align-items: center; height: 100vh; } + + .main { padding: 5rem 0; flex: 1; |