Skip to content

Commit 27e6bbd

Browse files
committed
chore(dashboard): sidebar, explorer padding fixes
1 parent dc0ac12 commit 27e6bbd

File tree

3 files changed

+24
-6
lines changed

3 files changed

+24
-6
lines changed

packages/apps/app-dashboard/src/components/developer-dashboard/sidebar/Sidebar.tsx

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import {
1111
SidebarFooter,
1212
SidebarGroup,
1313
SidebarGroupContent,
14+
SidebarHeader,
1415
SidebarMenu,
1516
SidebarMenuButton,
1617
SidebarMenuItem,
@@ -70,9 +71,17 @@ export function Sidebar() {
7071
collapsible="offcanvas"
7172
className="border-r-0 bg-white dark:bg-gray-950"
7273
>
73-
{/* SidebarHeader hidden - logo is now in ExplorerNav */}
74+
<SidebarHeader className="px-4 py-4 -mt-[61px] md:mt-0 mb-0 shrink-0 border-b border-gray-200 dark:border-gray-800">
75+
<Link to="/developer/dashboard" className="flex items-center">
76+
<img
77+
src={isDark ? '/vincent-main-logo-white.png' : '/vincent-main-logo.png'}
78+
alt="Vincent"
79+
className="h-8 w-auto"
80+
/>
81+
</Link>
82+
</SidebarHeader>
7483

75-
<SidebarContent className="px-4 py-6">
84+
<SidebarContent className="px-4 pt-4 pb-6">
7685
<SidebarGroup className="space-y-4">
7786
<SidebarGroupContent>
7887
<SidebarMenu className="space-y-2">

packages/apps/app-dashboard/src/components/explorer/views/AppInfoView.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export function AppInfoView({ app, versions, versionAbilities }: AppInfoViewProp
5454
className={`transition-opacity duration-500 ${showContent && !isTransitioning ? 'opacity-100' : 'opacity-0'}`}
5555
>
5656
{/* Back Button and Hero Section */}
57-
<div className="max-w-7xl mx-auto px-4 sm:px-6 md:px-8 pt-20 sm:pt-24 pb-4 sm:pb-6">
57+
<div className="pt-20 sm:pt-24 pb-4 sm:pb-6">
5858
{/* Back Button */}
5959
<button
6060
onClick={() => handleNavigateWithTransition('/explorer/apps')}
@@ -69,7 +69,7 @@ export function AppInfoView({ app, versions, versionAbilities }: AppInfoViewProp
6969
</div>
7070

7171
{/* Main Content - Two Column Layout */}
72-
<div className="max-w-7xl mx-auto px-4 sm:px-6 md:px-8 pb-8 sm:pb-12">
72+
<div className="pb-8 sm:pb-12">
7373
<div className="grid grid-cols-1 lg:grid-cols-3 gap-4 sm:gap-6 lg:gap-8">
7474
{/* Left Sidebar - App Info */}
7575
<div className="lg:col-span-1">

packages/apps/app-dashboard/src/components/user-dashboard/sidebar/AppSidebar.tsx

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import {
1111
SidebarFooter,
1212
SidebarGroup,
1313
SidebarGroupContent,
14+
SidebarHeader,
1415
SidebarMenu,
1516
SidebarMenuButton,
1617
SidebarMenuItem,
@@ -52,9 +53,17 @@ export function AppSidebar() {
5253
collapsible="offcanvas"
5354
className="border-r-0 bg-white dark:bg-gray-950"
5455
>
55-
{/* SidebarHeader removed - logo is now in ExplorerNav */}
56+
<SidebarHeader className="px-4 py-4 -mt-[61px] md:mt-0 mb-0 shrink-0 border-b border-gray-200 dark:border-gray-800">
57+
<Link to="/user/apps" className="flex items-center">
58+
<img
59+
src={isDark ? '/vincent-main-logo-white.png' : '/vincent-main-logo.png'}
60+
alt="Vincent"
61+
className="h-8 w-auto"
62+
/>
63+
</Link>
64+
</SidebarHeader>
5665

57-
<SidebarContent className="px-4 py-6">
66+
<SidebarContent className="px-4 pt-4 pb-6">
5867
<SidebarGroup className="space-y-4">
5968
<SidebarGroupContent>
6069
<SidebarMenu className="space-y-2">

0 commit comments

Comments
 (0)