Skip to content

Instantly share code, notes, and snippets.

@tgrecojs
Created March 12, 2018 03:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tgrecojs/0d704f6fd68e70cde84f5ef0fa176af7 to your computer and use it in GitHub Desktop.
Save tgrecojs/0d704f6fd68e70cde84f5ef0fa176af7 to your computer and use it in GitHub Desktop.
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