Created
April 7, 2017 18:04
-
-
Save anonymous/2ab3304daeb4e74e519a7ebc12593014 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Link from 'next/link'; | |
const linkStyle = { | |
marginRight: '1rem' | |
} | |
const Header = () => { | |
return ( | |
<div> | |
<Link href="/"><a style={linkStyle}>홈</a></Link> | |
<Link href="/about"><a style={linkStyle}>소개</a></Link> | |
<Link href="/ssr-test"><a style={linkStyle}>SSR 테스트</a></Link> | |
</div> | |
); | |
}; | |
export default Header; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment