diff --git a/src/App.jsx b/src/App.jsx index 3e81d44c..8247bb3a 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -540,23 +540,33 @@ export default function App() { className="flex justify-between items-center p-2 rounded hover:bg-gray-100 dark:hover:bg-gray-700 cursor-pointer" onClick={() => openInTryton("currency.currency", 2, ["form"])} > -
-
+
+ {/* LIGNE PRINCIPALE */} +
+ {/* PAIRE */} -
+ {n.pair} -
+ {/* VALEUR */} -
+ {n.value?.toFixed(4)} -
+ - {/* TREND */} - {n.trendValue !== null && ( + {/* DATE */} + + {n.date} + + +
+ + {/* BADGE CENTRÉ */} + {n.trendValue !== null && ( +
= 0 ? "bg-green-50 text-green-700 border-green-200 dark:bg-green-900/30 dark:text-green-400 dark:border-green-800" @@ -567,12 +577,9 @@ export default function App() { {n.trendValue >= 0 ? "+" : ""} {n.trendValue.toFixed(2)}% - )} -
-
+
+ )} -
- {n.date}