perf: change the DA to something more readable

This commit is contained in:
Pierre Ryssen
2026-03-11 12:26:45 +01:00
parent cd15c81b53
commit 9642f2511a
22 changed files with 136 additions and 120 deletions

View File

@@ -19,9 +19,9 @@ export default function AuthLayout({ children }: { children: React.ReactNode })
if (status !== "authenticated") return null;
return (
<div className="flex min-h-screen">
<div className="flex min-h-screen bg-[#0d1117]">
<Sidebar />
<main className="ml-56 flex-1 p-8">
<main className="ml-56 flex-1 p-8 bg-[#0d1117]">
{children}
</main>
</div>

View File

@@ -5,11 +5,11 @@ export default function YoutubePage() {
return (
<div>
<div className="flex items-center gap-3 mb-8">
<div className="p-2 rounded-sm bg-red-500/10 border border-red-500/20">
<div className="p-2 rounded-sm bg-red-500/10 border border-red-500/25">
<YoutubeIcon size={18} className="text-red-400" />
</div>
<div>
<div className="text-[9px] font-mono tracking-[0.3em] text-red-400/50 uppercase mb-0.5">Plateforme</div>
<div className="text-[9px] font-mono tracking-[0.3em] text-red-400/70 uppercase mb-0.5">Plateforme</div>
<h1 className="text-2xl font-black tracking-widest text-white uppercase">YouTube</h1>
</div>
</div>
@@ -21,9 +21,9 @@ export default function YoutubePage() {
<StatCard label="Watch time (h)" value="—" sub="Aucune donnée" accent="red" />
</div>
<div className="bg-[#0d1210] border border-[#1a2a1a] rounded-sm p-8 flex flex-col items-center justify-center gap-3 min-h-[200px]">
<YoutubeIcon size={32} className="text-red-400/20" />
<p className="text-[#3a5a3a] font-mono text-xs tracking-widest text-center">
<div className="bg-[#111a14] border border-[#1e2d1e] rounded-sm p-8 flex flex-col items-center justify-center gap-3 min-h-[200px]">
<YoutubeIcon size={32} className="text-red-400/30" />
<p className="text-[#7a9a7a] font-mono text-xs tracking-widest text-center">
CONNECTEZ VOTRE COMPTE YOUTUBE<br />POUR AFFICHER VOS STATISTIQUES
</p>
</div>