feat(UI fix) - topbar link added to text
This commit is contained in:
@@ -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,26 +27,28 @@ export function TopAppBar() {
|
|||||||
{/* both desktop + mobile triggers */}
|
{/* both desktop + mobile triggers */}
|
||||||
<SidebarTrigger className="mr-2" />
|
<SidebarTrigger className="mr-2" />
|
||||||
|
|
||||||
<div className="p-4 border-gray-200 flex items-center space-x-2">
|
<Link to="/dashboard">
|
||||||
<svg
|
<div className="p-4 border-gray-200 flex items-center space-x-2">
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
<svg
|
||||||
viewBox="0 0 24 24"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
fill="none"
|
viewBox="0 0 24 24"
|
||||||
stroke="currentColor"
|
fill="none"
|
||||||
strokeWidth="2"
|
stroke="currentColor"
|
||||||
strokeLinecap="round"
|
strokeWidth="2"
|
||||||
strokeLinejoin="round"
|
strokeLinecap="round"
|
||||||
className="h-5 w-5 text-primary"
|
strokeLinejoin="round"
|
||||||
>
|
className="h-5 w-5 text-primary"
|
||||||
<path d="M12 14c-1.65 0-3-1.35-3-3V5c0-1.65 1.35-3 3-3s3 1.35 3 3v6c0 1.65-1.35 3-3 3Z" />
|
>
|
||||||
<path d="M19 14v-4a7 7 0 0 0-14 0v4" />
|
<path d="M12 14c-1.65 0-3-1.35-3-3V5c0-1.65 1.35-3 3-3s3 1.35 3 3v6c0 1.65-1.35 3-3 3Z" />
|
||||||
<path d="M12 19c-5 0-8-2-9-5.5m18 0c-1 3.5-4 5.5-9 5.5Z" />
|
<path d="M19 14v-4a7 7 0 0 0-14 0v4" />
|
||||||
</svg>
|
<path d="M12 19c-5 0-8-2-9-5.5m18 0c-1 3.5-4 5.5-9 5.5Z" />
|
||||||
|
</svg>
|
||||||
|
|
||||||
<h1 className="text-lg font-medium text-primary">
|
<h1 className="text-lg font-medium text-primary">
|
||||||
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">
|
||||||
|
|||||||
Reference in New Issue
Block a user