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:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user