diff --git a/src/components/LandingPage.vue b/src/components/LandingPage.vue index 03f09a6f3..922a15dda 100644 --- a/src/components/LandingPage.vue +++ b/src/components/LandingPage.vue @@ -34,6 +34,7 @@ import { useStashStore } from "../stores/auras"; import type { Account, AddonConfig, AuraType, Version } from "../stores/config"; import { useConfigStore } from "../stores/config"; import About from "./UI/About.vue"; +import AppFooter from "./UI/AppFooter.vue"; import Aura from "./UI/Aura.vue"; import AuraHeaders from "./UI/AuraHeaders.vue"; import Config from "./UI/Config.vue"; @@ -55,7 +56,7 @@ type UpdaterEventArg = | { status: "checking-for-update" } | { status: "update-available"; updateInfo: UpdateInfo }; -interface Updater { +export interface Updater { status: string | null; progress: number | null; scheduleId: NodeJS.Timeout | null; @@ -94,6 +95,7 @@ export default defineComponent({ UIButton, Dropdown, StopMotion, + AppFooter, }, setup() { const config = useConfigStore(); @@ -690,112 +692,12 @@ export default defineComponent({ :wow-versions="versionOptions" /> - + @@ -1063,69 +965,4 @@ select { background-color: #e6e6e6; color: #010101; } - -.app-update { - float: right; - margin-right: 15px; - height: 25px; - position: relative; - bottom: 2px; -} - -.app-update .updating { - display: inline; -} - -.updating .icon { - animation: spin; - animation-duration: 3000ms; - animation-iteration-count: infinite; - animation-timing-function: linear; - animation-fill-mode: forwards; -} - -.updating .progress { - font-size: 14px; - font-weight: 500; - margin: auto; - vertical-align: middle; - position: relative; - bottom: 7px; -} - -.update-available { - animation: pulse 2s infinite; - cursor: pointer; - color: #51ae42 !important; -} - -@keyframes spin { - from { - transform: rotate(0deg); - } - - to { - transform: rotate(-360deg); - } -} - -@keyframes pulse { - 0% { - text-shadow: - 0 0 0 rgba(102, 255, 0, 1), - 0 0 0 rgba(255, 255, 255, 0.4); - } - - 70% { - text-shadow: - 0 0 40px rgba(102, 255, 0, 1), - 0 0 40px rgba(238, 255, 4, 0); - } - - 100% { - text-shadow: - 0 0 0 rgba(102, 255, 0, 1), - 0 0 0 rgba(255, 255, 255, 0); - } -} diff --git a/src/components/UI/AppFooter.vue b/src/components/UI/AppFooter.vue new file mode 100644 index 000000000..0ab039904 --- /dev/null +++ b/src/components/UI/AppFooter.vue @@ -0,0 +1,274 @@ + + + + + + +