mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-09-17 09:16:36 +08:00
chore: update button style
This commit is contained in:
parent
0df6d7a131
commit
5997fce454
@ -29,7 +29,7 @@ const Footer = () => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Segment vertical>
|
<Segment vertical>
|
||||||
<Container textAlign='center'>
|
<Container textAlign='center' style={{ color: '#666666' }}>
|
||||||
{footer ? (
|
{footer ? (
|
||||||
<div
|
<div
|
||||||
className='custom-footer'
|
className='custom-footer'
|
||||||
@ -37,10 +37,7 @@ const Footer = () => {
|
|||||||
></div>
|
></div>
|
||||||
) : (
|
) : (
|
||||||
<div className='custom-footer'>
|
<div className='custom-footer'>
|
||||||
<a
|
<a href='https://github.com/songquanpeng/one-api' target='_blank'>
|
||||||
href='https://github.com/songquanpeng/one-api'
|
|
||||||
target='_blank'
|
|
||||||
>
|
|
||||||
{systemName} {process.env.REACT_APP_VERSION}{' '}
|
{systemName} {process.env.REACT_APP_VERSION}{' '}
|
||||||
</a>
|
</a>
|
||||||
由{' '}
|
由{' '}
|
||||||
|
@ -177,7 +177,9 @@ const Header = () => {
|
|||||||
{renderButtons(true)}
|
{renderButtons(true)}
|
||||||
<Menu.Item>
|
<Menu.Item>
|
||||||
{userState.user ? (
|
{userState.user ? (
|
||||||
<Button onClick={logout}>注销</Button>
|
<Button onClick={logout} style={{ color: '#666666' }}>
|
||||||
|
注销
|
||||||
|
</Button>
|
||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
<Button
|
<Button
|
||||||
@ -250,6 +252,7 @@ const Header = () => {
|
|||||||
style={{
|
style={{
|
||||||
fontSize: '15px',
|
fontSize: '15px',
|
||||||
fontWeight: '400',
|
fontWeight: '400',
|
||||||
|
color: '#666',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
注销
|
注销
|
||||||
|
Loading…
Reference in New Issue
Block a user