diff --git a/src/pages/LeadProjectPage.jsx b/src/pages/LeadProjectPage.jsx index 68fec7b..96d3ccd 100644 --- a/src/pages/LeadProjectPage.jsx +++ b/src/pages/LeadProjectPage.jsx @@ -19,11 +19,11 @@ import { } from 'lucide-react'; // ── Neomorphic constants (mirrors OwnerProjectDetail) ───────────────────────── -const NEO_PANEL_CLASS = "bg-zinc-900/60 backdrop-blur-3xl border border-white/5 shadow-[8px_8px_16px_rgba(0,0,0,0.6),-8px_-8px_16px_rgba(255,255,255,0.02)] rounded-3xl relative overflow-hidden transition-all duration-300"; -const NEON_GREEN = "text-[#39ff14] drop-shadow-[0_0_8px_rgba(57,255,20,0.4)]"; -const NEON_GOLD = "text-[#fda913] drop-shadow-[0_0_8px_rgba(253,169,19,0.4)]"; -const NEON_ORANGE = "text-[#ff4500] drop-shadow-[0_0_8px_rgba(255,69,0,0.4)]"; -const NEON_BLUE = "text-[#00f0ff] drop-shadow-[0_0_8px_rgba(0,240,255,0.4)]"; +const NEO_PANEL_CLASS = "dark:bg-zinc-900/60 dark:backdrop-blur-3xl border border-zinc-200 dark:border-white/5 dark:shadow-[8px_8px_16px_rgba(0,0,0,0.6),-8px_-8px_16px_rgba(255,255,255,0.02)] rounded-3xl relative overflow-hidden transition-all duration-300"; +const NEON_GREEN = "text-green-600 dark:text-[#39ff14] dark:drop-shadow-[0_0_8px_rgba(57,255,20,0.4)]"; +const NEON_GOLD = "text-amber-600 dark:text-[#fda913] dark:drop-shadow-[0_0_8px_rgba(253,169,19,0.4)]"; +const NEON_ORANGE = "text-orange-600 dark:text-[#ff4500] dark:drop-shadow-[0_0_8px_rgba(255,69,0,0.4)]"; +const NEON_BLUE = "text-sky-600 dark:text-[#00f0ff] dark:drop-shadow-[0_0_8px_rgba(0,240,255,0.4)]"; function formatCurrency(n) { return new Intl.NumberFormat('en-US', { style: 'currency', currency: 'USD', maximumFractionDigits: 0 }).format(n || 0); @@ -62,7 +62,7 @@ function NeoCard({ children, className = '', spotlightColor = 'rgba(255,255,255, // ── Animated progress bar ───────────────────────────────────────────────────── function NeoProgress({ pct, color = '#3B82F6', height = 'h-1.5' }) { return ( -
+
{entry.from}
by {entry.by} · {formatDate(entry.date)}
{entry.note}
} + {entry.note &&{entry.note}
}{label}
-{value}
+{value}
{item.count}
-{item.label}
+{item.label}
Field Notes
-{lead.notes}
+{lead.notes}
{label}
-{value}
+{value}
Notes
-{lead.notes}
+{lead.notes}
{label}
{value}
{label}
{value}
Quick Actions
{lead.phone && ( - -| Category | Allocated | Committed | @@ -630,12 +630,12 @@ export default function LeadProjectPage() {Remaining | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {b.category} | +|||||||||||||||||||
| {b.category} | {formatCurrency(b.allocated)} | {formatCurrency(b.committed)} | {formatCurrency(b.actual)} | @@ -645,11 +645,11 @@ export default function LeadProjectPage() { })}||||||||||||||||
| Total | -{formatCurrency(proj.estimatedAmount)} | -{formatCurrency(proj.budgetBreakdown?.reduce((s, b) => s + b.committed, 0))} | -{formatCurrency(proj.actualCost)} | +||||||||||||||||
| Total | +{formatCurrency(proj.estimatedAmount)} | +{formatCurrency(proj.budgetBreakdown?.reduce((s, b) => s + b.committed, 0))} | +{formatCurrency(proj.actualCost)} | = 0 ? 'text-emerald-400' : 'text-red-400'}`}> {formatCurrency(proj.estimatedAmount - proj.actualCost)} | @@ -666,7 +666,7 @@ export default function LeadProjectPage() {
| ID | Subject | @@ -761,11 +761,11 @@ export default function LeadProjectPage() {Closed | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| {r.id.toUpperCase()} | -{r.subject} | +{r.subject} |
{r.status}
@@ -801,11 +801,11 @@ export default function LeadProjectPage() {
Invoice Schedule+Invoice Schedule
|