fix: 修改样式
This commit is contained in:
parent
d01a381f9d
commit
42a2017dd6
@ -17,7 +17,7 @@ export default function Header() {
|
|||||||
const { user } = useGlobalStore();
|
const { user } = useGlobalStore();
|
||||||
const Logo = (
|
const Logo = (
|
||||||
<Link href='/' className='-mt-2.5 flex items-center gap-2 font-bold'>
|
<Link href='/' className='-mt-2.5 flex items-center gap-2 font-bold'>
|
||||||
<Image src={'image.png'} width={102} height={49} alt='logo' objectFit='cover' unoptimized />
|
<Image src={'image.png'} width={89} height={43} alt='logo' objectFit='cover' unoptimized />
|
||||||
</Link>
|
</Link>
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -26,7 +26,7 @@ export default function Header() {
|
|||||||
<>
|
<>
|
||||||
<header className='fixed top-10 z-50 w-full'>
|
<header className='fixed top-10 z-50 w-full'>
|
||||||
<div className={'container'}>
|
<div className={'container'}>
|
||||||
<div className='flex h-[60px] items-center justify-between rounded-[50px] bg-white pl-4 pr-3 md:pl-6'>
|
<div className='flex h-[60px] items-center justify-between rounded-[50px] bg-white pl-4 pr-[10px] md:pl-6'>
|
||||||
<nav className='flex-col gap-6 font-medium md:flex md:flex-row md:items-center md:gap-5 md:text-sm lg:gap-6'>
|
<nav className='flex-col gap-6 font-medium md:flex md:flex-row md:items-center md:gap-5 md:text-sm lg:gap-6'>
|
||||||
{Logo}
|
{Logo}
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
@ -53,7 +53,7 @@ export function UserNav({ from = '' }: { from?: string }) {
|
|||||||
src={user?.auth_methods?.[0]?.auth_identifier ?? ''}
|
src={user?.auth_methods?.[0]?.auth_identifier ?? ''}
|
||||||
className='object-cover'
|
className='object-cover'
|
||||||
/>
|
/>
|
||||||
<AvatarFallback className='text-background bg-[#0F2C53] bg-gradient-to-br text-3xl font-bold'>
|
<AvatarFallback className='text-background bg-[#0F2C53] bg-gradient-to-br text-[32px] font-bold leading-none'>
|
||||||
{user?.auth_methods?.[0]?.auth_identifier.toUpperCase().charAt(0)}
|
{user?.auth_methods?.[0]?.auth_identifier.toUpperCase().charAt(0)}
|
||||||
</AvatarFallback>
|
</AvatarFallback>
|
||||||
</Avatar>
|
</Avatar>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user