feat(02-01): add /mobile/analyzer placeholder so Analyzer tab does not 404
- Minimal server component with coming soon card - No data fetching — Phase 6 (ANL-01..06) owns the real implementation - Sparkles icon consistent with BottomNav tab icon - Resolves NAV-02: Analyzer tab in bottom nav has a valid route
This commit is contained in:
parent
01943a6dc9
commit
bb5b62af86
1 changed files with 33 additions and 0 deletions
33
app/mobile/analyzer/page.tsx
Normal file
33
app/mobile/analyzer/page.tsx
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
/* Placeholder for /mobile/analyzer.
|
||||
*
|
||||
* Phase 02 only adds the Analyzer tab to the bottom nav — the real feed
|
||||
* lands in Phase 6 (`docs/superpowers/specs/2026-05-03-mobile-shell-design.md`
|
||||
* §6.4). This file exists so tapping the Analyzer tab resolves to a real
|
||||
* route instead of 404. Phase 6 will replace this file with the actual
|
||||
* read-only feed page.
|
||||
*
|
||||
* DO NOT add features, data fetching, or UI beyond the "Coming soon"
|
||||
* card here — Phase 6 owns the real implementation. */
|
||||
|
||||
import { Sparkles } from 'lucide-react';
|
||||
|
||||
export const metadata = {
|
||||
title: 'Analyzer · Pulse',
|
||||
};
|
||||
|
||||
export default function MobileAnalyzerPlaceholder() {
|
||||
return (
|
||||
<div className="p-4">
|
||||
<div className="rounded-2xl border bg-card p-6 flex flex-col items-center text-center gap-3">
|
||||
<div className="h-12 w-12 rounded-2xl bg-primary/10 text-primary flex items-center justify-center">
|
||||
<Sparkles className="h-6 w-6" />
|
||||
</div>
|
||||
<h1 className="text-lg font-semibold">Analyzer feed coming soon</h1>
|
||||
<p className="text-sm text-muted-foreground max-w-xs">
|
||||
The mobile Analyzer feed is on its way. Until then, view full
|
||||
analyses on the desktop Analyzer.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue