瀏覽代碼

Fix functionality for clover login/reg buttons

Lee Morgan 6 年之前
父節點
當前提交
f3842ad8d2
共有 1 個文件被更改,包括 2 次插入2 次删除
  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>