Let the sidebar collapse to an icon rail with a logo-and-profile cap.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-09 17:51:40 +03:30
co-authored by Cursor
parent 3ec87ff912
commit 51684daa61
2 changed files with 544 additions and 76 deletions
+7 -1
View File
@@ -57,7 +57,8 @@ defineProps<{
| 'apps-plus'
| 'crown'
| 'gift'
| 'medal';
| 'medal'
| 'logout';
size?: number;
}>();
</script>
@@ -340,6 +341,11 @@ defineProps<{
<circle cx="12" cy="9" r="2.3" />
<path d="m9.1 13.6-1.4 6.2 4.3-2.3 4.3 2.3-1.4-6.2" />
</template>
<template v-else-if="name === 'logout'">
<path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4" />
<path d="M16 17l5-5-5-5" />
<path d="M21 12H9" />
</template>
</svg>
</template>