Web app to Svelte5 (#541)

* Web app to Svelte5

* ignore ds store

* npm install @rollup/rollup-linux-x64-gnu --save-optional
This commit is contained in:
Brahim Hadriche authored and GitHub committed 2025-01-10 09:15:04 -05:00
1 parent 66990cfd67
commit 68c8f12f9d
36 files changed
+1744 -2332

No files matched your search

+5 -3
View File
@@ -1,6 +1,6 @@
<script lang="ts">
import { onDestroy, onMount } from "svelte";
import { playletStateStore, tr } from "lib/Stores";
import { playletStateStore, translate } from "lib/Stores";
import { InvidiousApi } from "lib/Api/InvidiousApi";
import { PlayletApi } from "./Api/PlayletApi";
import VideoCastDialog from "./VideoFeed/VideoCastDialog.svelte";
@@ -248,9 +248,11 @@
: 'hidden'} fixed w-full h-full bg-base-100/80 z-50 flex justify-center items-center"
>
{#if isDragging}
<div class="text-2xl font-bold">{$tr("Drop a YouTube link here")}</div>
<div class="text-2xl font-bold">
{$translate("Drop a YouTube link here")}
</div>
{:else if isLoading}
<span class="loading loading-spinner loading-md" />
<span class="loading loading-spinner loading-md"></span>
{/if}
</div>