mirror of
https://github.com/yusufipk/teknolojirehberleri.xyz.git
synced 2026-09-11 10:56:08 +00:00
(create) created dummy posts and styled it
This commit is contained in:
+11
-2
@@ -1,3 +1,12 @@
|
||||
export default function Home() {
|
||||
return <div className="homepage"></div>;
|
||||
export default function Home({ posts }) {
|
||||
return (
|
||||
<div className="homepage">
|
||||
<h1 className="homepage_heading-1">Rehberler</h1>
|
||||
<div className="homepage_posts">
|
||||
{posts.slice(0, 20).map((post) => (
|
||||
<li key={post.id}>{post.title}</li>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user