🐅 Adds alias for common paths

This commit is contained in:
Rune Harlyk
2024-02-06 19:21:15 +01:00
parent 68eeb573e6
commit 9fdb1de483
9 changed files with 47 additions and 25 deletions
+19
View File
@@ -0,0 +1,19 @@
<script lang="ts">
import { onDestroy } from 'svelte';
import location from '$lib/location';
let videoStream = `//${location}/api/stream`;
onDestroy(() => {
videoStream = '#';
});
</script>
<div class="w-full h-full">
<img
src={videoStream}
class="absolute object-cover blur-3xl w-full h-full -z-10"
alt="Live stream is down"
/>
<img src={videoStream} class="object-contain w-full h-full" alt="Live stream is down" />
</div>