werefox-cafe/src/info/components/contacts-block.js
2021-06-11 08:10:41 +00:00

19 lines
459 B
JavaScript

import CLink from "./contacts-link";
export default function ContactsBlock({ contacts }) {
return (
<div className="p-4 space-y-4">
{Object.keys(contacts).map((contact) => (
<CLink
key={contact}
src={contacts[contact].src}
alt={contacts[contact].alt}
url={contacts[contact].url}
description={contact}
url_text={contacts[contact].url_text}
/>
))}
</div>
);
}