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

19 lines
459 B
JavaScript
Raw Normal View History

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