调整支付页面样式;移除 mdx 测试页面

This commit is contained in:
2025-06-10 09:31:05 +08:00
parent eb12063bdb
commit 87621202a9
10 changed files with 13 additions and 72 deletions

View File

@@ -28,6 +28,7 @@ import {Label} from '@/components/ui/label'
import logo from '@/assets/logo.webp'
import bg from './_assets/bg.webp'
import {useProfileStore} from '@/components/providers/StoreProvider'
import Link from 'next/link'
export type LoginPageProps = {}
@@ -207,7 +208,9 @@ export default function LoginPage(props: LoginPageProps) {
)}>
<Image src={bg} alt="背景图" fill priority className="absolute -z-10 object-cover"/>
<Image src={logo} alt="logo" priority height={64} className="absolute top-8 left-8"/>
<Link href="/">
<Image src={logo} alt="logo" priority height={64} className="absolute top-8 left-8"/>
</Link>
{/* 登录表单 */}
<Card className="w-96 mx-4 shadow-lg">

View File

@@ -2,7 +2,6 @@
import {ReactNode} from 'react'
import {useLayoutStore} from '@/components/providers/StoreProvider'
import {merge} from '@/lib/utils'
import {Slot} from '@radix-ui/react-slot'
type AdminLayoutProps = {
navbar: ReactNode
@@ -71,8 +70,8 @@ export default function Layout(props: AdminLayoutProps) {
`transition-[margin] duration-300 ease-in-out`,
`absolute inset-0 overflow-hidden`,
`mt-[64px]`,
`md:data-[expand=true]:ml-[200px]`,
`md:data-[expand=false]:ml-[64px]`,
`md:ml-[64px]`,
`lg:data-[expand=true]:ml-[200px]`,
)}>
{props.content}
</div>

View File

@@ -1,10 +0,0 @@
import Qqwwee from '@/components/docs/qqwwee.mdx'
import Markdown from '@/components/markdown'
export default async function TestPage() {
return (
<Markdown>
<Qqwwee/>
</Markdown>
)
}