feat: 优化web

This commit is contained in:
2026-04-23 18:58:13 +08:00
commit 544a2f3428
160 changed files with 27327 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
'use client';
export function NavHeader({ onCloseMobile }: { onCloseMobile?: () => void }) {
return (
<div className="sticky top-0 flex items-center justify-between border-b border-neutral-100 bg-white px-3 py-0.5">
{onCloseMobile ? (
<button
type="button"
className="rounded p-1 text-neutral-500 hover:bg-neutral-100 md:hidden"
aria-label="关闭菜单"
onClick={onCloseMobile}
>
<span aria-hidden></span>
</button>
) : null}
</div>
);
}