Skip to content

Commit

Permalink
restructure
Browse files Browse the repository at this point in the history
  • Loading branch information
Wh1t3Fox committed Mar 4, 2022
1 parent 5664153 commit a293d6b
Show file tree
Hide file tree
Showing 13 changed files with 1,135 additions and 4,298 deletions.
3 changes: 0 additions & 3 deletions .eslintrc.json

This file was deleted.

13 changes: 13 additions & 0 deletions components/post.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import Link from 'next/link'

export default function Post({ title, body, id }) {
return (
<article>
<h2>{title}</h2>
<p>{body}</p>
<Link href={`/post/${id}`}>
<a>Read more...</a>
</Link>
</article>
)
}
6 changes: 0 additions & 6 deletions next.config.js

This file was deleted.

Loading

0 comments on commit a293d6b

Please sign in to comment.