2021-05-01 01:15:09 -05:00
|
|
|
import IDButton from "./identity-button";
|
|
|
|
|
2021-06-14 23:30:03 -05:00
|
|
|
export default function IdentityBlock({ identities, partners }) {
|
2021-05-01 01:15:09 -05:00
|
|
|
return (
|
2021-05-01 18:25:28 -05:00
|
|
|
<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) => (
|
2021-05-01 18:25:28 -05:00
|
|
|
<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}
|
2021-06-14 23:30:03 -05:00
|
|
|
partners={partners}
|
2021-05-01 18:25:28 -05:00
|
|
|
/>
|
|
|
|
))}
|
|
|
|
</div>
|
|
|
|
</nav>
|
2021-05-01 01:15:09 -05:00
|
|
|
);
|
|
|
|
}
|