mirror of
https://github.com/zen-browser/www
synced 2026-04-25 17:14:56 +02:00
feat: update issue link text to 'Bug' and format link display
This commit is contained in:
@@ -61,7 +61,7 @@ const generateItems = (items: any, type: string) => {
|
|||||||
...(item.issue
|
...(item.issue
|
||||||
? {
|
? {
|
||||||
link: {
|
link: {
|
||||||
text: `Issue #${item.issue}`,
|
text: `Bug #${item.issue}`,
|
||||||
href: `https://github.com/zen-browser/desktop/issues/${item.issue}`,
|
href: `https://github.com/zen-browser/desktop/issues/${item.issue}`,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,9 +40,13 @@ const {
|
|||||||
{content && <span class="text-base opacity-80" set:html={content} />}
|
{content && <span class="text-base opacity-80" set:html={content} />}
|
||||||
{
|
{
|
||||||
link && (
|
link && (
|
||||||
<a href={link.href} class="text-blue inline-block text-base underline">
|
<>
|
||||||
{link.text}
|
"("
|
||||||
</a>
|
<a href={link.href} class="text-blue inline-block text-base underline">
|
||||||
|
{link.text}
|
||||||
|
</a>
|
||||||
|
")"
|
||||||
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user