From ba54dd4bc9fb40f2b0d7f4c541c48a8aac2c43c0 Mon Sep 17 00:00:00 2001 From: hyzen Date: Wed, 10 Jun 2026 16:51:40 +0530 Subject: [PATCH] Remove: login/signup page footers if user is already logged in --- docs/login/index.html | 2 +- docs/signup/index.html | 2 +- layouts/login/single.html | 3 ++- layouts/signup/single.html | 3 ++- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/login/index.html b/docs/login/index.html index bd3b3c2..be13b1e 100644 --- a/docs/login/index.html +++ b/docs/login/index.html @@ -12,4 +12,4 @@ \ No newline at end of file + \ No newline at end of file diff --git a/docs/signup/index.html b/docs/signup/index.html index 09f8dad..5197436 100644 --- a/docs/signup/index.html +++ b/docs/signup/index.html @@ -24,4 +24,4 @@ -

\ No newline at end of file +

\ No newline at end of file diff --git a/layouts/login/single.html b/layouts/login/single.html index 3be256c..5e2cba6 100644 --- a/layouts/login/single.html +++ b/layouts/login/single.html @@ -82,7 +82,7 @@ - @@ -98,6 +98,7 @@ document.getElementById('auth-message').className = 'auth-message auth-message--success is-visible'; document.getElementById('login-form').style.display = 'none'; + document.getElementById('login-footer').style.display = 'none'; return; } diff --git a/layouts/signup/single.html b/layouts/signup/single.html index 00e32a6..57d05c5 100644 --- a/layouts/signup/single.html +++ b/layouts/signup/single.html @@ -165,7 +165,7 @@ - @@ -181,6 +181,7 @@ document.getElementById('auth-message').className = 'auth-message auth-message--success is-visible'; document.getElementById('signup-form').style.display = 'none'; + document.getElementById('signup-footer').style.display = 'none'; return; }