Skip to content

Instantly share code, notes, and snippets.

@vlpt-playground
Created April 7, 2017 16:57
Show Gist options
  • Save vlpt-playground/337e25e4b15080a3f3322365708d6334 to your computer and use it in GitHub Desktop.
Save vlpt-playground/337e25e4b15080a3f3322365708d6334 to your computer and use it in GitHub Desktop.
import Header from '../components/Header';
const About = () => (
<div>
<Header/>
<h2>안녕하세요 저는 Velopert 입니다.</h2>
</div>
)
export default About;
import Link from 'next/link'
import Header from '../components/Header';
const Index = () => (
<div>
<Header/>
<h1>
안녕, Next.js
</h1>
<h2>
<Link href="/about">
<a style={{background: 'black', color: 'white'}}>소개</a>
</Link>
</h2>
</div>
);
export default Index;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment