Merge branch 'add-link'

This commit is contained in:
Yanick Champoux 2024-02-10 10:25:27 -05:00
commit 06fef791e5

View File

@ -17,11 +17,14 @@
{/if} {/if}
<strong> <strong>
<a <a
name={id}
class="game-desc" class="game-desc"
target="_blank" target="_blank"
href={`https://boardgamegeek.com/boardgame/${bgg_id}`}> href={`https://boardgamegeek.com/boardgame/${bgg_id}`}>
{name}</a> {name}</a>
</strong> </strong>
&nbsp; &nbsp; &nbsp;
<a href={`https://bgg.babyl.ca/#${id}`}><i>link</i></a>
</div> </div>
</div> </div>
<div class="s3"> <div class="s3">
@ -90,6 +93,7 @@
export let notes = ''; export let notes = '';
export let updated_at = null; export let updated_at = null;
export let is_in_cart = false; export let is_in_cart = false;
export let id = '';
function pretty_date(date) { function pretty_date(date) {
if (!date) return ''; if (!date) return '';