Revert "Web app to Svelte5 (#540)"

This reverts commit c534c27ae3.
This commit is contained in:
Brahim Hadriche committed 2025-01-09 21:54:08 -05:00
1 parent f987558884
commit aab20f2364
35 files changed
+2336 -1729

No files matched your search

@@ -1,5 +1,5 @@
<script lang="ts">
import { playletStateStore, translate } from "lib/Stores";
import { playletStateStore, tr } from "lib/Stores";
import PlaylistCastDialog from "./PlaylistCastDialog.svelte";
import PlaylistThumbnail from "./PlaylistThumbnail.svelte";
import { get } from "svelte/store";
@@ -33,7 +33,7 @@
return "";
}
const trFn = get(translate);
const trFn = get(tr);
const totalDays = Math.floor(span / 86400);
if (totalDays > 365) {
@@ -79,12 +79,7 @@
}
</script>
<button
class="w-80 p-2"
on:click={() => {
modal.show();
}}
>
<button class="w-80 p-2" on:click={modal.show()}>
<div class="card card-compact bg-base-100 shadow-xl border border-neutral">
<PlaylistThumbnail
bind:title