feat: add phase 1 runnable skeleton
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
import type { ReactNode } from 'react';
|
||||
import type { ScreenId } from '../../app/navigation.js';
|
||||
import { BottomNav } from '../bottom-nav/BottomNav.js';
|
||||
|
||||
type AppShellProps = {
|
||||
activeScreen: ScreenId;
|
||||
children: ReactNode;
|
||||
onNavigate: (screen: ScreenId) => void;
|
||||
};
|
||||
|
||||
export function AppShell({ activeScreen, children, onNavigate }: AppShellProps) {
|
||||
return (
|
||||
<div className="app-shell">
|
||||
<header className="app-header">
|
||||
<div>
|
||||
<p className="eyebrow">Hermes Mobile</p>
|
||||
<h1>Agent command center</h1>
|
||||
</div>
|
||||
<div className="status-pill">
|
||||
<span className="status-pill__dot" />
|
||||
Companion pending
|
||||
</div>
|
||||
</header>
|
||||
<main className="app-main">{children}</main>
|
||||
<BottomNav activeScreen={activeScreen} onNavigate={onNavigate} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user