Promo: banner previews scale to their card; board share text brags about the biggest find
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -48,7 +48,7 @@
|
||||
// share panel
|
||||
if (board.share) {
|
||||
const link = board.share.link; $('mylink').value = link;
|
||||
const best = (board.drips || []).find(d => d.status === 'paid');
|
||||
const best = (board.drips || []).filter(d => d.status === 'paid').sort((a, b) => b.pol - a.pol)[0]; // brag about the biggest find
|
||||
const text = best ? 'I just found ' + best.pol + ' POL on ' + best.site + ' with PolHunter. Visit a site, find your code, get a drip of POL to your wallet, on chain. ' + link
|
||||
: 'PolHunter: visit one of our sites, find your code on the page, and a random drip of POL lands in your wallet. On chain, with a link to prove it. ' + link;
|
||||
if (!$('sharetext').dataset.touched) $('sharetext').value = text;
|
||||
|
||||
Reference in New Issue
Block a user