mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-23 15:06:50 +08:00
### What problem does this PR solve? feat: change all file names to lowercase #1574 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
48 lines
1.4 KiB
TypeScript
48 lines
1.4 KiB
TypeScript
import { ReactComponent as Avatars } from '@/assets/svg/login-avatars.svg';
|
|
import SvgIcon from '@/components/svg-icon';
|
|
import { Flex, Rate, Space, Typography } from 'antd';
|
|
import classNames from 'classnames';
|
|
|
|
import { useTranslate } from '@/hooks/common-hooks';
|
|
import styles from './index.less';
|
|
|
|
const { Title, Text } = Typography;
|
|
|
|
const LoginRightPanel = () => {
|
|
const { t } = useTranslate('login');
|
|
return (
|
|
<section className={styles.rightPanel}>
|
|
<SvgIcon name="login-star" width={80}></SvgIcon>
|
|
<Flex vertical gap={40}>
|
|
<Title
|
|
level={1}
|
|
className={classNames(styles.white, styles.loginTitle)}
|
|
>
|
|
{t('title')}
|
|
</Title>
|
|
<Text className={classNames(styles.pink, styles.loginDescription)}>
|
|
{t('description')}
|
|
</Text>
|
|
<Flex align="center" gap={16}>
|
|
<Avatars></Avatars>
|
|
<Flex vertical>
|
|
<Space>
|
|
<Rate disabled defaultValue={5} />
|
|
<span
|
|
className={classNames(styles.white, styles.loginRateNumber)}
|
|
>
|
|
5.0
|
|
</span>
|
|
</Space>
|
|
<span className={classNames(styles.pink, styles.loginRateReviews)}>
|
|
{t('review')}
|
|
</span>
|
|
</Flex>
|
|
</Flex>
|
|
</Flex>
|
|
</section>
|
|
);
|
|
};
|
|
|
|
export default LoginRightPanel;
|