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:
1 parent
df14ee1a9a
commit
fde2c86b1e
48 files changed
+1062
-1665
No files matched your search
@@ -2,18 +2,14 @@ import React from 'react';
|
||||
|
||||
interface AdminPageHeaderProps {
|
||||
title: string;
|
||||
subtitle?: string;
|
||||
actions?: React.ReactNode;
|
||||
}
|
||||
|
||||
export function AdminPageHeader({ title, subtitle, actions }: AdminPageHeaderProps) {
|
||||
export function AdminPageHeader({ title, actions }: AdminPageHeaderProps) {
|
||||
return (
|
||||
<header className="mb-4 flex flex-wrap items-center justify-between gap-3">
|
||||
<div>
|
||||
<h1 className="text-base font-medium tracking-tight text-[var(--text)]">{title}</h1>
|
||||
{subtitle && <p className="mt-0.5 text-xs text-[var(--text-muted)]">{subtitle}</p>}
|
||||
</div>
|
||||
{actions && <div className="flex items-center gap-2">{actions}</div>}
|
||||
<header className="mb-3 flex flex-wrap items-center justify-between gap-2">
|
||||
<h1 className="text-[14px] font-medium tracking-tight text-[var(--text)]">{title}</h1>
|
||||
{actions && <div className="flex items-center gap-1.5">{actions}</div>}
|
||||
</header>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user