From 8b9b903ad5c9f5cb34e853787701c21855b191fe Mon Sep 17 00:00:00 2001 From: gourav Date: Sun, 16 Jun 2024 15:01:07 +0530 Subject: [PATCH] style changes and no longer calls APIs to update OTP --- frontend/src/App.vue | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) 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 {