werefox-cafe/src/info/components/page-block.js

19 lines
389 B
JavaScript
Raw Normal View History

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