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

@@ -1,5 +1,5 @@
<script lang="ts">
import { playletStateStore, tr } from "lib/Stores";
import { playletStateStore, translate } 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(tr);
const trFn = get(translate);
const totalDays = Math.floor(span / 86400);
if (totalDays > 365) {
@@ -79,7 +79,12 @@
}
</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