Message count
This commit is contained in:
@@ -7,6 +7,7 @@ import { FaGoogle } from 'react-icons/fa';
|
||||
import logo from '@/assets/images/logo-white.png';
|
||||
import profileDefault from '@/assets/images/profile.png';
|
||||
import { signIn, signOut, useSession, getProviders } from 'next-auth/react';
|
||||
import UnreadMessageCount from './UnreadMessageCount';
|
||||
|
||||
const Navbar = () => {
|
||||
const { data: session } = useSession();
|
||||
@@ -151,10 +152,7 @@ const Navbar = () => {
|
||||
/>
|
||||
</svg>
|
||||
</button>
|
||||
<span className='absolute top-0 right-0 inline-flex items-center justify-center px-2 py-1 text-xs font-bold leading-none text-white transform translate-x-1/2 -translate-y-1/2 bg-red-600 rounded-full'>
|
||||
2
|
||||
{/* <!-- Replace with the actual number of notifications --> */}
|
||||
</span>
|
||||
<UnreadMessageCount />
|
||||
</Link>
|
||||
{/* <!-- Profile dropdown button --> */}
|
||||
<div className='relative ml-3'>
|
||||
|
||||
Reference in New Issue
Block a user