Create a responsive web-app dashboard called “ACME” for a Content Supply Chain.
Overall layout • Two zones: a fixed left sidebar (desktop width ≈ 240 px, collapsible to 64 px) and a main area. • A top horizontal navbar sits inside the main area.
Left sidebar (from top to bottom)
Top navbar (horizontal, full width of main area) • Left-aligned menu items (medium weight text): “Crear” · “Tareas” · “Galería” · “Mensajes” – show a tiny primary-colored dot to the top-right of “Tareas” and “Mensajes”. • Spacer grows. • Right-aligned user area: “123” (remaining tokens) • avatar icon (lucide-react: User, 32 × 32 px, circular).
Main content • Leave an empty <div className="flex-1"> area for future pages.
Visual style
• Tech stack: Next.js / React / TypeScript + Tailwind CSS.
• Font: Inter, 14 px base.
• Color palette:
– Sidebar bg: slate-50 (#f8fafc
)
– Primary accent: indigo-600 (#4f46e5
)
– Text: slate-900 on light bg
• Use Tailwind dark-mode classes (dark:
) to provide a dark variant.
• Add smooth hover states (transition-colors duration-150
).
Behaviour • Sidebar collapses on screens < md; hamburger toggles visibility. • Active project & tool are stored in React state; clicking updates highlights. • Show notification dots only when counts > 0 (hard-code true for now). • No external data fetching—use stub arrays for projects / tools.
Deliverables • One self-contained component (or page) that renders the full layout. • Use lucide-react for icons, next-themes for dark-mode toggle if you wish. • Code should be production-ready, well-structured and typed.
I'll create a responsive ACME dashboard for your Content Supply Chain with all the specified features. This will be a comprehensive dashboard with a collapsible sidebar, navigation, and proper state management.
I've created a comprehensive ACME dashboard that meets all your specifications:
dark:
classesThe dashboard is fully functional with proper state management, responsive design, and follows modern React/Next.js best practices. The code is modular, well-typed, and ready for production use.