2021-05-01 01:15:09 -05:00
|
|
|
import PButton from "./page-button";
|
|
|
|
|
2021-06-11 03:10:41 -05:00
|
|
|
export default function ProjectBlock({ pages }) {
|
2021-05-01 01:15:09 -05:00
|
|
|
return (
|
2021-05-01 18:25:28 -05:00
|
|
|
<nav>
|
|
|
|
<div className="flow space-y-2">
|
2021-06-11 03:10:41 -05:00
|
|
|
{Object.keys(pages).map((page) => (
|
2021-05-01 18:25:28 -05:00
|
|
|
<PButton
|
|
|
|
key={page}
|
|
|
|
title={page}
|
2021-06-11 03:10:41 -05:00
|
|
|
images={pages[page].images}
|
|
|
|
url={pages[page].url}
|
2021-05-01 18:25:28 -05:00
|
|
|
/>
|
|
|
|
))}
|
|
|
|
</div>
|
|
|
|
</nav>
|
2021-05-01 01:15:09 -05:00
|
|
|
);
|
|
|
|
}
|