"use client"; /** * 门户统一顶栏:logo 回首页 + 右侧操作(主题 / 语言等) * 视觉对齐 VIP 顶栏:粘性、毛玻璃、移动端友好热区 */ import Link from "next/link"; import type { ReactNode } from "react"; import styles from "./portal-topbar.module.css"; function LogoMark() { return ( ); } export function PortalTopBar({ section, actions, tone = "default", }: { /** 右侧区块名,如「小册」 */ section?: string; actions?: ReactNode; /** cover:叠在电子书封面渐变上 */ tone?: "default" | "cover"; }) { return (
nomadro {section ? ( <> · {section} ) : null}
{actions}
); }