feat: 修改样式

This commit is contained in:
speakeloudest 2025-08-25 05:07:42 -07:00
parent 4a78aa6177
commit 1caab83b17
2 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@ export default async function Home() {
<LoginDialogProvider>
<Header />
<FullScreenVideoBackground />
<main className='fixed inset-0 z-10 flex items-center justify-center'>
<main className='fixed inset-0 flex items-center justify-center'>
<HomeContent />
</main>
<FooterCopyright />

View File

@ -47,13 +47,13 @@ export function UserNav({ from = '' }: { from?: string }) {
</div>
</div>
) : (
<Avatar className='h-14 w-14 cursor-pointer md:h-16 md:w-16'>
<Avatar className='aspect-square h-full w-auto cursor-pointer'>
<AvatarImage
alt={user?.avatar ?? ''}
src={user?.auth_methods?.[0]?.auth_identifier ?? ''}
className='object-cover'
/>
<AvatarFallback className='text-background bg-[#0F2C53] bg-gradient-to-br text-5xl font-bold'>
<AvatarFallback className='text-background bg-[#0F2C53] bg-gradient-to-br text-3xl font-bold'>
{user?.auth_methods?.[0]?.auth_identifier.toUpperCase().charAt(0)}
</AvatarFallback>
</Avatar>