Skip to content

Instantly share code, notes, and snippets.

/index.js Secret

Created April 7, 2017 16:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/a4531768e0dfe42f660e2d4c10ff3eac to your computer and use it in GitHub Desktop.
Save anonymous/a4531768e0dfe42f660e2d4c10ff3eac to your computer and use it in GitHub Desktop.
import Link from 'next/link'
const Index = () => (
<div>
<h1>
안녕, Next.js
</h1>
<h2>
<Link href="/about">
<div style={{background: 'black', color: 'white'}}>소개</div>
</Link>
</h2>
</div>
);
export default Index;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment