Separate official website page

This commit is contained in:
2023-12-28 17:50:26 +08:00
parent 81d6f0ac29
commit 0b8df09336
33 changed files with 125 additions and 980 deletions

View File

@@ -8,7 +8,7 @@ const FullscreenLoadingMask: React.FC = () => {
const loadingIcon = (
<>
<Icon
component={IconFatwebLoading}
component={IconOxygenLoading}
style={{ fontSize: 24, color: COLOR_FONT_MAIN }}
spin
/>

View File

@@ -11,7 +11,7 @@ const LoadingMask: React.FC<LoadingMaskProps> = (props) => {
const loadingIcon = (
<>
<Icon
component={IconFatwebLoading}
component={IconOxygenLoading}
style={{ fontSize: 24, color: COLOR_FONT_MAIN }}
spin
/>

View File

@@ -33,7 +33,7 @@ const SidebarFooter: React.FC = () => {
removeToken()
notification.info({
message: '已退出登录',
icon: <Icon component={IconFatwebExit} style={{ color: COLOR_ERROR }} />
icon: <Icon component={IconOxygenExit} style={{ color: COLOR_ERROR }} />
})
setTimeout(() => {
window.location.reload()
@@ -65,7 +65,7 @@ const SidebarFooter: React.FC = () => {
{avatar ? (
<img src={avatar} alt={'Avatar'} />
) : (
<Icon viewBox={'-20 0 1024 1024'} component={IconFatwebUser} />
<Icon viewBox={'-20 0 1024 1024'} component={IconOxygenUser} />
)}
</span>
<span hidden={getLoginStatus()} className={'text'}>
@@ -84,7 +84,7 @@ const SidebarFooter: React.FC = () => {
<div className={'content'}>
<span hidden={!getLoginStatus()} className={'icon-exit'} onClick={handleLogout}>
<Icon
component={exiting ? IconFatwebLoading : IconFatwebExit}
component={exiting ? IconOxygenLoading : IconOxygenExit}
spin={exiting}
/>
</span>

View File

@@ -29,7 +29,7 @@ const Sidebar: React.FC<SidebarProps> = (props) => {
>
<div className={'title'}>
<span className={'icon-box'} onClick={switchSidebar}>
<Icon component={IconFatwebExpand} />
<Icon component={IconOxygenExpand} />
</span>
<span className={'text'}>{props.title}</span>
</div>