feat(UI fix) - topbar link added to text

This commit is contained in:
2025-09-11 00:58:13 +05:30
parent 29ca3ed0a7
commit 5af720a16a

View File

@@ -8,7 +8,7 @@ import {
DropdownMenuSeparator, DropdownMenuSeparator,
DropdownMenuTrigger, DropdownMenuTrigger,
} from "@/components/ui/dropdown-menu"; } from "@/components/ui/dropdown-menu";
import { useLocation } from "wouter"; import { Link, useLocation } from "wouter";
import { NotificationsBell } from "@/components/layout/notification-bell"; import { NotificationsBell } from "@/components/layout/notification-bell";
import { SidebarTrigger } from "@/components/ui/sidebar"; import { SidebarTrigger } from "@/components/ui/sidebar";
@@ -27,6 +27,7 @@ export function TopAppBar() {
{/* both desktop + mobile triggers */} {/* both desktop + mobile triggers */}
<SidebarTrigger className="mr-2" /> <SidebarTrigger className="mr-2" />
<Link to="/dashboard">
<div className="p-4 border-gray-200 flex items-center space-x-2"> <div className="p-4 border-gray-200 flex items-center space-x-2">
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
@@ -47,6 +48,7 @@ export function TopAppBar() {
My Dental Office Management My Dental Office Management
</h1> </h1>
</div> </div>
</Link>
</div> </div>
<div className="flex items-center space-x-3"> <div className="flex items-center space-x-3">