Update shaded background color

This commit is contained in:
2022-04-04 12:37:58 +02:00
parent 78cd5b555e
commit eb89000ecf
12 changed files with 48 additions and 28 deletions

View File

@@ -13,6 +13,7 @@ let file = {
icon_href: "",
allow_video_player: true,
show_ads: false,
download_speed_limit: 0,
}
$: loop = file.name.includes(".loop.")
@@ -151,23 +152,26 @@ const fullscreen = () => {
{:else}
<h1>{file.name}</h1>
<img src={file.icon_href} class="video_icon" alt="Video icon">
<TextBlock width="600px">
The online video player on pixeldrain is only available when the
uploader of the file is a Patreon supporter, or if you are a Patreon
supporter. You can still download the video and watch it locally on your
computer.
<TextBlock width="650px">
The online video player on pixeldrain is only available for registered
users, or when the uploader of the video has a Pro account. You can
still download the video and watch it locally on your computer without
an account.
<br/>
<a href="https://www.patreon.com/join/pixeldrain/checkout?rid=5291427&cadence=12" target="_blank" class="button button_highlight">
<i class="icon">bolt</i> Get Pixeldrain Pro
</a>
<button on:click={download}>
<i class="icon">download</i> Download
</button>
<a href="https://www.patreon.com/join/pixeldrain/checkout?rid=5291427&cadence=12" class="button button_highlight">
<i class="icon">bolt</i> Support Pixeldrain on Patreon
<a href="/register" class="button">
<i class="icon">how_to_reg</i> Sign up
</a>
</TextBlock>
<br/><br/>
{#if file.show_ads}
<BandwidthUsage/>
<BandwidthUsage file={file}/>
{/if}
{/if}