Add file viewer branding options
This commit is contained in:
@@ -8,6 +8,7 @@ import Twitter from "../icons/Twitter.svelte"
|
||||
import Tumblr from "../icons/Tumblr.svelte"
|
||||
import { formatDataVolume, formatDuration } from "../util/Formatting.svelte";
|
||||
import StorageProgressBar from "../user_home/StorageProgressBar.svelte"
|
||||
import Konami from "../util/Konami.svelte"
|
||||
|
||||
// === UPLOAD LOGIC ===
|
||||
|
||||
@@ -384,6 +385,8 @@ const keydown = (e) => {
|
||||
on:keydown={keydown}
|
||||
on:beforeunload={leave_confirmation} />
|
||||
|
||||
<Konami></Konami>
|
||||
|
||||
<div>
|
||||
<!-- If the user is logged in and has used more than 50% of their storage space we will show a progress bar -->
|
||||
{#if window.user.username !== "" && window.user.storage_space_used/window.user.subscription.storage_space > 0.5}
|
||||
|
Reference in New Issue
Block a user