import { ChartBar, Code, Database, Tree, FlowArrow, PaintBrush, Flask, Play, BookOpen, Cube, Wrench, FileText, Gear, DeviceMobile, Image, Faders, Lightbulb, } from '@phosphor-icons/react' interface PageHeaderProps { activeTab: string } const tabInfo: Record = { dashboard: { title: 'Dashboard', icon: , description: 'Project overview and statistics', }, code: { title: 'Code Editor', icon: , description: 'Edit project files', }, models: { title: 'Models', icon: , description: 'Define Prisma data models', }, components: { title: 'Components', icon: , description: 'Create React components', }, 'component-trees': { title: 'Component Trees', icon: , description: 'Manage component hierarchies', }, workflows: { title: 'Workflows', icon: , description: 'Design automation workflows', }, lambdas: { title: 'Lambdas', icon: , description: 'Serverless functions', }, styling: { title: 'Styling', icon: , description: 'Theme and design tokens', }, sass: { title: 'Sass Styles', icon: , description: 'Custom Sass stylesheets', }, favicon: { title: 'Favicon Designer', icon: , description: 'Design app icons', }, flask: { title: 'Flask API', icon: , description: 'Backend API configuration', }, playwright: { title: 'Playwright', icon: , description: 'E2E test scenarios', }, storybook: { title: 'Storybook', icon: , description: 'Component documentation', }, 'unit-tests': { title: 'Unit Tests', icon: , description: 'Unit test suites', }, errors: { title: 'Error Repair', icon: , description: 'Automated error detection and fixing', }, docs: { title: 'Documentation', icon: , description: 'Project guides and references', }, settings: { title: 'Settings', icon: , description: 'Project configuration', }, pwa: { title: 'PWA', icon: , description: 'Progressive Web App settings', }, features: { title: 'Features', icon: , description: 'Toggle feature modules', }, ideas: { title: 'Feature Ideas', icon: , description: 'Brainstorm and organize feature ideas', }, } export function PageHeader({ activeTab }: PageHeaderProps) { const info = tabInfo[activeTab] || { title: 'Unknown', icon: , } return (
{info.icon}

{info.title}

{info.description && (

{info.description}

)}
) }