feat(frontend): mobile bottom nav, chatbot overhaul, responsive polish

- MobileNav: safe-area-aware bottom tab bar (< md), mirrors desktop nav
- Chatbot: timestamps, per-message copy, retry-on-fail, auto-grow composer,
  MarkdownLite (XSS-safe React nodes, no dangerouslySetInnerHTML)
- AppFrame: NavRail (md+) + MobileNav (< md) + bottom content padding
- Design system: SignalTone ambient (signal/amber/vermilion) driving WebGL
  haze + topbar status pill; SectionHeader/MetricTile; globals.css tokens
- Views: dashboard hero + AmbientField, analysis/media responsive grids
This commit is contained in:
asepharyana
2026-08-17 21:29:37 +07:00
parent b38616e051
commit 6bd6ddcdca
13 changed files with 356 additions and 50 deletions
@@ -12,12 +12,19 @@ export function SectionHeader({
className?: string;
}) {
return (
<div className={cn("mb-3 flex flex-wrap items-start justify-between gap-2 sm:gap-3", className)}>
<div
className={cn(
"mb-3 flex flex-wrap items-start justify-between gap-2 sm:gap-3",
className,
)}
>
<div className="min-w-0">
{eyebrow && <div className="eyebrow mb-1">{eyebrow}</div>}
<h2 className="display text-xl text-ink">{title}</h2>
<h2 className="display text-balance text-xl text-ink">{title}</h2>
</div>
{action && <div className="flex flex-wrap items-center gap-2">{action}</div>}
{action && (
<div className="flex flex-wrap items-center gap-2">{action}</div>
)}
</div>
);
}