"use client" import { cn } from "@/lib/utils" import { TopHeader } from "./interface/top-header" import { LeftMenu } from "./interface/left-menu" import { useStore } from "./state/useStore" import { HomeView } from "./views/home-view" import { PublicChannelsView } from "./views/public-channels-view" import { UserChannelsView } from "./views/user-channels-view" import { PublicChannelView } from "./views/public-channel-view" import { UserChannelView } from "./views/user-channel-view" import { PublicVideoView } from "./views/public-video-view" import { UserAccountView } from "./views/user-account-view" export function Main() { const view = useStore(s => s.view) const headerMode = useStore(s => s.headerMode) return (