style: login

This commit is contained in:
jialin
2024-07-08 14:46:33 +08:00
parent b753528e44
commit 01e9b70f6d
20 changed files with 178 additions and 40 deletions
+11
View File
@@ -0,0 +1,11 @@
// footer all styles
.footer {
position: fixed;
bottom: 0;
width: 100%;
background-color: transparent;
padding: 20px 0;
text-align: center;
font-size: var(--font-size-middle);
color: var(--color-text-2);
}
+24
View File
@@ -0,0 +1,24 @@
import { useIntl } from '@umijs/max';
import { Space } from 'antd';
import './index.less';
const Footer: React.FC = () => {
const intl = useIntl();
return (
<div className="footer">
<div className="footer-content">
<div className="footer-content-left">
<div className="footer-content-left-text">
<Space size={4}>
<span>&copy;</span>
<span> {new Date().getFullYear()}</span>
<span> {intl.formatMessage({ id: 'settings.company' })}</span>
</Space>
</div>
</div>
</div>
</div>
);
};
export default Footer;