diff --git a/src/components/language-selector/index.tsx b/src/components/language-selector/index.tsx index 5d5efb3d..1a171fd5 100644 --- a/src/components/language-selector/index.tsx +++ b/src/components/language-selector/index.tsx @@ -64,7 +64,7 @@ const LanguageSelector = ({
diff --git a/src/components/navigation/components/cart-button.tsx b/src/components/navigation/components/cart-button.tsx index c861b0c6..d7ec04ba 100644 --- a/src/components/navigation/components/cart-button.tsx +++ b/src/components/navigation/components/cart-button.tsx @@ -11,19 +11,29 @@ import { formatNumber } from '#/utils/format/format-number' import HalloweenCart from 'public/assets/icons/halloween-cart.png' const CartButton = () => { + const pathname = usePathname() const { totalCartItems } = useCart() - const pathname = usePathname() return ( -
+
- + cart { return (
-
setTooltipOpen(!tooltipOpen)}> +
setTooltipOpen(!tooltipOpen)}>

{INTEGRATIONS.length}

@@ -25,7 +25,7 @@ const Integrations: React.FC = () => {

{INTEGRATIONS.length} Integrations

- Connect your apps to your account to use them in your projects. + Browse apps that use EFP, and learn how to integrate it into your app.

{ const pathname = usePathname() @@ -35,7 +36,7 @@ const NavItems = () => {
{ setMobileMenuOpen(false) }} > - + ))}
@@ -69,9 +75,24 @@ const NavItems = () => { onClick={() => setMobileMenuOpen(!mobileMenuOpen)} className='flex hover:scale-110 w-7 cursor-pointer group relative transition-all pr-px items-center justify-center gap-[5px] flex-col' > -
-
-
+
+
+
diff --git a/src/components/navigation/mobile.tsx b/src/components/navigation/mobile.tsx index eefb852e..1e779b90 100644 --- a/src/components/navigation/mobile.tsx +++ b/src/components/navigation/mobile.tsx @@ -5,16 +5,18 @@ import { usePathname } from 'next/navigation' import NavItems from './components/nav-items' import CartButton from './components/cart-button' import { cn } from '#/lib/utilities' +import { useCart } from '#/contexts/cart-context' const Mobile: React.FC = () => { const pathname = usePathname() + const { totalCartItems } = useCart() const { address: userAddress } = useAccount() return (