This commit is contained in:
2026-05-11 00:32:03 +08:00
parent 2535bec2ed
commit 10022ae048
32 changed files with 2450 additions and 203 deletions
+9 -73
View File
@@ -5,7 +5,6 @@ import type { SidebarProps } from "@/components/ui/sidebar";
import {
BookOpen,
Bot,
Command,
// Frame,
LifeBuoy,
// Map,
@@ -58,78 +57,19 @@ const data = {
navMain: [
{
title: "计算器",
url: "#",
url: "/dcalc/dnfhelper",
icon: Bot,
isActive: true,
onClick: () => {
console.log("Playground clicked");
},
},
{
title: "名望数据",
url: "#",
icon: SquareTerminal,
// items: [
// {
// title: "Genesis",
// url: "#",
// },
// {
// title: "Explorer",
// url: "#",
// },
// {
// title: "Quantum",
// url: "#",
// },
// ],
},
{
title: "职业数据",
url: "#",
title: "技能数据",
url: "/dcalc/character/swordman_male/skill",
icon: BookOpen,
// items: [
// {
// title: "Introduction",
// url: "#",
// },
// {
// title: "Get Started",
// url: "#",
// },
// {
// title: "Tutorials",
// url: "#",
// },
// {
// title: "Changelog",
// url: "#",
// },
// ],
},
// {
// title: "Settings",
// url: "#",
// icon: Settings2,
// items: [
// {
// title: "General",
// url: "#",
// },
// {
// title: "Team",
// url: "#",
// },
// {
// title: "Billing",
// url: "#",
// },
// {
// title: "Limits",
// url: "#",
// },
// ],
// },
{
title: "装备词典",
url: "/dcalc/character/swordman_male/equipment",
icon: SquareTerminal,
},
],
navSecondary: [
{
@@ -171,11 +111,7 @@ const data = {
<div class="flex items-center gap-2 group-data-[collapsible=icon]:justify-center">
<SidebarMenuButton size="lg" as-child class="group-data-[collapsible=icon]:hidden">
<a href="#">
<div
class="bg-sidebar-primary text-sidebar-primary-foreground flex aspect-square size-8 items-center justify-center rounded-lg"
>
<Command class="size-4" />
</div>
<img src="/favicon.ico" alt="DNF Tools" class="size-10 rounded-sm object-cover" />
<div class="grid flex-1 text-left text-sm leading-tight">
<span class="truncate font-medium">DNF Tools</span>
<span class="truncate text-xs">DNF工具集</span>