[WEB-1404] chore: auth improvements (#4553)
* chore: auth page logo and tab head title updated * chore: auth page logo and tab head title updated * chore: code refactor * chore: space app existing user auth validation
This commit is contained in:
parent
63a6be2143
commit
5381d0bc35
15 changed files with 123 additions and 46 deletions
|
|
@ -127,6 +127,8 @@ const UserInvitationsPage: NextPageWithLayout = observer(() => {
|
|||
});
|
||||
};
|
||||
|
||||
const logo = resolvedTheme === "light" ? BlackHorizontalLogo : WhiteHorizontalLogo;
|
||||
|
||||
return (
|
||||
<>
|
||||
<PageHead title="Invitations" />
|
||||
|
|
@ -135,11 +137,7 @@ const UserInvitationsPage: NextPageWithLayout = observer(() => {
|
|||
<div className="absolute left-0 top-1/2 h-[0.5px] w-full -translate-y-1/2 border-b-[0.5px] border-custom-border-200 sm:left-1/2 sm:top-0 sm:h-screen sm:w-[0.5px] sm:-translate-x-1/2 sm:translate-y-0 sm:border-r-[0.5px] md:left-1/3" />
|
||||
<div className="absolute left-5 top-1/2 grid -translate-y-1/2 place-items-center bg-custom-background-100 px-3 sm:left-1/2 sm:top-12 sm:-translate-x-[15px] sm:translate-y-0 sm:px-0 sm:py-5 md:left-1/3">
|
||||
<div className="h-[30px] w-[133px]">
|
||||
{resolvedTheme === "light" ? (
|
||||
<Image src={BlackHorizontalLogo} alt="Plane black logo" />
|
||||
) : (
|
||||
<Image src={WhiteHorizontalLogo} alt="Plane white logo" />
|
||||
)}
|
||||
<Image src={logo} alt="Plane logo" />
|
||||
</div>
|
||||
</div>
|
||||
<div className="absolute right-4 top-1/4 -translate-y-1/2 text-sm text-custom-text-100 sm:fixed sm:right-16 sm:top-12 sm:translate-y-0 sm:py-5">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue