From c5e891eb7fad754afcfcbb7eefa5782f168dcb77 Mon Sep 17 00:00:00 2001 From: Collins Ikechukwu Date: Wed, 11 Feb 2026 03:03:01 +0100 Subject: [PATCH 1/7] feat: Introduce comprehensive wallet functionality with new data types, dedicated UI components like Family Wallet, and integration across the application. --- app/(landing)/layout.tsx | 2 + components/dashboard-content.tsx | 9 +- components/landing-page/navbar.tsx | 6 +- components/providers/wallet-provider.tsx | 59 ++- components/site-header.tsx | 2 + components/wallet/FamilyWalletButton.tsx | 133 ++++++ components/wallet/FamilyWalletDrawer.tsx | 485 +++++++++++++++++++++ components/wallet/LandingWalletWrapper.tsx | 75 ++++ components/wallet/WalletSheet.tsx | 295 +++++++++++++ components/wallet/WalletTrigger.tsx | 110 +++++ lib/auth-client.ts | 9 + types/wallet.ts | 29 ++ 12 files changed, 1199 insertions(+), 15 deletions(-) create mode 100644 components/wallet/FamilyWalletButton.tsx create mode 100644 components/wallet/FamilyWalletDrawer.tsx create mode 100644 components/wallet/LandingWalletWrapper.tsx create mode 100644 components/wallet/WalletSheet.tsx create mode 100644 components/wallet/WalletTrigger.tsx create mode 100644 types/wallet.ts diff --git a/app/(landing)/layout.tsx b/app/(landing)/layout.tsx index 6d9666f1..0955c3e6 100644 --- a/app/(landing)/layout.tsx +++ b/app/(landing)/layout.tsx @@ -3,6 +3,7 @@ import { ReactNode } from 'react'; import { Footer, Navbar } from '@/components/landing-page'; import { generatePageMetadata } from '@/lib/metadata'; import { GoogleOneTap } from '@/components/auth/GoogleOneTap'; +import { LandingWalletWrapper } from '@/components/wallet/LandingWalletWrapper'; export const metadata: Metadata = generatePageMetadata('home'); @@ -17,6 +18,7 @@ export default function LandingLayout({ children }: LandingLayoutProps) {
{children}