Skip to content

Instantly share code, notes, and snippets.

@kennethnwc
Last active June 12, 2020 04:09
Show Gist options
  • Save kennethnwc/64c4b409ef84865a0fa24fa785e6fbc5 to your computer and use it in GitHub Desktop.
Save kennethnwc/64c4b409ef84865a0fa24fa785e6fbc5 to your computer and use it in GitHub Desktop.
import Link from "next/link";
import Layout from "../components/Layout";
import styles from "./_app.module.scss";
const IndexPage = () => (
<Layout title="Home | Next.js + TypeScript Example">
<h1>Hello Next.js 👋</h1>
<p>
<Link href="/about">
<a>About</a>
</Link>
<button className={`${styles.btn} ${styles.btnPrimary}`}>Test</button>
</p>
</Layout>
);
export default IndexPage;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment