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>
  );
}
