From 48edfa1cbbd0872d83328ff4b374961fd2f28113 Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Sun, 25 Oct 2026 08:26:37 +0200 Subject: [PATCH] Moved top bar to top --- .../components/dashboard/DashboardPage.tsx | 42 ++++++++++--------- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/PostFundManagement.PartnerUI/src/components/dashboard/DashboardPage.tsx b/PostFundManagement.PartnerUI/src/components/dashboard/DashboardPage.tsx index f0925a5..7a4a7c4 100644 --- a/PostFundManagement.PartnerUI/src/components/dashboard/DashboardPage.tsx +++ b/PostFundManagement.PartnerUI/src/components/dashboard/DashboardPage.tsx @@ -29,6 +29,7 @@ import { Award as AwardIcon, Info, Sparkles, + Infinity as InfinityIcon, } from 'lucide-react'; import { useAuth } from '../../auth/AuthProvider'; import { useRbac } from '../../auth/rbac'; @@ -720,7 +721,7 @@ export function DashboardPage() { const navTabs: { id: NavTab; label: string }[] = [ { id: 'dashboard', label: 'Dashboard' }, { id: 'messages', label: 'Messages' }, - { id: 'contracts', label: 'Orders' }, + { id: 'contracts', label: 'Awards' }, { id: 'analytics', label: 'Analytics' }, { id: 'documents', label: 'Earnings' }, ]; @@ -760,22 +761,21 @@ export function DashboardPage() { }, [inboxNotifications, partnerSummary]); return ( -
+
{/* ===================================================================== - MAIN DASHBOARD CONTAINER — FLOATING ELEVATED CANVAS (Pixel Perfect Dribbble layout) + TOP NAVIGATION BAR — STANDALONE ELEVATED CONTAINER SEPARATED FROM BODY ===================================================================== */} -
- - {/* ===================================================================== - TOP HEADER BAR (Replicating the Dribbble Header: Logo, Nav, Search, Bell, Profile) - ===================================================================== */} -
+
+
{/* Left: Brand Glyph & Horizontal Navigation Links */}
- {/* Overlapping double rounded squares glyph from Dribbble design */} -
setActiveTab('dashboard')}> -
-
+ {/* Flat black infinity icon rotated with top lobe pointing to 2 o'clock */} +
setActiveTab('dashboard')} + title="Dashboard Home" + > +
{/* Nav Tabs with bottom underline on active */} @@ -959,10 +959,10 @@ export function DashboardPage() { )}
-
+
{/* Mobile Navigation bar for smaller screens */} -
+
{navTabs.map(tab => (
+ - {/* ===================================================================== - BODY CONTENT - ===================================================================== */} -
+ {/* ===================================================================== + MAIN BODY SECTION (Separated from Top Bar) + ===================================================================== */} +
+
{isLoadingApplicantData ? (
@@ -1735,7 +1737,7 @@ export function DashboardPage() {
)}
-
+
{/* ===================================================================== MODAL 1: PROJECT WORKSPACE (From "View Details" Button) -- 2.47.3