- app/mobile/profile/page.tsx: server-component shell gated by requireAuth() + redirect('/auth/sign-in')
- ProfileSectionSkeleton.tsx: generic 3-row pulsing skeleton Card
- ProfileChannelsSectionPlaceholder.tsx: stub Channels card (Plan 05 swaps real component)
- MoreDrawer.tsx Account section: identity row wrapped in Link, new Profile & preferences row above Sign-out
25 lines
798 B
TypeScript
25 lines
798 B
TypeScript
'use client';
|
|
|
|
/**
|
|
* Placeholder for ProfileChannelsSection — wired in Plan 04 so the page
|
|
* compiles. Plan 05 replaces this file with the real component (Teams +
|
|
* ntfy + QR code). The named export `ProfileChannelsSection` matches the
|
|
* import in app/mobile/profile/page.tsx so the swap is a one-file change.
|
|
*/
|
|
|
|
import { Card, CardHeader, CardTitle, CardContent } from '@/components/ui/card';
|
|
|
|
export function ProfileChannelsSection() {
|
|
return (
|
|
<Card>
|
|
<CardHeader className="px-4 pt-4 pb-0">
|
|
<CardTitle>Personal Channels</CardTitle>
|
|
</CardHeader>
|
|
<CardContent className="px-4 py-4">
|
|
<p className="text-sm text-muted-foreground">
|
|
Coming soon — channel configuration ships in Plan 05.
|
|
</p>
|
|
</CardContent>
|
|
</Card>
|
|
);
|
|
}
|