'use client'; import Link from 'next/link'; import Image from 'next/image'; interface BlogPost { label: string; body: string; publish: string; get_absolute_url: string; } interface BlogAreaProps { blogposts: BlogPost[]; } export default function BlogArea({ blogposts }: BlogAreaProps) { return (
{blogposts.map((blogpost, index) => (
Retrospective Science Image

{blogpost.label}

  • Games
  • Science
{blogpost.body.slice(0, 512)}...

Posted: {blogpost.publish}

Read the article
))}
{/* Include Pagination Component Here */}
); }