From 5a1730450de897f215153ca92a72f674874c08e9 Mon Sep 17 00:00:00 2001 From: ItzNotABug Date: Mon, 23 Sep 2024 19:02:04 +0530 Subject: [PATCH 01/14] add: `new` tag. --- src/lib/layouts/Sidebar.svelte | 1 + src/lib/layouts/SidebarNavButton.svelte | 14 ++++++++++---- src/routes/docs/products/databases/+layout.svelte | 5 +++++ 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/src/lib/layouts/Sidebar.svelte b/src/lib/layouts/Sidebar.svelte index e2653be3b2..09224238a4 100644 --- a/src/lib/layouts/Sidebar.svelte +++ b/src/lib/layouts/Sidebar.svelte @@ -3,6 +3,7 @@ label: string; href: string; icon?: string; + new?: boolean; isParent?: boolean; }; diff --git a/src/lib/layouts/SidebarNavButton.svelte b/src/lib/layouts/SidebarNavButton.svelte index 215b84d1b4..ad3a958690 100644 --- a/src/lib/layouts/SidebarNavButton.svelte +++ b/src/lib/layouts/SidebarNavButton.svelte @@ -13,14 +13,20 @@ {#if groupItem.icon}