I'll create a Next.js application that resembles the Cognizo.ai website with a dark theme and purple accents. Let's build this using the App Router and shadcn/ui components.
I've created a Next.js application that closely resembles the Cognizo.ai website from the screenshot. Here's what I've implemented:
Dashboard Demo: A detailed recreation of the analytics dashboard shown in the screenshot, including:
The implementation uses:
To run this project, you would:
npm run devThe design is fully responsive and maintains the modern, professional look of the original Cognizo website.
Here's a step-by-step guide to set up and run the Cognizo clone application on your local machine:
Make sure you have the following installed:
npx create-next-app cognizo-cloneWhen prompted, select the following options:
src/ directory? → Nocd cognizo-clonenpx shadcn@latest initWhen prompted, select the following options:
npx shadcn@latest add button card input progress tabsnpm install lucide-reactapp/page.tsx with the code from our app/page.tsx fileapp/layout.tsx with the code from our app/layout.tsx fileapp/globals.css with the code from our app/globals.css filecomponents/dashboard-demo.tsx and add our dashboard component codetailwind.config.ts matches our configurationnpm run devNow you can open your browser and navigate to http://localhost:3000 to see the application running.
Your project should have the following structure:
cognizo-clone/
├── app/
│ ├── globals.css
│ ├── layout.tsx
│ └── page.tsx
├── components/
│ ├── dashboard-demo.tsx
│ ├── theme-provider.tsx
│ └── ui/
│ ├── button.tsx
│ ├── card.tsx
│ ├── input.tsx
│ ├── progress.tsx
│ └── tabs.tsx
├── lib/
│ └── utils.ts
├── public/
├── tailwind.config.ts
└── package.jsonIf you encounter any issues:
globals.css and tailwind.config.ts are correctly set upnpm install @types/node @types/react @types/react-domLet me know if you need any clarification or run into any issues!