diff --git a/res/include/style/layout.css b/res/include/style/layout.css index cedfb40..c75088f 100644 --- a/res/include/style/layout.css +++ b/res/include/style/layout.css @@ -44,6 +44,14 @@ text-rendering: optimizeLegibility; vertical-align: middle; } +.icon_unicode { + font-size: 1.5em; + display: inline-block; + font-weight: normal; + font-style: normal; + vertical-align: middle; + line-height: 1; +} .icon.small { font-size: 1.2em; } a > svg { vertical-align: middle; } @@ -440,6 +448,7 @@ select { line-height: 1em; overflow: hidden; font-size: 1em; /* Sometimes user-agents have different font sizes for buttons and links */ + font-weight: normal; text-decoration: none; text-shadow: none; color: #bfbfbf; /* Fallback */ diff --git a/res/static/misc/MaterialIcons-Regular.ttf b/res/static/misc/MaterialIcons-Regular.ttf index 453b3e4..48c69b5 100644 Binary files a/res/static/misc/MaterialIcons-Regular.ttf and b/res/static/misc/MaterialIcons-Regular.ttf differ diff --git a/svelte/src/file_viewer/AdLeaderboard.svelte b/svelte/src/file_viewer/AdLeaderboard.svelte index 62c7795..7a90767 100644 --- a/svelte/src/file_viewer/AdLeaderboard.svelte +++ b/svelte/src/file_viewer/AdLeaderboard.svelte @@ -27,21 +27,20 @@ onMount(() => { } let now = new Date().getTime() - switch (now % 6) { + switch (now % 5) { case 0: - case 1: set_ad_type("aads") break - case 2: + case 1: set_ad_type("brave") break - case 3: + case 2: set_ad_type("ads.plus") break - case 4: + case 3: set_ad_type("adaround") break - case 5: + case 4: set_ad_type("flyingsquare") break } diff --git a/svelte/src/user_home/Transactions.svelte b/svelte/src/user_home/Transactions.svelte index 91c65a8..f1c00d2 100644 --- a/svelte/src/user_home/Transactions.svelte +++ b/svelte/src/user_home/Transactions.svelte @@ -64,10 +64,11 @@ const load_transactions = async () => { let credit_amount = 10 -const checkout = async () => { +const checkout = async (network) => { loading = true const form = new FormData() form.set("amount", credit_amount*1e6) + form.set("network", network) try { const resp = await fetch( @@ -125,28 +126,33 @@ onMount(() => { {/if}
- You can deposit credit on your pixeldrain account with Bitcoin. We - support regular Bitcoin transactions and Lightning transactions (if - you open a - channel - ). You must pay the full amount as stated on the invoice, else your - payment will fail. + You can deposit credit on your pixeldrain account with Bitcoin, + Lightning network (node info) and Dogecoin. You must pay the full + amount as stated on the invoice, else your payment will fail.
- Do note that it is not possible to withdraw Bitcoin from your + Do note that it is not possible to withdraw coins from your pixeldrain account. It's not a wallet. Any amount of money you deposit has to be used up.