Update feature table with new transfer limits
This commit is contained in:
@@ -13,9 +13,9 @@ export let file = {
|
||||
{#if file.show_ads && file.size > 1e8}
|
||||
<!-- If the file is larger than 100 MB we show a warning about the transfer speed -->
|
||||
<TextBlock width="650px" center={true}>
|
||||
Your download speed is currently limited to 4 MiB/s. Downloading this
|
||||
Your download speed is currently limited to 2 MiB/s. Downloading this
|
||||
file for free will take at least
|
||||
{formatDuration((file.size/4194304)*1000)} (under ideal conditions).
|
||||
{formatDuration((file.size/2097152)*1000)} (under ideal conditions).
|
||||
You can
|
||||
<a href="https://www.patreon.com/join/pixeldrain/checkout?rid=5291427&cadence=12">
|
||||
upgrade to Pro
|
||||
|
@@ -87,9 +87,9 @@ const code = async file => {
|
||||
|
||||
<div bind:this={container} class="container">
|
||||
{#if text_type === "markdown"}
|
||||
<div bind:this={md_container}>
|
||||
<section bind:this={md_container} class="md">
|
||||
Loading...
|
||||
</div>
|
||||
</section>
|
||||
{:else if text_type === "text"}
|
||||
<pre bind:this={text_pre}>
|
||||
Loading...
|
||||
@@ -110,13 +110,19 @@ const code = async file => {
|
||||
width: 100%;
|
||||
font-size: 0.9em;
|
||||
line-height: 1.5em;
|
||||
padding: 5px 5px 5px 20px;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
.container > pre {
|
||||
margin: 0;
|
||||
padding: 10px;
|
||||
white-space: pre-wrap;
|
||||
overflow: hidden;
|
||||
border: none;
|
||||
}
|
||||
.container > .md {
|
||||
display: block;
|
||||
padding: 10px;
|
||||
margin: auto;
|
||||
}
|
||||
</style>
|
||||
|
@@ -45,12 +45,14 @@ onMount(() => {
|
||||
Data transfer limit
|
||||
</div>
|
||||
<div class="feat_normal">
|
||||
Rate limiting mode will be enabled when a file has 3
|
||||
times more downloads than views
|
||||
Up to 1000 files or 50 GB data transfer per day. Rate limiting mode
|
||||
will be enabled if a file has 5 times more downloads than views, and
|
||||
you will be asked to complete a CAPTCHA
|
||||
</div>
|
||||
<div class="feat_pro">
|
||||
Transfer limit of <span class="text_highlight">1 terabyte</span>. If
|
||||
the transfer limit is exceeded advertisements will be enabled again
|
||||
Transfer limit of <span class="text_highlight">1 terabyte</span> per
|
||||
month. If the transfer limit is exceeded the restrictions of the
|
||||
free plan will apply
|
||||
<br/>
|
||||
<button class="round" on:click={direct_linking.toggle}>
|
||||
<i class="icon">info</i>
|
||||
@@ -58,6 +60,19 @@ onMount(() => {
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="feat_label">
|
||||
Download speed
|
||||
</div>
|
||||
<div class="feat_normal">
|
||||
Up to 2 MiB/s, may be slower during busy periods
|
||||
</div>
|
||||
<div class="feat_pro">
|
||||
<span class="text_highlight">High priority</span>
|
||||
bandwidth for files you download and files on your
|
||||
account
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="feat_label">
|
||||
Adver­tise­ments
|
||||
@@ -94,19 +109,6 @@ onMount(() => {
|
||||
<span class="text_highlight">1 terabyte</span>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="feat_label">
|
||||
Download speed
|
||||
</div>
|
||||
<div class="feat_normal">
|
||||
Up to 4 MiB/s, may be slower during busy periods
|
||||
</div>
|
||||
<div class="feat_pro">
|
||||
<span class="text_highlight">High priority</span>
|
||||
bandwidth for files you download and files on your
|
||||
account
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="feat_label">
|
||||
Online file previews
|
||||
|
Reference in New Issue
Block a user