mirror of
https://github.com/caty21/forex-dashboard.git
synced 2026-07-27 20:37:45 +00:00
auto: sync 2026-06-02 16:51
This commit is contained in:
@@ -351,9 +351,13 @@ export default function CurrencyCard({ currency, expectations, yields, sentiment
|
||||
{/* ── POLITIQUE MONÉTAIRE ─────────────────────────────────────────── */}
|
||||
<SectionHeader label="Politique monétaire" />
|
||||
<Row label="Taux directeur" ind={inds?.policyRate ?? null} unit="%" consensus={rateConsensus} />
|
||||
<div className="flex items-center justify-between py-1.5 text-xs border-b border-gray-50">
|
||||
<span className="text-gray-500 text-xs pl-5">10Y Yield</span>
|
||||
<span className="font-semibold text-gray-800 tabular-nums text-xs">
|
||||
<div className="py-1.5 border-b border-gray-50">
|
||||
<div className="flex items-center justify-between gap-2">
|
||||
<div className="flex items-center gap-1.5 min-w-0">
|
||||
<div className="w-3 h-3 flex-shrink-0" />
|
||||
<span className="text-xs text-gray-500">10Y Yield</span>
|
||||
</div>
|
||||
<span className="font-semibold text-gray-800 tabular-nums text-xs flex-shrink-0">
|
||||
{yield10Y !== null ? `${yield10Y.toFixed(2)}%` : "—"}
|
||||
{spread10Y !== null && (
|
||||
<span className={`ml-1 text-[10px] ${spread10Y > 0 ? "text-green-600" : "text-red-600"}`}>
|
||||
@@ -361,6 +365,7 @@ export default function CurrencyCard({ currency, expectations, yields, sentiment
|
||||
</span>
|
||||
)}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* ── INFLATION ───────────────────────────────────────────────────── */}
|
||||
|
||||
@@ -441,6 +441,7 @@ const TE_INFLATION_YOY_SLUG: Partial<Record<Currency, string>> = {
|
||||
JPY: "japan/inflation-cpi",
|
||||
};
|
||||
|
||||
|
||||
export async function fetchTECoreInflationPages(): Promise<Partial<Record<Currency, CoreCPIPageEntry>>> {
|
||||
const MONTHS: Record<string, string> = { January:"01",February:"02",March:"03",April:"04",May:"05",June:"06",July:"07",August:"08",September:"09",October:"10",November:"11",December:"12" };
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user