init: Vite+React+Tailwind v2 site with HTML content from WP, RSS feed, external feed aggregator, prerender
This commit is contained in:
13
src/pages/Home.jsx
Normal file
13
src/pages/Home.jsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import React from 'react';
|
||||
import { postsList } from '../content';
|
||||
import PostCard from '../components/PostCard';
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<div>
|
||||
{postsList.map((p) => (
|
||||
<PostCard key={p.slug} post={p} />
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user