)
}
function LinkItem(props: {
text: string
href: string
}) {
return (
{props.text}
)
}
function MenuItem(props: {
text: string
active: boolean
} & ComponentProps<'button'>) {
return (
)
}
function ProfileOrLogin() {
const profile = use(useProfileStore(store => store.profile))
return (
{profile == null
? (
<>
登录
注册
>
)
: (
)
}
)
}