From 798ff0fbe406a2f9a7f725b55edfb5a3121a0569 Mon Sep 17 00:00:00 2001 From: Sonny Date: Fri, 8 Nov 2024 18:32:02 +0100 Subject: [PATCH] feat: add kbd with shortcut for create collection/link forms --- inertia/components/dashboard/dashboard_navbar.tsx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/inertia/components/dashboard/dashboard_navbar.tsx b/inertia/components/dashboard/dashboard_navbar.tsx index 636f704..fc6cb44 100644 --- a/inertia/components/dashboard/dashboard_navbar.tsx +++ b/inertia/components/dashboard/dashboard_navbar.tsx @@ -5,6 +5,7 @@ import { Burger, Divider, Group, + Kbd, NavLink, rem, ScrollArea, @@ -51,7 +52,7 @@ export function DashboardNavbar({ isOpen, toggle }: DashboardNavbarProps) { } color="var(--mantine-color-red-5)" @@ -62,25 +63,29 @@ export function DashboardNavbar({ isOpen, toggle }: DashboardNavbarProps) { label={t('settings')} leftSection={} color="var(--mantine-color-text)" + disabled /> } + disabled /> } + rightSection={C} /> } + rightSection={L} />