fix: favicon — recadre sur le globe (trop petit) en gardant les coins arrondis
Le premier crop gardait le carre creme complet + marge transparente autour : le globe ne remplissait qu'environ 49% de la largeur totale, illisible en taille onglet (16x16). Recadre desormais sur le bounding box du carre creme lui-meme (mesure par scan de pixels), ce qui grossit le globe tout en preservant les coins arrondis de la carte (un premier essai trop serre sur le globe seul les avait coupes). Header (app/page.tsx) : remplace l'icone Activity (lucide) generique par le vrai favicon (/icon.png), agrandi et aligne verticalement avec le titre. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 51 KiB |
|
Before Width: | Height: | Size: 172 KiB After Width: | Height: | Size: 349 KiB |
@@ -1,7 +1,7 @@
|
||||
"use client";
|
||||
|
||||
import { useEffect, useState, useCallback } from "react";
|
||||
import { RefreshCw, Database, Activity, Maximize2, Minimize2, X, BarChart2 } from "lucide-react";
|
||||
import { RefreshCw, Database, Maximize2, Minimize2, X, BarChart2 } from "lucide-react";
|
||||
import { CURRENCIES, CURRENCY_META } from "@/lib/constants";
|
||||
import type { Currency, DriverData, SentimentEntry, SentimentPair, CotEntry, MacroSection } from "@/lib/types";
|
||||
import type { RateProbData } from "@/lib/rateprobability";
|
||||
@@ -300,10 +300,8 @@ export default function Dashboard() {
|
||||
{/* Header */}
|
||||
<header className="flex items-center justify-between mb-4 bg-slate-950/80 border border-slate-800 rounded-xl px-5 py-3">
|
||||
<div className="flex items-center gap-3">
|
||||
<div className="w-7 h-7 rounded-lg bg-amber-500 flex items-center justify-center shrink-0">
|
||||
<Activity size={15} className="text-black" />
|
||||
</div>
|
||||
<div>
|
||||
<img src="/icon.png" alt="" width={40} height={40} className="w-10 h-10 rounded-xl shrink-0" />
|
||||
<div className="flex items-center h-10">
|
||||
<span className="text-sm font-bold text-white tracking-tight" suppressHydrationWarning>
|
||||
{new Date().getHours() < 18 ? "Bonjour" : "Bonsoir"} 👋
|
||||
</span>
|
||||
|
||||
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 172 KiB After Width: | Height: | Size: 349 KiB |