Refactor a bit more shit and make gas sites GLOW

This commit is contained in:
2025-06-16 16:46:24 +02:00
parent 0fa035601f
commit 4108ad80d4
3 changed files with 12 additions and 25 deletions

View File

@@ -43,13 +43,14 @@ export const SignatureListItem = ({ signature }: SignatureListItemProps) => {
};
const meta = getSignatureMeta(signature.type || "");
const isGasSite = signature.type?.toLowerCase().includes('gas');
const oldEntry = isOld();
return (
<div
className={`flex items-center justify-between p-4 border-b border-slate-700 hover:bg-slate-800/40 transition-colors ${oldEntry ? "opacity-50" : ""
}`}
className={`flex items-center justify-between p-4 border-b border-slate-700 hover:bg-slate-800/40 transition-colors ${
oldEntry ? "opacity-50" : ""
} ${isGasSite ? 'bg-emerald-900/40 border-emerald-500 shadow-[0_0_15px_rgba(16,185,129,0.5)] hover:shadow-[0_0_20px_rgba(16,185,129,0.7)]' : ''}`}
>
<div className="flex items-center gap-4 flex-1">
{/* Type Badge - Most Important */}