Skip to content

Commit 1bd1fcd

Browse files
feat: update PublicLayout and Login components with new styles and text
1 parent e89520a commit 1bd1fcd

4 files changed

Lines changed: 6 additions & 5 deletions

File tree

UIs/Merchants/src/app/layouts/public/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Outlet } from 'react-router';
33
export function PublicLayout() {
44
return (
55
<div className="min-h-screen flex items-center justify-center ">
6-
<main className="w-full max-w-md bg-white ring-1 ring-zinc-200 dark:bg-zinc-700 dark:ring-1 dark:ring-zinc-600 p-6 rounded-lg shadow">
6+
<main className="w-full max-w-md p-6">
77
<Outlet />
88
</main>
99
</div>

UIs/Merchants/src/features/auth/components/login-form/header.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ export function LoginHeader() {
77
<AppLogo className="w-64" />
88
</div>
99

10-
<h1 className="text-xl font-bold">Faça login na sua conta.</h1>
10+
<h1 className="text-xl font-bold">OS PEDIDOS TE ESPERAM</h1>
1111

1212
<div className="text-center text-sm">
1313
Não possui uma conta?{' '}
1414
<a href="/" className="underline underline-offset-4">
15-
Contate o adminstrador
15+
Entre para o beta gratuito
1616
</a>
1717
</div>
1818
</div>

UIs/Merchants/src/features/auth/components/login-form/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export function LoginForm() {
4141
<SubmitingButton
4242
label="Acessar"
4343
state={isPending}
44-
className="bg-red-700 text-white font-bold hover:bg-red-800"
44+
className="bg-primary text-primary-foreground font-bold hover:bg-primary/90"
4545
/>
4646
</div>
4747
</div>

UIs/Merchants/src/shared/components/global/logo/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { cn } from '@/shared/utils';
2+
import logo from "../../../../assets/logo.png";
23

34
interface AppLogoProps {
45
className?: string;
@@ -7,7 +8,7 @@ interface AppLogoProps {
78
export function AppLogo({ className }: AppLogoProps) {
89
return (
910
<img
10-
src={""}
11+
src={logo}
1112
width={420}
1213
height={400}
1314
className={cn('w-full', className)}

0 commit comments

Comments
 (0)