This commit is contained in:
ditiqi 2025-02-23 22:51:31 +08:00
parent 3070e18858
commit c1941145a6
1 changed files with 0 additions and 47 deletions

View File

@ -1,47 +0,0 @@
import { NavBar } from "@web/src/components/presentation/NavBar";
import { HomeIcon, BellIcon } from "@heroicons/react/24/outline";
import {
DocumentTextIcon,
MagnifyingGlassIcon,
StarIcon,
} from "@heroicons/react/24/solid";
export default function CourseDetailNavBar() {
const navItems = [
{
id: "search",
icon: <MagnifyingGlassIcon className="w-5 h-5" />,
label: "搜索",
},
{
id: "overview",
icon: <HomeIcon className="w-5 h-5" />,
label: "概述",
},
{
id: "notes",
icon: <DocumentTextIcon className="w-5 h-5" />,
label: "备注",
},
{
id: "announcements",
icon: <BellIcon className="w-5 h-5" />,
label: "公告",
},
{
id: "reviews",
icon: <StarIcon className="w-5 h-5" />,
label: "评价",
},
];
return (
<div className=" bg-gray-50">
<NavBar
items={navItems}
defaultSelected="overview"
onSelect={(id) => console.log("Selected:", id)}
/>
</div>
);
}