Files
web/src/app/(root)/@header/page.tsx

15 lines
359 B
TypeScript
Raw Normal View History

2025-03-28 15:00:46 +08:00
import Provider from '@/app/(root)/@header/_client/provider'
import UserCenter from '@/app/(root)/@header/_server/user-center'
2025-03-24 11:45:54 +08:00
2025-03-18 18:00:29 +08:00
export type HeaderProps = {}
2025-03-28 15:00:46 +08:00
export default async function Header(props: HeaderProps) {
2025-03-18 18:00:29 +08:00
return (
2025-03-28 15:00:46 +08:00
<header className={`fixed top-0 w-full z-10`}>
<Provider
userCenter={<UserCenter/>}
/>
</header>
2025-03-18 18:00:29 +08:00
)
}