This repository contains a customized version of the Mazer admin dashboard template, prepared for the Front-End Skill Assessment. The objective was to transform the generic template into a branded, data-driven application for "KeshavSoft", focusing on UI/UX improvements and dynamic data binding.
- Custom Branding: App title and navigation rebranded to "KeshavSoft".
- Royal Blue Theme: Primary color updated to
#4361eefor a premium, professional look. - Dynamic Data Binding: Dashboard components (Stats, Active Projects, Recent Activity, Team Members) are populated dynamically from
src/data.json. - New Component: Added a "Team Members" card to the dashboard to display user data.
- Layout Optimization: Reorganized the dashboard layout to prioritize charts (moved Visitors Profile to main area).
- Data Injection: Utilizing Nunjucks and global window objects to inject external JSON data into the frontend.
- Branding:
- Replaced all instances of "Mazer" with "KeshavSoft" in titles and sidebar.
- Updated
vite.config.jsanddata.jsonwith the new app name.
- Data Architecture:
- Identified existing JSON data handling.
- Created
dataHandler.jsto simulate data fetching and rendering. - Injected
dashboardDatafromdata.jsoninto thewindowobject viamaster.html.
- Data Binding:
- Replaced hardcoded "Latest Comments" table with dynamic Active Projects list.
- Replaced hardcoded "Recent Messages" with dynamic Recent Activity timeline.
- Connected Dashboard Stats to
data.json.
- UI/UX Enhancements:
- Theme: Changed primary color to Royal Blue (
#4361ee) in_variables.scss. - New Component: Added "Team Members" table to the dashboard.
- Layout:
- Layout:
- Removed sidebar column constraint to use full screen width.
- Reorganized all components into a fluid, responsive grid.
- Integrated "Recent Activity" and Profile Card into the main flow.
- Refined User Profile Card: Updated the design to use a vertical, centered layout with larger typography and avatar (80px) to effectively utilize full-column space.
- Theme: Changed primary color to Royal Blue (
The application uses mock data located in src/data.json, which simulates an API response.
- Dashboard Stats: Revenue, Customers, Projects, Tasks
- Projects: List of active projects with status and progress
- Activity: User activity log
- Users: Team members list
- Install Dependencies:
npm install
- Run Development Server:
npm run dev
- Build for Production:
npm run build
src/assets/scss/_variables.scss: Modified SCSS variables to apply the new color scheme.src/layouts/master.html: InjecteddashboardDataintowindow.dashboardDatafor client-side access.src/assets/js/dataHandler.js: Created a script to readwindow.dashboardDataand hydrate html containers.src/index.html: adapted the layout to include new ID-bound containers for dynamic content.
Based on Mazer (MIT License).

