mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 08:31:12 -05:00
feat: Integrate Novu Inbox into header
This commit is contained in:
@@ -10,6 +10,8 @@ import { SearchDropdown } from '@/components/search/SearchDropdown';
|
||||
import { MobileSearch } from '@/components/search/MobileSearch';
|
||||
import { AuthButtons } from '@/components/auth/AuthButtons';
|
||||
import { ThemeToggle } from '@/components/theme/ThemeToggle';
|
||||
import { NotificationCenter } from '@/components/notifications/NotificationCenter';
|
||||
import { useAuth } from '@/hooks/useAuth';
|
||||
import { useUserRole } from '@/hooks/useUserRole';
|
||||
import { useIsMobile } from '@/hooks/use-mobile';
|
||||
import {
|
||||
@@ -25,6 +27,7 @@ export function Header() {
|
||||
const navigate = useNavigate();
|
||||
const [open, setOpen] = useState(false);
|
||||
const [mobileSearchOpen, setMobileSearchOpen] = useState(false);
|
||||
const { user } = useAuth();
|
||||
const { isModerator } = useUserRole();
|
||||
const isMobile = useIsMobile();
|
||||
|
||||
@@ -233,6 +236,7 @@ export function Header() {
|
||||
</Button>
|
||||
|
||||
<ThemeToggle />
|
||||
{user && <NotificationCenter />}
|
||||
<AuthButtons />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user