import { Bell, BookOpen, ChevronRight, Info, LogOut, Settings } from 'lucide-react';
interface Props {
onNavigate: (page: string) => void;
}
interface Item {
icon: React.ReactNode;
label: string;
sublabel?: string;
page?: string;
destructive?: boolean;
}
const ITEMS: Item[][] = [
[
{ icon: , label: 'Preferences', sublabel: 'General settings', page: 'general' },
{ icon: , label: 'Notifications' },
],
[
{ icon: , label: 'Documentation' },
{ icon: , label: 'About Meatloaf', page: 'about-meatloaf' },
],
[
{ icon: , label: 'Log Out', destructive: true },
],
];
export default function ProfilePage({ onNavigate }: Props) {
return (
Profile
{ITEMS.map((group, gi) => (
{group.map((item, ii) => (
))}
))}
);
}