From a157a94a2329773ae9d4e20e2be385fc0f60c642 Mon Sep 17 00:00:00 2001 From: Capucine Gest Date: Tue, 2 Jun 2026 23:01:51 +0200 Subject: [PATCH] auto: sync 2026-06-02 23:01 --- app/layout.tsx | 2 +- app/page.tsx | 43 ++++--- components/DriversBar.tsx | 259 +++++++++++++++----------------------- tsconfig.tsbuildinfo | 2 +- 4 files changed, 124 insertions(+), 182 deletions(-) diff --git a/app/layout.tsx b/app/layout.tsx index a269c5f..d1a7cc9 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -9,7 +9,7 @@ export const metadata: Metadata = { export default function RootLayout({ children }: { children: React.ReactNode }) { return ( - {children} + {children} ); } diff --git a/app/page.tsx b/app/page.tsx index 35c5788..a8f5084 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,7 +1,7 @@ "use client"; import { useEffect, useState, useCallback } from "react"; -import { RefreshCw, Zap, Database } from "lucide-react"; +import { RefreshCw, Zap, Database, Activity } from "lucide-react"; import { CURRENCIES, CURRENCY_META } from "@/lib/constants"; import type { Currency, DriverData, SentimentEntry, CotEntry } from "@/lib/types"; import type { RateProbData } from "@/lib/rateprobability"; @@ -225,37 +225,42 @@ export default function Dashboard() { return (
{/* Header */} -
-
-

- Forex Macro Dashboard -

+
+
+
+ +
+
+ MacroFlow + Forex · Macro · Mispricing +
{divergenceCount > 0 && ( -
- - +
+ + {divergenceCount} divergence{divergenceCount > 1 ? "s" : ""} active{divergenceCount > 1 ? "s" : ""}
)} -
+
+ {driversFromCache && driversCacheAge && ( - + cache {driversCacheAge} )} - {lastRefresh.toLocaleTimeString("fr-FR", { hour: "2-digit", minute: "2-digit" })} + {lastRefresh.toLocaleTimeString("fr-FR", { hour: "2-digit", minute: "2-digit" })}
{/* Tab navigation */} -
+
{(["dashboard", "calendar", "pairs", "yields"] as const).map((tab) => (
{/* Footer */} -