i want u to create nextjs obe detailed project with black and white as website combination where white as background
I'll create a sleek, modern Next.js website with a minimalist black and white color scheme. The design will feature a clean white background with black text and UI elements for maximum contrast and readability.
I've created a modern, minimalist Next.js website with a black and white color scheme as requested. The design features a clean white background with black text and UI elements for maximum contrast and readability.
Modern UI Components:
The website has a professional, elegant aesthetic that puts the focus on your content while maintaining visual interest through thoughtful typography and layout.
Here's a clearer and grammatically correct version of your prompt that you can use to describe your frontend requirement to any developer or to another AI tool:
Corrected Prompt in English:
I am building a frontend for a NestJS-based application where the files are saved with the .js extension. The application should open with a layout that includes a TopBar and a Sidebar component.
In the TopBar, there is a Select Dropdown called "Role" with three options:
Course Coordinator
Course Associator
HOD (Head of Department)
Based on the selected role, the Sidebar content should dynamically change:
If Course Coordinator is selected, the Sidebar should display:
Home
Course Builder
CIE
CO Attainment
Group Discussion Attendance
Mentoring
If Course Associator is selected, it should show a different Sidebar Home Subject Builder My Batches Attendance Lab Attendance Assignments CIE CIE Evaluations If HOD is selected, the Sidebar should show:
Dashboard
Course
Report
Faculty Mapping
Clicking any item in the Sidebar should load the corresponding page/component in the main content area (use routing for navigation).
Please provide:
The frontend NEXTJS with.js extension code (including routing logic)......give code for it
I'll create a Next.js application with role-based navigation that matches your requirements. The application will have a TopBar with a role selector and a dynamic Sidebar that changes based on the selected role.
I've created a Next.js application with role-based navigation that matches your requirements. The application includes:
TopBar with a role selector dropdown for:
Dynamic Sidebar that changes based on the selected role:
AppContext manages the selected role stateTopBar component allows users to switch between rolesSidebar component renders different navigation items based on the current roleMainLayout component wraps all pages with the TopBar and SidebarThe application closely resembles the screenshot you provided, with a dark sidebar, role selector in the top bar, and appropriate content area.