Skip to content

Instantly share code, notes, and snippets.

@vlpt-playground
Created April 7, 2017 17:13
Show Gist options
  • Save vlpt-playground/fb3f710fe2249caad0bebb9588b8f69d to your computer and use it in GitHub Desktop.
Save vlpt-playground/fb3f710fe2249caad0bebb9588b8f69d to your computer and use it in GitHub Desktop.
import Layout from '../components/Layout';
const About = () => (
<Layout>
<h2>안녕하세요 저는 Velopert 입니다.</h2>
</Layout>
)
export default About;
import Link from 'next/link'
import Layout from '../components/Layout';
const Index = () => (
<Layout>
<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