diff --git a/apps/web/app/home/(user)/_components/home-menu-navigation.tsx b/apps/web/app/home/(user)/_components/home-menu-navigation.tsx index 534698672..1ef536ade 100644 --- a/apps/web/app/home/(user)/_components/home-menu-navigation.tsx +++ b/apps/web/app/home/(user)/_components/home-menu-navigation.tsx @@ -36,7 +36,7 @@ export function HomeMenuNavigation(props: { workspace: UserWorkspace }) { return (
-
+
@@ -46,7 +46,7 @@ export function HomeMenuNavigation(props: { workspace: UserWorkspace }) {
-
+
diff --git a/apps/web/app/home/(user)/_components/home-sidebar.tsx b/apps/web/app/home/(user)/_components/home-sidebar.tsx index 749bfdba3..e84dadcb7 100644 --- a/apps/web/app/home/(user)/_components/home-sidebar.tsx +++ b/apps/web/app/home/(user)/_components/home-sidebar.tsx @@ -5,6 +5,7 @@ import { AppLogo } from '~/components/app-logo'; import { ProfileAccountDropdownContainer } from '~/components/personal-account-dropdown-container'; import featuresFlagConfig from '~/config/feature-flags.config'; import { personalAccountNavigationConfig } from '~/config/personal-account-navigation.config'; +import { UserNotifications } from '~/home/(user)/_components/user-notifications'; // home imports import type { UserWorkspace } from '../_lib/server/load-user-workspace'; @@ -16,12 +17,16 @@ export function HomeSidebar(props: { workspace: UserWorkspace }) { return ( - } - > - - +
+ } + > + + + + +
diff --git a/apps/web/app/home/(user)/layout.tsx b/apps/web/app/home/(user)/layout.tsx index 36cb8c93d..c681865f9 100644 --- a/apps/web/app/home/(user)/layout.tsx +++ b/apps/web/app/home/(user)/layout.tsx @@ -31,13 +31,8 @@ function UserHomeLayout({ children }: React.PropsWithChildren) { -
- -
- -
- -
+ +
{children} diff --git a/apps/web/app/home/[account]/_components/team-account-layout-sidebar.tsx b/apps/web/app/home/[account]/_components/team-account-layout-sidebar.tsx index ed134bc5d..e8ba8d57e 100644 --- a/apps/web/app/home/[account]/_components/team-account-layout-sidebar.tsx +++ b/apps/web/app/home/[account]/_components/team-account-layout-sidebar.tsx @@ -16,6 +16,7 @@ import { Trans } from '@kit/ui/trans'; import { cn } from '@kit/ui/utils'; import { ProfileAccountDropdownContainer } from '~/components//personal-account-dropdown-container'; +import { TeamAccountNotifications } from '~/home/[account]/_components/team-account-notifications'; import { TeamAccountAccountsSelector } from '../_components/team-account-accounts-selector'; import { TeamAccountLayoutSidebarNavigation } from './team-account-layout-sidebar-navigation'; @@ -59,11 +60,18 @@ function SidebarContainer(props: { return ( <> - - + +
+ + + +
@@ -72,12 +80,10 @@ function SidebarContainer(props: {
-
- -
+ -
+
@@ -48,7 +48,7 @@ export function TeamAccountNavigationMenu(props: {
-
+
({ diff --git a/apps/web/app/home/[account]/layout.tsx b/apps/web/app/home/[account]/layout.tsx index 8969f9e1e..e520746d1 100644 --- a/apps/web/app/home/[account]/layout.tsx +++ b/apps/web/app/home/[account]/layout.tsx @@ -5,7 +5,6 @@ import { Page, PageMobileNavigation, PageNavigation } from '@kit/ui/page'; import { AppLogo } from '~/components/app-logo'; import { getTeamAccountSidebarConfig } from '~/config/team-account-navigation.config'; -import { TeamAccountNotifications } from '~/home/[account]/_components/team-account-notifications'; import { withI18n } from '~/lib/i18n/with-i18n'; // local imports diff --git a/apps/web/app/home/[account]/page.tsx b/apps/web/app/home/[account]/page.tsx index f2dd96ab5..943efb768 100644 --- a/apps/web/app/home/[account]/page.tsx +++ b/apps/web/app/home/[account]/page.tsx @@ -54,7 +54,7 @@ function TeamAccountHomePage({ params }: { params: Params }) { title={} description={} > - diff --git a/packages/features/accounts/src/components/account-selector.tsx b/packages/features/accounts/src/components/account-selector.tsx index acc5f12a4..d02a60a70 100644 --- a/packages/features/accounts/src/components/account-selector.tsx +++ b/packages/features/accounts/src/components/account-selector.tsx @@ -98,7 +98,7 @@ export function AccountSelector({ variant="ghost" role="combobox" aria-expanded={open} - className={cn('dark:shadow-primary/10 group w-full border px-4', { + className={cn('dark:shadow-primary/10 group px-2', { 'justify-between': !collapsed, 'justify-center': collapsed, })} @@ -144,11 +144,11 @@ export function AccountSelector({ )} - + - + diff --git a/packages/features/notifications/src/components/notifications-popover.tsx b/packages/features/notifications/src/components/notifications-popover.tsx index dc17b0f9b..60b17a2fe 100644 --- a/packages/features/notifications/src/components/notifications-popover.tsx +++ b/packages/features/notifications/src/components/notifications-popover.tsx @@ -111,12 +111,12 @@ export function NotificationsPopover(params: { return ( -