forked from mschwarzmueller/nextjs-course-code
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added dummy posts, fixed post-item image and link
- Loading branch information
1 parent
2932037
commit 171b5f1
Showing
8 changed files
with
56 additions
and
9 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
import PostsGrid from '../posts/posts-grid'; | ||
import classes from './featured-posts.module.css'; | ||
|
||
function FeaturedPosts() { | ||
return <section className={classes.latest}> | ||
<h2>Featured Posts</h2> | ||
|
||
</section> | ||
function FeaturedPosts(props) { | ||
return ( | ||
<section className={classes.latest}> | ||
<h2>Featured Posts</h2> | ||
<PostsGrid posts={props.posts} /> | ||
</section> | ||
); | ||
} | ||
|
||
export default FeaturedPosts; | ||
export default FeaturedPosts; |
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
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
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
Binary file added
BIN
+1.06 MB
public/images/posts/getting-started-with-nextjs/getting-started-nextjs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.06 MB
public/images/posts/getting-started-with-nextjs2/getting-started-nextjs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.06 MB
public/images/posts/getting-started-with-nextjs3/getting-started-nextjs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.06 MB
public/images/posts/getting-started-with-nextjs4/getting-started-nextjs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.