Skip to content

Commit

Permalink
adjust the bg better and fix interaction with the dropzone
Browse files Browse the repository at this point in the history
  • Loading branch information
Anchel123 committed Jan 23, 2025
1 parent 9bd266a commit e509ef4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/components/ui/Dropzone.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function Dropzone({ filesCount = false, className = "", withTable = false, disab
<ArrowDownToLine color='#57577B' />
<span>Or <span className='text-[#7167F6]'>Browse</span></span>
</div>
: <p className={cn('underline underline-offset-2 text-[#99E4E5]', disabled && "opacity-30")}>Upload Certificate</p>
: <p className={cn('underline underline-offset-2 text-[#99E4E5]', disabled ? "opacity-30 cursor-text" : "cursor-pointer")}>Upload Certificate</p>
}
</div>
{
Expand Down
8 changes: 3 additions & 5 deletions app/login/LoginForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,10 @@ export default function LoginForm() {
}

return (
<div className="relative h-full w-full bg-foreground flex flex-col">
<div className="relative h-full w-full flex flex-col">
<div className="grow flex items-center justify-center">
<div className="flex flex-col gap-8 items-center">
<div className="bg-foreground">
<Image priority src="/BrowserLogo.svg" alt="Loading..." width={500} height={1} />
</div>
<Image priority src="/BrowserLogo.svg" alt="Loading..." width={500} height={1} />
<FormComponent
fields={fields}
handleSubmit={onSubmit}
Expand All @@ -144,7 +142,7 @@ export default function LoginForm() {
</FormComponent>
</div>
</div>
<div className="h-5 Top" />
<div className="h-5 Gradient" />
</div>
);
}

0 comments on commit e509ef4

Please sign in to comment.