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

22 lines
651 B
JavaScript
Raw Normal View History

import IDButton from "./identity-button";
export default function IdentityBlock({ identities, partners }) {
return (
<nav>
<div className="grid xl:grid-rows-2 xl:grid-cols-5 sm:grid-rows-3 sm:grid-cols-3 grid-rows-9 grid-cols-1 sm:gap-2 gap-0">
2021-06-11 03:10:41 -05:00
{Object.keys(identities).map((ids) => (
<IDButton
key={ids}
innerText={ids}
2021-06-11 03:10:41 -05:00
url={identities[ids].url}
locator={identities[ids].locator}
imageObj={identities[ids].images}
extraClasses={identities[ids].extra_classes}
partners={partners}
/>
))}
</div>
</nav>
);
}