Skip to content

Commit 14d60ab

Browse files
creilly11235claude
andcommitted
feat(apollo-vertex): polish shell/sidebar with framer-motion animations and self-contained CSS
Convert sidebar width animation from CSS transitions to framer-motion spring physics matching MRS exactly. Make shell components self-contained by moving collapsible CSS to co-located file, swap hand-rolled buttons for vertex Button component, add asymmetric text fade variants via AnimatePresence, fix z-index stacking in docs preview, fix minimal header logo background, and switch locale loading state from spinner to skeleton. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 4826df0 commit 14d60ab

32 files changed

+613
-185
lines changed

apps/apollo-vertex/app/globals.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@
3030
@apply text-primary-700 dark:text-primary-400;
3131
}
3232
}
33+

apps/apollo-vertex/app/vertex-components/shell/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Use the `variant="minimal"` prop to render a horizontal header layout instead of
1919

2020
## Features
2121

22-
- **Collapsible Sidebar**: Icon-only collapsed mode with smooth CSS transitions, built on the shadcn sidebar primitives
22+
- **Collapsible Sidebar**: Icon-only collapsed mode with smooth spring animations, built on the shadcn sidebar primitives
2323
- **Sub-Navigation**: Collapsible menu items with nested sub-items that auto-expand when active
2424
- **Collapsed Menu Handling**: Clicking a collapsible item while collapsed expands the sidebar and opens the submenu
2525
- **Custom Logo**: Support for company logos with separate light/dark mode variants

apps/apollo-vertex/locales/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@
105105
"turkish": "Turkish",
106106
"type_a_message": "Type a message...",
107107
"user_email_placeholder": "user@company.com",
108+
"user_profile": "Profile and settings",
108109
"view": "View",
109110
"view_customer": "View customer",
110111
"view_payment_details": "View payment details",

apps/apollo-vertex/locales/es-MX.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@
100100
"warning": "Advertencia",
101101
"business_user": "Usuario empresarial",
102102
"user_email_placeholder": "user@company.com",
103+
"user_profile": "Profile and settings",
103104
"enter_full_screen": "Ingresar a pantalla completa",
104105
"exit_full_screen": "Salir de la pantalla completa",
105106
"select_frameworks": "Seleccionar marcos",

apps/apollo-vertex/locales/ja.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@
100100
"warning": "警告",
101101
"business_user": "ビジネス ユーザー",
102102
"user_email_placeholder": "user@company.com",
103+
"user_profile": "Profile and settings",
103104
"enter_full_screen": "全画面表示",
104105
"exit_full_screen": "全画面表示を終了",
105106
"select_frameworks": "フレームワークを選択",

apps/apollo-vertex/locales/ko.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@
100100
"warning": "경고",
101101
"business_user": "비즈니스 사용자",
102102
"user_email_placeholder": "user@company.com",
103+
"user_profile": "Profile and settings",
103104
"enter_full_screen": "전체 화면으로 전환",
104105
"exit_full_screen": "전체 화면 종료",
105106
"select_frameworks": "프레임워크 선택",

apps/apollo-vertex/locales/pt.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@
100100
"warning": "Aviso",
101101
"business_user": "Utilizador Empresarial",
102102
"user_email_placeholder": "user@company.com",
103+
"user_profile": "Profile and settings",
103104
"enter_full_screen": "Entrar no ecrã inteiro",
104105
"exit_full_screen": "Sair de ecrã inteiro",
105106
"select_frameworks": "Selecionar estruturas",

apps/apollo-vertex/locales/ro.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@
100100
"warning": "Atenție",
101101
"business_user": "Utilizator business",
102102
"user_email_placeholder": "user@company.com",
103+
"user_profile": "Profile and settings",
103104
"enter_full_screen": "Intră în modul ecran complet",
104105
"exit_full_screen": "Ieșire din modul ecran complet",
105106
"select_frameworks": "Selectați frameworkuri",

apps/apollo-vertex/locales/ru.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@
1414
"russian": "Русский",
1515
"spanish": "Испанский",
1616
"spanish-mx": "Испанский (Мексика)",
17-
"turkish": "Турецкий"
17+
"turkish": "Турецкий",
18+
"user_profile": "Profile and settings"
1819
}

apps/apollo-vertex/locales/zh-CN.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@
100100
"warning": "警告",
101101
"business_user": "企业用户",
102102
"user_email_placeholder": "user@company.com",
103+
"user_profile": "Profile and settings",
103104
"enter_full_screen": "进入全屏",
104105
"exit_full_screen": "退出全屏",
105106
"select_frameworks": "选择框架",

0 commit comments

Comments
 (0)