Compare commits

...

4 Commits

Author SHA1 Message Date
ChineseChikki 5b201ee333 invalid credential change 2023-01-26 17:45:15 +01:00
tokslaw 3b1d312cb3 Merge branch 'task-8-line-below-text-create-account' of MyFit/users-myfit into master 2023-01-26 16:14:54 +00:00
tokslaw 2d349c6d5d Merge branch 'task-8-line-below-text-login' of MyFit/users-myfit into master 2023-01-26 16:11:09 +00:00
ChineseChikki 048b89d801 Line-Adjustment 2023-01-26 14:20:24 +01:00
+4 -5
View File
@@ -57,7 +57,7 @@ export default function Login() {
<h1 className="text-5xl font-bold leading-[74px] text-dark-gray dark:text-white">
Log In
</h1>
<div className="shape -mt-2">
<div className="shape mb-[10px]">
<img src={titleShape} alt="shape" />
</div>
</div>
@@ -122,9 +122,8 @@ export default function Login() {
<button
onClick={doLogin}
type="button"
className={`btn-login rounded-[50px] mb-6 text-xl text-white font-bold flex justify-center bg-purple items-center ${
loginLoading ? "active" : ""
}`}
className={`btn-login rounded-[50px] mb-6 text-xl text-white font-bold flex justify-center bg-purple items-center ${loginLoading ? "active" : ""
}`}
>
{loginLoading ? (
<div className="signup btn-loader"></div>
@@ -133,7 +132,7 @@ export default function Login() {
)}
</button>
</div>
{loginError && <p class="text-center text-red-600 pb-4">Invalid Credential</p>}
{loginError && <p class="text-center text-red-700 pb-4">Invalid username or password</p>}
<a
href="#"
className="w-full border border-light-purple dark:border-[#5356fb29] rounded-[50px] h-[58px] flex justify-center bg-[#FAFAFA] dark:bg-[#11131F] items-center"