mirror of
https://github.com/aykhans/slash-e.git
synced 2025-07-06 21:22:36 +00:00
feat: update logo
This commit is contained in:
@ -6,7 +6,6 @@ import * as api from "../helpers/api";
|
||||
import { userService } from "../services";
|
||||
import { useAppSelector } from "../stores";
|
||||
import useLoading from "../hooks/useLoading";
|
||||
import Icon from "../components/Icon";
|
||||
|
||||
const SignIn: React.FC = () => {
|
||||
const navigate = useNavigate();
|
||||
@ -59,12 +58,9 @@ const SignIn: React.FC = () => {
|
||||
<div className="flex flex-row justify-center items-center w-full h-screen bg-white">
|
||||
<div className="w-80 max-w-full h-full py-4 flex flex-col justify-start items-center">
|
||||
<div className="w-full py-4 grow flex flex-col justify-center items-center">
|
||||
<div className="flex flex-row justify-start items-center w-full mb-4">
|
||||
<img src="/logo.png" className="w-14 h-auto mr-1" alt="" />
|
||||
<div className="text-3xl font-medium font-mono flex flex-row justify-start items-center">
|
||||
Shortify
|
||||
{actionBtnLoadingState.isLoading && <Icon.Loader className="ml-2 w-5 h-auto animate-spin" />}
|
||||
</div>
|
||||
<div className="flex flex-col justify-start items-center w-full gap-y-2 mb-4">
|
||||
<img src="/logo.png" className="w-16 h-auto" alt="logo" />
|
||||
<span className="text-2xl font-medium font-mono opacity-80">Shortify</span>
|
||||
</div>
|
||||
<form className="w-full" onSubmit={handleSigninBtnClick}>
|
||||
<div className={`flex flex-col justify-start items-start w-full ${actionBtnLoadingState.isLoading ? "opacity-80" : ""}`}>
|
||||
@ -88,6 +84,7 @@ const SignIn: React.FC = () => {
|
||||
className="w-full"
|
||||
type="submit"
|
||||
color="primary"
|
||||
loading={actionBtnLoadingState.isLoading}
|
||||
disabled={actionBtnLoadingState.isLoading || !allowConfirm}
|
||||
onClick={handleSigninBtnClick}
|
||||
>
|
||||
|
Reference in New Issue
Block a user