0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-22 07:27:51 +00:00

basic ui and small changes

This commit is contained in:
Víctor Losada Hernández
2024-01-23 00:20:18 +01:00
parent 66fd56fccb
commit 7951c4a03a
2 changed files with 26 additions and 4 deletions

View File

@@ -55,7 +55,16 @@ const ArchivePage = createClass({
<dd>{brew.title}</dd>
<dt>Authors:</dt>
<dd>{brew.authors.join(', ')}</dd>
<dd>
{brew.authors.map((author, index) => (
<span key={index}>
<a href={`/user/${author}`} target='_blank' rel='noopener noreferrer'>
{author}
</a>
{index < brew.authors.length - 1 && ', '}
</span>
))}
</dd>
<a href={`/share/${brew.shareId}`}>Check the brew</a>