MSP-3550 add Layout from antd in LoginPage for dark theme

This commit is contained in:
Anastasiia committed 2024-07-01 16:50:33 +07:00
1 parent b4abdc9e10
commit 5c685c2c3d
2 files changed
+5 -3

No files matched your search

+2 -2
View File
@@ -5,8 +5,8 @@ $text-size: 1rem;
$text-size-header1: 1.7rem;
$text-size-header2: 1.25rem;
$text-color-gray: var(--ant-primary-color);
$background-color: #F0F2F5;
$text-color-gray: var(--ant-layout-header-color);
$background-color: var(--ant-layout-light-sider-bg);
$grey: #606060;
$border-color: var(--ant-color-border);
$error-red: #cf1322;
+3 -1
View File
@@ -1,5 +1,5 @@
import { LockOutlined, UserOutlined } from '@ant-design/icons'
import { Button, Divider } from 'antd'
import { Button, Divider, Layout } from 'antd'
import { AxiosError } from 'axios'
import { FormComponents, useAuth } from 'isp-ui-kit'
import { useForm } from 'react-hook-form'
@@ -105,6 +105,7 @@ const LoginPage = () => {
}
return (
<Layout>
<section className="login-page">
<form className="login-page__content">
<h1 data-cy="login-title" className="login-page__content__title">
@@ -114,6 +115,7 @@ const LoginPage = () => {
{renderInternalAuthForm()}
</form>
</section>
</Layout>
)
}