website: redesign part 31

This commit is contained in:
nym21
2026-06-18 22:39:28 +02:00
parent 408d83c350
commit 00f7d69ea6
37 changed files with 811 additions and 703 deletions
-9
View File
@@ -5,15 +5,6 @@ export function formatNumber(value) {
return new Intl.NumberFormat("en-US").format(value);
}
/**
* @param {number} sats
*/
export function formatBtc(sats) {
return `${(sats / 100_000_000).toLocaleString("en-US", {
maximumFractionDigits: 8,
})} BTC`;
}
/**
* @param {number} dollars
*/