A modern, interactive learning platform built with Next.js, TypeScript, and Tailwind CSS. This is a complete rewrite of the original HTML/CSS/JavaScript ICT Revision Hub using modern web development practices.
- Modern Tech Stack: Built with Next.js 15, TypeScript, and Tailwind CSS
- Interactive Components: Reusable React components with Framer Motion animations
- Dark/Light Theme: System-aware theme switching with smooth transitions
- Authentication: Integrated auth system with JWT tokens
- Responsive Design: Mobile-first design that works on all devices
- Glassmorphism UI: Beautiful glass-effect design with custom CSS variables
- Performance Optimized: Fast loading with Next.js optimizations
- SEO Friendly: Proper meta tags and structured data
- Neon Alt Experience:
/new-designroute showcases the experimental immersive layout with AI chat and fluid backgrounds
- Framework: Next.js 15 with App Router
- Language: TypeScript
- Styling: Tailwind CSS with custom CSS variables
- Animations: Framer Motion
- Icons: Lucide React
- State Management: React Context API
- Authentication: Custom JWT-based auth system
- UI Components: Headless UI for accessible components
- Node.js 18+
- npm or yarn package manager
-
Navigate to the Next.js project
cd nextjs-revision-hub -
Install dependencies
npm install
-
Start development server
npm run dev
-
Open in browser
http://localhost:3000
npm run build
npm start- Create a
.env.localfile if you do not already have one - Add your Gemini key (requires Google AI Studio access)
GEMINI_API_KEY=your-key-here
- Start the dev server and open
http://localhost:3000/new-designto explore the immersive prototype and AI chat.
src/
├── app/ # Next.js App Router pages
│ ├── layout.tsx # Root layout with providers
│ ├── page.tsx # Homepage
│ ├── javascript/ # JavaScript course page
│ ├── python/ # Python algorithms page
│ └── courses/ # All courses listing
├── components/ # Reusable React components
│ ├── Header.tsx # Navigation header
│ ├── HeroSection.tsx # Landing page hero
│ ├── ResourceCard.tsx # Course/resource cards
│ ├── TagFilter.tsx # Filter buttons
│ ├── SearchBar.tsx # Floating search
│ ├── AuthModal.tsx # Authentication modal
│ ├── Footer.tsx # Site footer
│ └── Loading.tsx # Loading animation
├── contexts/ # React Context providers
│ ├── ThemeContext.tsx # Dark/light theme
│ └── AuthContext.tsx # Authentication state
├── data/ # Static data and configuration
│ └── resources.ts # Course/resource data
├── lib/ # Utility functions
│ └── utils.ts # Tailwind class utilities
└── types/ # TypeScript type definitions
└── index.ts # Shared interfaces
- Glassmorphism Effects: Backdrop blur with subtle transparency
- Smooth Animations: Framer Motion for natural interactions
- Dark/Light Themes: Automatic system detection with manual toggle
- Responsive Layout: Mobile-first design approach
- Interactive Elements: Button press effects and micro-interactions
This Next.js version maintains all functionality from the original HTML version while adding modern development practices and better performance. The original HTML files remain accessible for backward compatibility.
The application is now running at: http://localhost:3000
- Homepage with hero section and resource cards
- Dark/light theme toggle
- Authentication modal
- Responsive design
- Smooth animations and interactions