diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 64697bb..f327e89 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -1,7 +1,7 @@ @@ -18,14 +18,6 @@ import MainNav from '@/components/MainNav.vue' import BuildServerStats from '@/components/BuildServerStats.vue' import Packages from '@/components/Packages.vue' -import { onMounted, ref } from 'vue' import CurrentlyBuilding from '@/components/CurrentlyBuilding.vue' -const contentWidth = ref(1440) -const offsetLeft = ref(0) - -onMounted(() => { - const innerWidth = window.innerWidth - offsetLeft.value = (innerWidth - contentWidth.value) / 2 -}) diff --git a/frontend/src/components/CurrentlyBuilding.vue b/frontend/src/components/CurrentlyBuilding.vue index 75e6121..08a4677 100644 --- a/frontend/src/components/CurrentlyBuilding.vue +++ b/frontend/src/components/CurrentlyBuilding.vue @@ -5,35 +5,40 @@ rounded style="border-radius: 10px; border: 2px solid grey" variant="elevated"> - - -
- Building - - -
- Idle - - - - + + + + +
+ Building + + + + +
+ Idle + + + + + + Last updated {{ lastUpdatedSeconds > 59 ? rtf.format(-Math.floor(lastUpdatedSeconds / 60), 'minutes') : rtf.format(-lastUpdatedSeconds, 'seconds') }} - - + + diff --git a/frontend/src/components/MainNav.vue b/frontend/src/components/MainNav.vue index 5010afc..275baa1 100644 --- a/frontend/src/components/MainNav.vue +++ b/frontend/src/components/MainNav.vue @@ -4,7 +4,9 @@ import BuildStats from '@/components/BuildStats.vue'