Added Notification and Started Wallet Withdraw

This commit is contained in:
2023-07-20 20:24:54 +01:00
parent 87f1a1e3e8
commit a3782e2dfc
7 changed files with 342 additions and 1655 deletions
+2 -4
View File
@@ -248,10 +248,8 @@ export default function Header({ logoutModalHandler, sidebarHandler }) {
className="lg:w-[48px] lg:h-[48px] w-[38px] h-[38px] bg-white flex justify-center items-center rounded-full overflow-hidden relative"
>
<Icons name="notification" />
<span className="absolute right-2 top-2 z-10 text-xs lg:w-5 lg:h-5 w-4 h-4 flex justify-center items-center rounded-full primary-gradient text-white">
{notifications?.loading
? "●"
: notifications?.data?.raw?.length}
<span className="absolute right-2 top-2 z-10 text-xs lg:w-5 lg:h-5 w-4 h-4 flex justify-center items-center rounded-full primary-gradient text-white cursor-default">
{notifications?.data?.raw?.length}
</span>
</div>
<div