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

20 lines
440 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-4">
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}
new_tab={Boolean(pages[page].new_tab)}
/>
))}
</div>
</nav>
);
}