Skip to content

Instantly share code, notes, and snippets.

Created April 8, 2017 00:00
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/a8a95b582b594e264cc0e27a9d622e45 to your computer and use it in GitHub Desktop.
Save anonymous/a8a95b582b594e264cc0e27a9d622e45 to your computer and use it in GitHub Desktop.
import Link from 'next/link'
import Layout from '../components/Layout';
import Head from 'next/head';
const Index = () => (
<Layout>
<Head>
<title>
Index 페이지
</title>
</Head>
<h1>
안녕, Next.js
</h1>
<h2>
<Link href="/about">
<a style={{background: 'black', color: 'white'}}>소개</a>
</Link>
</h2>
</Layout>
);
export default Index;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment