Add prepaid plans to home page
This commit is contained in:
BIN
res/static/img/coins.png
Normal file
BIN
res/static/img/coins.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 75 KiB |
Binary file not shown.
@@ -131,7 +131,9 @@
|
|||||||
<p>
|
<p>
|
||||||
By purchasing a subscription you support pixeldrain on its
|
By purchasing a subscription you support pixeldrain on its
|
||||||
mission to make content sharing easier, safer and faster for
|
mission to make content sharing easier, safer and faster for
|
||||||
everyone.
|
everyone. The standard subscription plans use Patreon for
|
||||||
|
payment processing. Check out our <a href="#prepaid">prepaid
|
||||||
|
plans</a> if you would like to pay using cryptocurrencies.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Pixeldrain uses
|
Pixeldrain uses
|
||||||
@@ -446,6 +448,30 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<h2 id="prepaid">Prepaid plans</h2>
|
||||||
|
<p>
|
||||||
|
You you need more bandwidth or storage space there's also
|
||||||
|
prepaid plans. For prepaid we charge a base rate of €1 per
|
||||||
|
month, the rest of the charges are usage based. We charge €4 per
|
||||||
|
TB per month for storage space and €2 per TB for bandwidth
|
||||||
|
usage. We accept Bitcoin, Lightning Network and Dogecoin
|
||||||
|
payments.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
If €4 per TB of storage is too much we also have plans with
|
||||||
|
cheaper storage and file expiry enabled. Your files will not
|
||||||
|
expire as long as they generate traffic, so this can be a viable
|
||||||
|
option if your files are accessed often.
|
||||||
|
</p>
|
||||||
|
<div style="text-align: center;">
|
||||||
|
<img src="/res/img/coins.png" alt="supported coins" style="width: 250px;"/>
|
||||||
|
</div>
|
||||||
|
<p>
|
||||||
|
To use prepaid you need to register a pixeldrain account. After
|
||||||
|
logging in head to the <a href="/user/transactions">transactions
|
||||||
|
page</a> to deposit your coins.
|
||||||
|
</p>
|
||||||
</div></div>
|
</div></div>
|
||||||
|
|
||||||
<template id="tpl_file_expiry">
|
<template id="tpl_file_expiry">
|
||||||
|
@@ -107,6 +107,7 @@ const load_invoices = async () => {
|
|||||||
})
|
})
|
||||||
invoices = invoices_tmp
|
invoices = invoices_tmp
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
console.error(err)
|
||||||
alert(err)
|
alert(err)
|
||||||
} finally {
|
} finally {
|
||||||
loading = false
|
loading = false
|
||||||
@@ -170,7 +171,11 @@ onMount(() => {
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{#each invoices as row (row.id)}
|
{#each invoices as row (row.id)}
|
||||||
{#if row.status === "InvoiceCreated" || row.status === "InvoiceProcessing" || show_expired}
|
{#if row.status === "New" ||
|
||||||
|
row.status === "InvoiceCreated" ||
|
||||||
|
row.status === "InvoiceProcessing" ||
|
||||||
|
show_expired
|
||||||
|
}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{formatDate(row.time, true, true, false)}</td>
|
<td>{formatDate(row.time, true, true, false)}</td>
|
||||||
<td><Euro amount={row.amount}></Euro></td>
|
<td><Euro amount={row.amount}></Euro></td>
|
||||||
|
Reference in New Issue
Block a user