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

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>
);
}