From e61b27c376c111f5ab2c82b72e8030f0df47f0d1 Mon Sep 17 00:00:00 2001 From: VDawg Date: Mon, 13 Nov 2023 19:50:05 +0100 Subject: [PATCH] improve preview slice --- src/routes/PreviewRiceSlice.svelte | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/src/routes/PreviewRiceSlice.svelte b/src/routes/PreviewRiceSlice.svelte index 8a4743a..3ef7209 100755 --- a/src/routes/PreviewRiceSlice.svelte +++ b/src/routes/PreviewRiceSlice.svelte @@ -2,10 +2,8 @@ import { inview } from 'svelte-inview' import previewRice from '$lib/videos/end_4_rice_intro.mp4' import previewRiceThumbnail from '$lib/videos/end_4_thumbnail.webp' - import PauseIcon from '~icons/mingcute/pause-circle-line' + import PlayIcon from '~icons/mingcute/play-circle-line' import clsx from 'clsx' - import { onMount } from 'svelte' - import { getIsMobile } from '$lib/Helper.mjs' /** @type HTMLVideoElement */ let videoElement @@ -26,14 +24,6 @@ function makeFullscreen() { videoElement.requestFullscreen() } - - onMount(() => { - const isMobile = getIsMobile() - - if (isMobile) { - // - } - })
@@ -85,7 +75,7 @@
- +
{/if}