Procházet zdrojové kódy

Fix functionality for clover login/reg buttons

Lee Morgan před 6 roky
rodič
revize
f3842ad8d2
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      views/landingPage/landing.ejs

+ 2 - 2
views/landingPage/landing.ejs

@@ -47,7 +47,7 @@
             <form onsubmit="registerObj.submit()">
                 <h1> Join Subline </h1>
 
-                <button class="button buttonWithBorder" onclick="registerObj.display()"> Sign Up with Clover </button>
+                <a class="button buttonWithBorder" href="/cloverlogin"> Sign Up with Clover </a>
 
                 <label id="nameLabel">Restaurant Name
                     <input class="input" id="regName" name="name" type="text" required>
@@ -89,7 +89,7 @@
             <form action="/login" method="post">
                 <h1> Welcome Back </h1>
 
-                <button class="button buttonWithBorder" onclick="loginObj.display()"> Sign In with Clover </button>
+                <a class="button buttonWithBorder" href="/cloverlogin"> Sign In with Clover </a>
         
                 <label>Email
                     <input type="text" name="email" type="email" required>