Act as an enterprise frontend architect. Build a comprehensive Admin Dashboard UI for…
- User
Act as an enterprise frontend architect. Build a comprehensive Admin Dashboard UI for "AuraKode" using React and Tailwind CSS. This dashboard is for the platform owner to manage a storefront that sells website templates and SEO services to local vendors.
The design architecture must heavily draw inspiration from the "Aurora" Admin Template. It needs to handle dense data effortlessly, feature robust charts, and maintain a highly professional, pristine UI (support both Light and Dark mode toggles).
Dashboard Architecture & Navigation:
Provide a persistent Left Sidebar (collapsible) and a Top Navbar (with global search, notification bell, and admin profile). Sidebar links should include: Overview, Active Orders, Vendor CRM, Payments, Enquiries/Support, and Template Inventory.
Core Views to Generate:
-
Overview Dashboard (The Command Center):
- Top row metric cards (Total Revenue, Active Vendor Websites, Pending Deployments, New Enquiries).
- A large, sleek Area Chart (e.g., using Recharts or Chart.js styling) showing "Revenue vs Deployments" over the last 30 days.
- A mini-table of "Recent Transactions" showing vendor name, modules purchased (e.g., "Clinic Template + SEO + WhatsApp"), and payment status (Paid/Pending).
-
Order & Deployment Manager:
- A detailed Data Table with pagination, search, and filter capabilities.
- Columns: Order ID, Vendor Name, Template Chosen, Selected Modules (displayed as UI pill tags), Google Profile Status, and Action Buttons.
- Clicking an order should open a "Slide-out Drawer" or Modal showing the exact configuration the vendor played with and selected, their contact details, and deployment checklist.
-
Vendor CRM & Enquiries:
- A kanban board or detailed list view tracking customer support tickets, leads, and payment queries.
- A chat-like interface to view direct messages or WhatsApp inquiries from vendors.
-
Financials & Payments:
- A ledger view to track all incoming payments, generate invoices, and track outstanding balances for subscription models or one-time template purchases.
Technical & Aesthetic Constraints:
- UI Library Vibe: Emulate Material UI or Shadcn UI for a very structured, enterprise-grade feel.
- Use subtle borders, card shadows, and organized grid layouts to group data logically.
- The UI must look like a high-end SaaS product—clean, data-dense, but not overwhelming.
- Ensure all tables and charts are responsive. Use dummy data to populate the charts and tables so the layout can be visualized immediately.
-
- Assistant
I'll build a comprehensive enterprise-grade Admin Dashboard for AuraKode. Let me start by exploring the project structure.
Now let me install the necessary packages for charts and icons:
Now let me create the comprehensive dashboard structure. I'll create all the necessary component files:
Let me rewrite the Orders.tsx file to fix the issues:
Now let me create the VendorCRM component:
Now let me create the Payments component:
Let me fix the linting issues. First, let me update the Overview.tsx file:
Let me rewrite the Overview.tsx file completely:
Files built:
src/types/index.ts,src/hooks/useTheme.ts,src/components/common/MetricCard.tsx,src/components/common/Card.tsx,src/components/layout/Sidebar.tsx,src/components/layout/Navbar.tsx,src/components/dashboard/Overview.tsx,src/components/dashboard/Orders.tsx,src/components/dashboard/VendorCRM.tsx,src/components/dashboard/Payments.tsx
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.