import PButton from "./page-button";

export default function ProjectBlock({ pages }) {
  return (
    <nav>
      <div className="flow space-y-2">
        {Object.keys(pages).map((page) => (
          <PButton
            key={page}
            title={page}
            images={pages[page].images}
            url={pages[page].url}
          />
        ))}
      </div>
    </nav>
  );
}
