]> git.ipfire.org Git - pbs.git/commitdiff
frontend: Bring back the footer
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 21 Jun 2025 09:54:09 +0000 (09:54 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 21 Jun 2025 09:54:09 +0000 (09:54 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
frontend/src/App.vue
frontend/src/assets/main.scss

index 84d56491f35f5d69be09309107eced5e4aad38c7..a209e32efc9d6a617691877cd0b6823ecbbf13f1 100644 (file)
@@ -4,6 +4,9 @@
        // Authentication
        import { useAuth } from "@/composables/auth";
        const auth = useAuth();
+
+       // Current Timestamp
+       const now = new Date();
 </script>
 
 <template>
                </div>
        </nav>
 
-       <RouterView />
+       <div class="is-flex-grow-1 is-flex-shrink-0">
+               <RouterView />
+       </div>
+
+       <footer class="footer is-flex-shrink-0">
+               <Container>
+                       <div class="content has-text-centered">
+                               <p>
+                                       &copy; {{ now.getFullYear() }} - Pakfire Build Service
+                               </p>
+                       </div>
+               </Container>
+       </footer>
 </template>
index f73a1121c8af2c4adf73cb1c487c4b8446f33c81..b7d4988f6ba7a99c98f6ffb23e4315e6559ae11d 100644 (file)
@@ -16,6 +16,15 @@ $primary:                                    #ff2e52;
        $primary : $primary,
 );
 
+html, body, #app {
+       min-height: 100vh;
+}
+
+#app {
+       display: flex;
+       flex-direction: column;
+}
+
 /*
        Fonts