Skip to content

Commit 604ca23

Browse files
theo-learnerclaude
andcommitted
style: improve network card design with Globe icon and matching header style
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 7b42901 commit 604ca23

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

src/app/page.tsx

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import { useEffect, useState, useRef } from 'react';
44
import {
55
Activity, Server, Zap, ArrowUpRight,
6-
CheckCircle2, Shield, Database,
6+
CheckCircle2, Shield, Database, Globe,
77
ChevronDown,
88
Send, Bot, User, RefreshCw, Pause
99
} from 'lucide-react';
@@ -434,9 +434,14 @@ export default function Dashboard() {
434434
</p>
435435
</div>
436436
{process.env.NEXT_PUBLIC_NETWORK_NAME && (
437-
<div className="ml-auto bg-white rounded-xl px-5 py-3 shadow-sm border border-gray-200/60">
438-
<p className="text-[10px] text-gray-400 font-semibold uppercase">Network</p>
439-
<p className="text-lg font-bold text-slate-700 whitespace-nowrap">{process.env.NEXT_PUBLIC_NETWORK_NAME}</p>
437+
<div className="ml-auto flex items-center gap-3 bg-white rounded-2xl pl-3 pr-5 py-2.5 shadow-sm border border-gray-200/60">
438+
<div className="bg-slate-100 p-2 rounded-xl">
439+
<Globe size={18} className="text-slate-500" />
440+
</div>
441+
<div>
442+
<p className="text-[10px] text-gray-400 font-semibold uppercase tracking-wide">Network</p>
443+
<p className="text-sm font-bold text-slate-800 whitespace-nowrap">{process.env.NEXT_PUBLIC_NETWORK_NAME}</p>
444+
</div>
440445
</div>
441446
)}
442447
</header>

0 commit comments

Comments
 (0)