diff --git a/src/lib/components/studio/sidebarProject.svelte b/src/lib/components/studio/sidebarProject.svelte
index 822620eaa..2338c64d5 100644
--- a/src/lib/components/studio/sidebarProject.svelte
+++ b/src/lib/components/studio/sidebarProject.svelte
@@ -10,6 +10,7 @@
IconUserGroup
} from '@appwrite.io/pink-icons-svelte';
import { base } from '$app/paths';
+ import { isSmallViewport } from '$lib/stores/viewport';
export let project;
export let showChat;
@@ -21,28 +22,52 @@
+ leadingIcon={IconTemplate}
+ on:click={() => {
+ isOpen = false;
+ }}
+ >{#if $isSmallViewport}Builder{/if}
+ leadingIcon={IconUserGroup}
+ on:click={() => {
+ isOpen = false;
+ }}
+ >{#if $isSmallViewport}Auth{/if}
+ on:click={() => {
+ isOpen = false;
+ }}
+ leadingIcon={IconDatabase}
+ >{#if $isSmallViewport}Databases{/if}
+ on:click={() => {
+ isOpen = false;
+ }}
+ leadingIcon={IconAnnotation}
+ >{#if $isSmallViewport}Messaging{/if}
+ on:click={() => {
+ isOpen = false;
+ }}
+ leadingIcon={IconFolder}
+ >{#if $isSmallViewport}Storage{/if}
+ on:click={() => {
+ isOpen = false;
+ }}
+ leadingIcon={IconCog}
+ >{#if $isSmallViewport}Settings{/if}
{
+ isOpen = false;
showChat = !showChat;
}}>
@@ -55,11 +80,15 @@
top: 48px;
height: calc(100vh - 48px);
padding: var(--space-4);
- width: 52px;
- transform: translateX(-52px);
+ width: auto;
+ transform: translateX(-100%);
transition: transform 0.3s ease-in-out;
background-color: var(--bgcolor-neutral-default);
z-index: 10;
+
+ @media (min-width: 768px) {
+ width: 52px;
+ }
}
.isOpen {