Update frontend/src/components/AppHeader.jsx
Browse files
frontend/src/components/AppHeader.jsx
CHANGED
|
@@ -13,16 +13,20 @@ export default function AppHeader({ title, subtitle, right }) {
|
|
| 13 |
className="h-8 w-8 rounded-full border border-slate-200 bg-white object-cover"
|
| 14 |
/>
|
| 15 |
<div className="min-w-0">
|
| 16 |
-
|
|
|
|
| 17 |
{title}
|
| 18 |
</div>
|
|
|
|
|
|
|
| 19 |
{subtitle && (
|
| 20 |
-
<div className="text-xs text-slate-
|
| 21 |
{subtitle}
|
| 22 |
</div>
|
| 23 |
)}
|
| 24 |
</div>
|
| 25 |
</div>
|
|
|
|
| 26 |
{right && (
|
| 27 |
<div className="flex items-center gap-3 shrink-0">
|
| 28 |
{right}
|
|
|
|
| 13 |
className="h-8 w-8 rounded-full border border-slate-200 bg-white object-cover"
|
| 14 |
/>
|
| 15 |
<div className="min-w-0">
|
| 16 |
+
{/* Title - now full black */}
|
| 17 |
+
<div className="text-sm font-semibold tracking-tight text-black truncate">
|
| 18 |
{title}
|
| 19 |
</div>
|
| 20 |
+
|
| 21 |
+
{/* Subtitle - now darker than before */}
|
| 22 |
{subtitle && (
|
| 23 |
+
<div className="text-xs text-slate-600 truncate">
|
| 24 |
{subtitle}
|
| 25 |
</div>
|
| 26 |
)}
|
| 27 |
</div>
|
| 28 |
</div>
|
| 29 |
+
|
| 30 |
{right && (
|
| 31 |
<div className="flex items-center gap-3 shrink-0">
|
| 32 |
{right}
|