update footer

This commit is contained in:
wireless_purple 2024-08-04 19:18:25 +00:00
parent ab06a7bdf3
commit cdfbf26c98
4 changed files with 25 additions and 14 deletions

BIN
bun.lockb

Binary file not shown.

View file

@ -11,17 +11,17 @@
},
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@sveltejs/kit": "^2.5.18",
"@sveltejs/kit": "^2.5.20",
"@sveltejs/vite-plugin-svelte": "^3.1.1",
"sass": "^1.77.8",
"svelte": "^4.2.18",
"svelte-adapter-bun": "^0.5.2",
"svelte-preprocess": "^5.1.4",
"vite": "^5.3.3"
"svelte-preprocess": "^6.0.2",
"vite": "^5.3.5"
},
"type": "module",
"dependencies": {
"lightweight-charts": "^4.1.7",
"lightweight-charts": "^4.2.0",
"svelte-lightweight-charts": "^2.2.0"
}
}

View file

@ -21,7 +21,7 @@ const getSignificantDigits = (price) => {
for (; i < 20; i++) {
if (Math.floor(avg * 10 ** i) >= 1000) break;
}
if (i <= 1 || avg == 0) i = 2;
if (i <= 1 || avg === 0) i = 2;
return i;
};

View file

@ -30,15 +30,26 @@ Object.groupBy ||= (values, keyFinder) => {
<slot></slot>
</div>
<div class="col footer">
<span>
Links:
<a href="https://haveno.markets">Clearnet</a> |
<a href="http://lsj5o4i7iiogz6q4rstiv75nk7kots2f2nhuga75y7s23leskz2uh6id.onion">Tor</a> |
<a href="http://haveno-markets.i2p">I2P</a>
<a href="http://okoeicsihmjkqcqaiqow3arcrzm5ascwhpxq34incxg6a5z4tjza.b32.i2p">(b32)</a>
</span>
<span>
Data from:
<a href="https://haveno-reto.com" style="display:flex;gap:.2em;align-items:center;">
<a href="https://haveno-reto.com" style="display:inline-flex;gap:.2em;align-items:center;">
<img src="/haveno-reto_logo.svg" alt="" style="height:1em;width:1em;"/>
haveno-reto
</a>
Donations to haveno.markets:
</span>
<span>
Donations:
<a style="word-break:break-all;" href="monero:84LnuW3YpCQirNMN6y6Px1E3DfwnqwXVRARi9eHjzeSVFJqEQmJCxkP5WpkysbcktqUNhXxQLowhJGSknNjJWZNQ7FKp5bu">
84LnuW3YpCQirNMN6y6Px1E3DfwnqwXVRARi9eHjzeSVFJqEQmJCxkP5WpkysbcktqUNhXxQLowhJGSknNjJWZNQ7FKp5bu
</a>
</span>
</div>
</div>
<style lang="scss" global>