refactor: improve auth defaults, update UI, and docs

- Provide fallback values for auth environment variables
- Refine global CSS styles and typography
- Update application metadata descriptions
- Add toast error handling to clients page
- Formalize phase implementation guidelines in AGENTS.md
This commit is contained in:
Team Dark Devil committed 2026-11-16 21:58:18 +06:00
1 parent df14ee1a9a
commit fde2c86b1e
48 files changed
+1062 -1665

No files matched your search

+4 -6
View File
@@ -5,17 +5,15 @@ interface StatCardProps {
label: string;
value: string | number;
unit?: string;
meta: string;
}
export const StatCard: React.FC<StatCardProps> = ({ label, value, unit, meta }) => (
export const StatCard: React.FC<StatCardProps> = ({ label, value, unit }) => (
<Card compact className="bg-[var(--surface)]">
<div className="mb-1.5 text-[10px] uppercase text-[var(--text-faint)]">{label}</div>
<div className="text-[22px] font-medium leading-tight text-[var(--text)]">
<div className="mb-1 text-[10px] uppercase tracking-wider text-[var(--text-faint)]">{label}</div>
<div className="font-mono text-[16px] font-medium leading-tight tabular-nums text-[var(--text)]">
{value}
{unit && <span className="ml-1 text-[11px] font-normal text-[var(--text-muted)]">{unit}</span>}
{unit && <span className="ml-1 font-sans text-[10.5px] font-normal text-[var(--text-muted)]">{unit}</span>}
</div>
<div className="mt-2 text-[11px] text-[var(--text-muted)]">{meta}</div>
</Card>
);