diff --git a/frontend/src/App.vue b/frontend/src/App.vue index a555e46..9cff7a2 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -13,20 +13,9 @@ import ListSecrets from "./components/ListSecrets.vue"; Create Logout - Refresh + Refresh - -
- @@ -37,6 +26,7 @@ import ListSecrets from "./components/ListSecrets.vue";
+
{ const now = new Date(); const seconds = now.getSeconds(); const remainingTime = (seconds > 30 ? 60 : 30) - seconds; - // console.log(remainingTime); this.timerWidth = (remainingTime / 30) * 100; - if (remainingTime === 30) { - this.refresh(); - } }, 1000); }, }, @@ -161,7 +148,7 @@ export default { } .container { - margin-top: 0; + margin-top: 6vh; } .logoutBtn { @@ -189,6 +176,7 @@ export default { .logo { font-size: 1.3rem; font-weight: 700; + margin-left: 2vw; } .timer {