How devansh2007-ruikar/gdg-frontend works
This is the GDG On Campus Ramdeobaba University recruitment landing portal: visitors explore the chapter, its events, team, FAQs and contact information, or use the Gemini assistant for guidance. The page assembles its sections, while the assistant sends chat requests to a server route that streams Gemini output or a fallback response. README-documented navigation links connect users to the separate event platform. Some section implementations are unsampled, so those links rely on README or page-assembly evidence; optional external services are shown separately.
Main entry points: page.tsx Home Page · route.ts Chat API · Navbar.tsx Navigation · UpcomingEvent.tsx Upcoming Events
Components 18
Landing Portal
- Home Page
src/app/page.tsx - Navigation
src/components/sections/Navbar.tsx - Theme Toggle
src/components/ui/ThemeToggle.tsx
Chapter Content
- Hero
src/components/sections/Hero.tsx - Upcoming Events
src/components/sections/UpcomingEvent.tsx - Meet the Team
src/components/sections/MeetTheTeam.tsx - FAQs
src/components/sections/FAQs.tsx - Contact Footer
src/components/sections/Footer.tsx - Event Content
src/data/events.ts - FAQ Content
src/data/faqs.ts - Team Content
src/data/team.ts - Footer Content
src/data/footer.ts
AI Assistant
- AI Launcher
src/components/ai/AIAssistantLauncher.tsx - Chat Modal
src/components/ai/AIAssistantModal.tsx - Chat API
src/app/api/chat/route.ts
External Platforms
- Gemini AI
- Event Platform
Other components
- Visitor
Connections 23
- Visitor → Home Page: opens
src/app/page.tsx - Home Page → Navigation: renders
src/app/page.tsx - Home Page → Hero: renders
src/app/page.tsx - Home Page → Upcoming Events: renders
src/app/page.tsx - Home Page → Meet the Team: renders
src/app/page.tsx - Home Page → FAQs: renders
src/app/page.tsx - Home Page → Contact Footer: renders
src/app/page.tsx - Home Page → AI Launcher: renders
src/app/page.tsx - Navigation → Theme Toggle: renders
src/components/sections/Navbar.tsx - Upcoming Events → Event Content: reads
src/data/events.ts - FAQs → FAQ Content: reads
- Contact Footer → Footer Content: reads
src/components/sections/Footer.tsx - AI Launcher → Chat Modal: opens
src/components/ai/AIAssistantLauncher.tsx - Visitor → Chat Modal: asks
src/components/ai/AIAssistantModal.tsx - Chat Modal → Chat API: posts chat
- Chat API → Gemini AI: streams response
src/app/api/chat/route.ts - Chat API → FAQ Content: reads
src/app/api/chat/route.ts - Chat API → Team Content: reads
src/app/api/chat/route.ts - Chat API → Event Content: reads
src/app/api/chat/route.ts - Chat API → Footer Content: reads
src/app/api/chat/route.ts - Visitor → Event Platform: joins or registers
README.md - Navigation → Event Platform: links to login
README.md - Upcoming Events → Event Platform: links to events
README.md