登录界面优化

This commit is contained in:
ryan
2026-06-12 11:00:26 +08:00
parent d9df78d2c7
commit 6a1f89936e
13 changed files with 474 additions and 353 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 KiB

+31
View File
@@ -0,0 +1,31 @@
import {ImageResponse} from 'next/og'
import {WavesIcon} from 'lucide-react'
export const size = {
width: 32,
height: 32,
}
export const contentType = 'image/png'
export default function Icon() {
return new ImageResponse(
(
<div
style={{
background: 'black',
width: '100%',
height: '100%',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
borderRadius: '20%',
}}
>
<WavesIcon color="white" size={20} />
</div>
),
{
...size,
}
)
}
+2
View File
@@ -6,6 +6,7 @@ import {BellRingProvider} from "@/contexts/bell-ring-context";
import {NotificationSettingsProvider} from "@/contexts/notification-settings-context";
import {UserProvider} from "@/contexts/user-context";
import {AppQueryProvider} from "@/components/providers/query-provider";
import {SiteTitleUpdater} from "@/components/providers/title-updater";
import {RobotsMeta} from "@/components/layout/robots-meta";
import "./globals.css";
@@ -36,6 +37,7 @@ export default function RootLayout({
>
<CustomThemeProvider>
<AppQueryProvider>
<SiteTitleUpdater />
<RobotsMeta />
<UserProvider>
<NotificationSettingsProvider>