2016-10-16 04:31:05 +00:00
|
|
|
|
import P from '../components/paragraph'
|
|
|
|
|
import Post from '../components/post'
|
|
|
|
|
|
|
|
|
|
export default () => (
|
2016-12-19 18:42:19 +00:00
|
|
|
|
<div className='main'>
|
2016-10-17 00:00:17 +00:00
|
|
|
|
<Post title='My first blog post'>
|
2016-10-16 04:31:05 +00:00
|
|
|
|
<P>Hello there</P>
|
|
|
|
|
<P>This is an example of a componentized blog post</P>
|
|
|
|
|
</Post>
|
|
|
|
|
|
2016-12-19 18:42:19 +00:00
|
|
|
|
<hr />
|
2016-10-16 04:31:05 +00:00
|
|
|
|
|
2016-10-17 00:00:17 +00:00
|
|
|
|
<Post title='My second blog post'>
|
2016-10-16 04:31:05 +00:00
|
|
|
|
<P>Hello there</P>
|
|
|
|
|
<P>This is another example.</P>
|
|
|
|
|
<P>Wa-hoo!</P>
|
|
|
|
|
</Post>
|
|
|
|
|
|
2016-12-19 18:42:19 +00:00
|
|
|
|
<hr />
|
2016-10-16 04:31:05 +00:00
|
|
|
|
|
2016-10-17 00:00:17 +00:00
|
|
|
|
<Post title='The final blog post'>
|
2016-12-29 18:50:36 +00:00
|
|
|
|
<P>C’est fin</P>
|
2016-10-16 04:31:05 +00:00
|
|
|
|
</Post>
|
2016-12-19 18:42:19 +00:00
|
|
|
|
|
|
|
|
|
<style jsx>{`
|
|
|
|
|
.main {
|
|
|
|
|
margin: auto;
|
|
|
|
|
max-width: 420px;
|
|
|
|
|
padding: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
hr {
|
|
|
|
|
width: 100px;
|
|
|
|
|
border-width: 0;
|
|
|
|
|
margin: 20px auto;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
hr::before {
|
2018-12-17 16:34:32 +00:00
|
|
|
|
content: '***';
|
2016-12-19 18:42:19 +00:00
|
|
|
|
color: #ccc;
|
|
|
|
|
}
|
|
|
|
|
`}</style>
|
2016-10-16 04:31:05 +00:00
|
|
|
|
</div>
|
|
|
|
|
)
|