Created
March 12, 2018 03:07
-
-
Save tgrecojs/0d704f6fd68e70cde84f5ef0fa176af7 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 Banner from '../source/Banner/component'; | |
import Post from '../source/Post/component'; | |
import Link from 'next/link'; | |
import { post1, post2, post3 } from '../Posts.tipe'; | |
import Layout from '../source/Layout/component'; | |
const App = () => | |
<Layout> | |
<Banner /> | |
<Post {postBody={post1.postBody} description={post1.description} _meta={post3._meta}}/> | |
<hr/> | |
<Post postBody={post2.postBody} description={post2.description} _meta={post3._meta}/> | |
<hr/> | |
<Post postBody={post3.postBody} description={post3.description} _meta={post3._meta}/> | |
</Layout> | |
export default App |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment