From ac9ad41d86637baac692358d46257901dd0e466e Mon Sep 17 00:00:00 2001 From: Yves Gugger Date: Wed, 17 Dec 2025 08:59:08 +0100 Subject: [PATCH] Inbox: Hunt-style tabs + Yield: Coming soon banner --- frontend/src/app/terminal/inbox/page.tsx | 113 +++++++++++++++-------- frontend/src/app/terminal/yield/page.tsx | 22 ++++- 2 files changed, 98 insertions(+), 37 deletions(-) diff --git a/frontend/src/app/terminal/inbox/page.tsx b/frontend/src/app/terminal/inbox/page.tsx index 1af3b1d..6063475 100644 --- a/frontend/src/app/terminal/inbox/page.tsx +++ b/frontend/src/app/terminal/inbox/page.tsx @@ -75,6 +75,12 @@ type Message = { type InboxTab = 'buying' | 'selling' +// Tab config like Hunt page +const TABS: Array<{ key: InboxTab; label: string; shortLabel: string; icon: any; color: string }> = [ + { key: 'buying', label: 'Buying', shortLabel: 'Buying', icon: ShoppingCart, color: 'accent' }, + { key: 'selling', label: 'Selling', shortLabel: 'Selling', icon: Tag, color: 'blue' }, +] + export default function InboxPage() { const { user, subscription, logout, checkAuth } = useStore() const searchParams = useSearchParams() @@ -294,43 +300,78 @@ export default function InboxPage() { - {/* TABS */} + {/* TABS - Hunt page style */}
-
- - {isSeller && ( - - )} + {/* Desktop Tabs */} +
+ {TABS.filter(t => t.key === 'buying' || isSeller).map((t) => { + const isActive = activeTab === t.key + const count = t.key === 'buying' ? buyerThreads.length : sellerUnread + return ( + + ) + })} +
+ + {/* Mobile Tabs - Scrollable */} +
+
+ {TABS.filter(t => t.key === 'buying' || isSeller).map((t) => { + const isActive = activeTab === t.key + const count = t.key === 'buying' ? buyerThreads.length : sellerUnread + return ( + + ) + })} +
diff --git a/frontend/src/app/terminal/yield/page.tsx b/frontend/src/app/terminal/yield/page.tsx index 3001ec4..ecbf653 100644 --- a/frontend/src/app/terminal/yield/page.tsx +++ b/frontend/src/app/terminal/yield/page.tsx @@ -418,8 +418,28 @@ export default function YieldPage() { + {/* COMING SOON BANNER */} +
+
+
+ +
+
+
+

Feature in Development

+ Coming Soon +
+

+ We're building an automated yield system for your parked domains. + Soon you'll be able to monetize idle domains with intelligent traffic routing. + Stay tuned for updates! +

+
+
+
+ {/* DESKTOP HEADER */} -
+