From c495266971e706d65cd36b37dbc7245d91083267 Mon Sep 17 00:00:00 2001 From: Saeed Abadiyan Date: Tue, 12 Aug 2025 18:09:11 +0330 Subject: [PATCH] fix brand in login page and somestyles --- app/components/auth/login-form.tsx | 6 +++--- app/components/auth/login-layout.tsx | 12 +++--------- public/brand.svg | 23 +++++++++++++++++++++++ public/brand2.svg | 9 +++++++++ 4 files changed, 38 insertions(+), 12 deletions(-) create mode 100644 public/brand.svg create mode 100644 public/brand2.svg diff --git a/app/components/auth/login-form.tsx b/app/components/auth/login-form.tsx index 2734939..f84c0eb 100644 --- a/app/components/auth/login-form.tsx +++ b/app/components/auth/login-form.tsx @@ -127,7 +127,7 @@ export function LoginForm({ onSuccess }: LoginFormProps) { @@ -213,8 +213,8 @@ export function LoginForm({ onSuccess }: LoginFormProps) { } + companyName="توسعه‌یافته توسط شرکت رهپویان دانش و فناوری فرا" + logo={} /> diff --git a/app/components/auth/login-layout.tsx b/app/components/auth/login-layout.tsx index 53b55bf..170ed0d 100644 --- a/app/components/auth/login-layout.tsx +++ b/app/components/auth/login-layout.tsx @@ -108,24 +108,18 @@ export function LoginBranding({
- {brandName.split("\n").map((line, index) => ( - - {line} - {index === 0 &&
} -
- ))} +
{/* Bottom Section */} -
+
+ {logo &&
{logo}
}
{companyName}
- {/* Logo */} - {logo &&
{logo}
}
); diff --git a/public/brand.svg b/public/brand.svg new file mode 100644 index 0000000..d3fb0d1 --- /dev/null +++ b/public/brand.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/brand2.svg b/public/brand2.svg new file mode 100644 index 0000000..2298187 --- /dev/null +++ b/public/brand2.svg @@ -0,0 +1,9 @@ + + + + + + + + +