refactor(sidebar): comment out user info section and membership option

This commit is contained in:
2026-06-17 17:30:16 +08:00
parent 67d0bd5cd0
commit f0b5275c55
+7 -7
View File
@@ -76,7 +76,7 @@ export function SidebarScreen() {
<div className={styles.shell}>
<BackBar />
{/* 用户信息区:三种状态 */}
{/* 用户信息区:三种状态
<section className={styles.userSlot}>
<UserHeader
state={sidebarState}
@@ -100,18 +100,18 @@ export function SidebarScreen() {
totalMinutes={0}
onBuyPackage={() => router.push(ROUTES.subscription)}
/>
</section>
</section> */}
{sidebarState !== "guest" ? (
<section className={styles.settingsSlot}>
<SettingsSection
title="Other"
items={[
{
id: "membership",
title: "Membership",
onClick: () => router.push(ROUTES.subscription),
},
// {
// id: "membership",
// title: "Membership",
// onClick: () => router.push(ROUTES.subscription),
// },
{
id: "logout",
title: "Log out",