260322:1648 Correct Coresspondence / Doing RFA / Correct CI
CI Pipeline / build (push) Failing after 12m41s
Build and Deploy / deploy (push) Failing after 2m44s

This commit is contained in:
admin
2026-03-22 16:48:12 +07:00
parent e5deedb42e
commit 11984bfa29
683 changed files with 105251 additions and 29068 deletions
+10 -17
View File
@@ -1,11 +1,11 @@
// File: components/layout/navbar.tsx
"use client";
'use client';
import Link from "next/link";
import { Menu, Bell } from "lucide-react";
import { Button } from "@/components/ui/button";
import { useUIStore } from "@/lib/stores/ui-store";
import { UserNav } from "./user-nav";
import _Link from 'next/link';
import { Menu, Bell } from 'lucide-react';
import { Button } from '@/components/ui/button';
import { useUIStore } from '@/lib/stores/ui-store';
import { UserNav } from './user-nav';
export function Navbar() {
const { toggleSidebar } = useUIStore();
@@ -13,21 +13,14 @@ export function Navbar() {
return (
<header className="flex h-14 items-center gap-4 border-b bg-background px-4 lg:h-[60px] lg:pr-6 lg:pl-1 sticky top-0 z-30">
{/* Toggle Sidebar Button (Mobile Only) */}
<Button
variant="outline"
size="icon"
className="shrink-0 md:hidden"
onClick={toggleSidebar}
>
<Button variant="outline" size="icon" className="shrink-0 md:hidden" onClick={toggleSidebar}>
<Menu className="h-5 w-5" />
<span className="sr-only">Toggle navigation menu</span>
</Button>
<div className="w-full flex-1">
{/* Breadcrumbs หรือ Search Bar จะมาใส่ตรงนี้ */}
<h1 className="text-lg font-semibold md:text-xl hidden md:block">
Document Management System
</h1>
<h1 className="text-lg font-semibold md:text-xl hidden md:block">Document Management System</h1>
</div>
{/* Right Actions (เหลือชุดเดียวที่ถูกต้อง) */}
@@ -36,10 +29,10 @@ export function Navbar() {
<Bell className="h-5 w-5" />
<span className="sr-only">Notifications</span>
</Button>
{/* User Menu */}
<UserNav />
</div>
</header>
);
}
}