[feat] dynamic page with latest stable release notes

This commit is contained in:
Purp1e
2025-03-27 21:13:59 +08:00
parent e29b48b98c
commit 4086fa88c2
4 changed files with 94 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
"use client"
import { cn, user } from "@heroui/react"
import { Home, MonitorOne, Movie, Setting, Terminal, Toolkit } from "@icon-park/react"
import { cn } from "@heroui/react"
import { Home, MonitorOne, Movie, NewspaperFolding, Setting, Terminal, Toolkit } from "@icon-park/react"
import { usePathname, useRouter } from "next/navigation"
import type { ReactNode } from "react"
import { getVersion } from "@tauri-apps/api/app"
@@ -90,12 +90,15 @@ const SideBar = () => {
</section>
<section
className="flex flex-col items-center justify-center h-full gap-5"
className="flex flex-col items-center justify-center h-full gap-5 pt-5"
data-tauri-drag-region
>
<SideButton route="/home">
<Home size={24} />
</SideButton>
<SideButton route="/dynamic">
<NewspaperFolding size={24} />
</SideButton>
<SideButton route="/tool">
<Toolkit size={24} />
</SideButton>