Smart Campus App - v0 by VercelSmart Campus App - v0 by Vercel
[pasted 244 lines]
pasted 244 lines.txt
5d ago
I'll convert this Smart Campus HTML application into a modern Next.js React app with proper components and styling. Let me first generate some design inspiration to make this look polished.
Now I'll build the Smart Campus app with a modern, clean design. Let me update the theme and create the components.
Now let me create the main Smart Campus application:
I've converted your Smart Campus HTML application into a modern Next.js React app with the following features:
Features implemented:
Login Page - Students enter their ID and name to access the system
Home Dashboard - Real-time density status for Study Area, Cafeteria, Parking, and Lift with color-coded indicators (green/yellow/red)
Reserve Page - Book spaces with a 5-minute auto-expiry timer and countdown display
Map View - Visual grid showing campus zones with density levels
Swap Page - Post exchange requests to swap spots with other students
Graph Page - Bar chart visualization of density data using Recharts with summary statistics
Design improvements:
Modern purple/lavender theme matching the original design
Status colors (green for available, amber for moderate, red for crowded)
Responsive mobile-first layout with fixed bottom navigation
Cards with left-border indicators showing status
Smooth transitions and hover effects
Thai language support throughout the UI
5d ago
0px
You can send messages while the preview loads
Code editing is not availableDuplicate this chat to use a more powerful code editor.