Fix: Restore user profile in menu
Re-added the user profile with the logged-in user's email and logout option to the fixed menu bar.
This commit is contained in:
parent
a18f73d1f1
commit
85443ff55a
@ -30,6 +30,7 @@ import {
|
|||||||
} from 'lucide-react';
|
} from 'lucide-react';
|
||||||
import OnboardingTour from '@/components/onboarding/OnboardingTour';
|
import OnboardingTour from '@/components/onboarding/OnboardingTour';
|
||||||
import HelpIcon from '@/components/help/HelpIcon';
|
import HelpIcon from '@/components/help/HelpIcon';
|
||||||
|
import UserProfileButton from '@/components/dashboard/UserProfileButton';
|
||||||
import { useOnboardingTour } from '@/hooks/useOnboardingTour';
|
import { useOnboardingTour } from '@/hooks/useOnboardingTour';
|
||||||
import {
|
import {
|
||||||
Tooltip,
|
Tooltip,
|
||||||
@ -221,6 +222,11 @@ export default function NewModernLayout({ children }: NewModernLayoutProps) {
|
|||||||
</TooltipProvider>
|
</TooltipProvider>
|
||||||
<span className="text-sm font-medium text-gray-600">Menu</span>
|
<span className="text-sm font-medium text-gray-600">Menu</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{/* User Profile Button */}
|
||||||
|
<div className="ml-auto">
|
||||||
|
<UserProfileButton />
|
||||||
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<main className="flex-1 overflow-y-auto">
|
<main className="flex-1 overflow-y-auto">
|
||||||
<div className="container mx-auto px-4 py-6">
|
<div className="container mx-auto px-4 py-6">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user