mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-19 20:34:45 +08:00
feat: link to home page
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
"use client";
|
||||
|
||||
import Link from "next/link";
|
||||
|
||||
import { SidebarTrigger, useSidebar } from "@/components/ui/sidebar";
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
export function WorkspaceHeader({ className }: { className?: string }) {
|
||||
const { state } = useSidebar();
|
||||
return (
|
||||
<Link href="/workspace">
|
||||
<div
|
||||
className={cn(
|
||||
"group/workspace-header flex h-15 flex-col justify-center",
|
||||
@@ -26,5 +29,6 @@ export function WorkspaceHeader({ className }: { className?: string }) {
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</Link>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user