From 393045f7c3bb14306580322cc7fe5d975baef917 Mon Sep 17 00:00:00 2001
From: strokh24 <Rokas.Stankunas@Student.Reutlingen-University.DE>
Date: Fri, 4 Oct 2024 18:49:49 +0200
Subject: [PATCH] Added redirection to login page

---
 public/register.html | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)

diff --git a/public/register.html b/public/register.html
index f78117c..88fcc6f 100644
--- a/public/register.html
+++ b/public/register.html
@@ -80,10 +80,24 @@
         opacity: 0;
         transition: opacity 0.6s ease;
       }
-
       .success_message.show {
         display: block;
         opacity: 1;
+      }
+	  .login-link {
+        text-align: center;
+        margin-top: 1.5rem;
+        font-size: 0.9rem;
+        color: #555;
+      }
+
+      .login-link a {
+        color: #007bff;
+        text-decoration: none;
+      }
+
+      .login-link a:hover {
+        text-decoration: underline;
       }
     </style>
   </head>
@@ -109,6 +123,10 @@
       </form>
       <span class="error_text"></span>
       <div class="success_message">Registration successful! Redirecting...</div>
+
+      <div class="login-link">
+        Already have an account? <a href="register.html">Log in</a>.
+      </div>
     </div>
   </body>
 </html>
-- 
GitLab