diff --git a/src/lib/components/sidebar.svelte b/src/lib/components/sidebar.svelte index 002c31164..98aba3286 100644 --- a/src/lib/components/sidebar.svelte +++ b/src/lib/components/sidebar.svelte @@ -12,7 +12,8 @@ Button, Layout, Avatar, - Typography + Typography, + Badge } from '@appwrite.io/pink-svelte'; import { @@ -77,7 +78,7 @@ { name: 'Functions', icon: IconLightningBolt, slug: 'functions', category: 'build' }, { name: 'Messaging', icon: IconChatBubble, slug: 'messaging', category: 'build' }, { name: 'Storage', icon: IconFolder, slug: 'storage', category: 'build' }, - { name: 'Sites', icon: IconGlobeAlt, slug: 'sites', category: 'deploy' } + { name: 'Sites', icon: IconGlobeAlt, slug: 'sites', category: 'deploy', badge: 'New' } ]; @@ -208,14 +209,23 @@ on:click={() => { trackEvent(`click_menu_${projectOption.slug}`); sideBarIsOpen = false; - }} - > - + + + + {projectOption.name} + class="link-text"> + {projectOption.name} + {#if projectOption?.badge} + + {/if} + + {projectOption.name} {/each}