2016-10-16 06:31:05 +02:00
|
|
|
|
import P from '../components/paragraph'
|
|
|
|
|
import Post from '../components/post'
|
|
|
|
|
|
|
|
|
|
export default () => (
|
2019-11-11 04:24:53 +01:00
|
|
|
|
<div className="main">
|
|
|
|
|
<Post title="My first blog post">
|
2016-10-16 06:31:05 +02:00
|
|
|
|
<P>Hello there</P>
|
|
|
|
|
<P>This is an example of a componentized blog post</P>
|
|
|
|
|
</Post>
|
|
|
|
|
|
2016-12-19 19:42:19 +01:00
|
|
|
|
<hr />
|
2016-10-16 06:31:05 +02:00
|
|
|
|
|
2019-11-11 04:24:53 +01:00
|
|
|
|
<Post title="My second blog post">
|
2016-10-16 06:31:05 +02:00
|
|
|
|
<P>Hello there</P>
|
|
|
|
|
<P>This is another example.</P>
|
|
|
|
|
<P>Wa-hoo!</P>
|
|
|
|
|
</Post>
|
|
|
|
|
|
2016-12-19 19:42:19 +01:00
|
|
|
|
<hr />
|
2016-10-16 06:31:05 +02:00
|
|
|
|
|
2019-11-11 04:24:53 +01:00
|
|
|
|
<Post title="The final blog post">
|
2016-12-29 19:50:36 +01:00
|
|
|
|
<P>C’est fin</P>
|
2016-10-16 06:31:05 +02:00
|
|
|
|
</Post>
|
2016-12-19 19:42:19 +01: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 17:34:32 +01:00
|
|
|
|
content: '***';
|
2016-12-19 19:42:19 +01:00
|
|
|
|
color: #ccc;
|
|
|
|
|
}
|
|
|
|
|
`}</style>
|
2016-10-16 06:31:05 +02:00
|
|
|
|
</div>
|
|
|
|
|
)
|