aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/hello-next/pages/index.tsx7
-rw-r--r--examples/hello-next/styles/Home.module.css4
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;