diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 3972940..d20337d 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -5,8 +5,10 @@ + - + + diff --git a/src/assets/img/movie-loader.mp4 b/src/assets/img/movie-loader.mp4 deleted file mode 100644 index bae8fba..0000000 Binary files a/src/assets/img/movie-loader.mp4 and /dev/null differ diff --git a/src/components/LoadingIcon.vue b/src/components/LoadingIcon.vue index 61c2865..9ebb6eb 100644 --- a/src/components/LoadingIcon.vue +++ b/src/components/LoadingIcon.vue @@ -7,14 +7,9 @@ class="flex absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2" loop muted + src="/assets/img/movie-loader.webm" type="video/webm" - > - - - + /> diff --git a/src/pages/schedule/index.vue b/src/pages/schedule/index.vue index 5890ad3..5a79a9a 100644 --- a/src/pages/schedule/index.vue +++ b/src/pages/schedule/index.vue @@ -1,18 +1,47 @@ @@ -78,7 +72,6 @@ const past_showings = defineModel("past_showings", { default: [], }); const loading = ref(true); -const loadingPrevious = ref(false); const got_previous = ref(false); const months = [ "January", @@ -103,9 +96,7 @@ const formatDate = function (date_string: string) { }; const getSchedule = async function (previous = false) { - if (previous) loadingPrevious.value = true; - else loading.value = true; - + loading.value = true; let config = useRuntimeConfig(); if (got_previous.value) { return false; @@ -133,7 +124,6 @@ const getSchedule = async function (previous = false) { schedule.value = data; } loading.value = false; - loadingPrevious.value = false; }) .catch((err) => { switch (err.statusCode) { @@ -143,7 +133,6 @@ const getSchedule = async function (previous = false) { break; case 404: alert("Unable to find schedule"); - navigateTo("/"); break; } });