Skip to content

Feature: AI-Powered Hackathon Assistant & UX Refinement#1

Open
Chukwudebere-ferd wants to merge 3 commits intohack4coou:mainfrom
Chukwudebere-ferd:main
Open

Feature: AI-Powered Hackathon Assistant & UX Refinement#1
Chukwudebere-ferd wants to merge 3 commits intohack4coou:mainfrom
Chukwudebere-ferd:main

Conversation

@Chukwudebere-ferd
Copy link
Copy Markdown

This PR introduces an intelligent AI Chatbot Assistant to the Hack4COOU landing page. The assistant is powered by Gemini 2.5 Flash and is designed to provide participants with instant, accurate information about the event, schedule, and tracks, replacing the legacy static FAQ section for a more dynamic user experience.

Key Features

  1. Intelligent Assistant: Integrated a floating AI chatbot pre-loaded with comprehensive hackathon context (prizes, timeline, training tracks, any thing about coou ,etc.).
  2. Performance & Security: Built a secure server-side API route (/api/chat) with direct HTTP calls to Gemini 2.5 Flash to ensure fast responses while keeping API keys hidden.

UX Enhancements:
Added a "Ask me anything!" discoverability tooltip with slide in animations to encourage engagement.
Replaced all raw emojis with Lucide icons for a more professional and modern design.
Implemented a "Typing indicator" and suggested questions for a seamless chat flow.

Cleanup:
Removed the static FAQ section and its navigation links to streamline the landing page.

Technical Notes
Environment Variables: A new GEMINI_API_KEY is required. I've added a placeholder to
.env.example

Dependencies: Added lucide-react for iconography.
Responsiveness: The chat widget is fully responsive and matches the site's dark theme.

How to Test
Add your GEMINI_API_KEY to your (or i can send you mine privately)
.env.local
file.
Run npm run dev.
Interact with the "Sparkle" button in the bottom-right corner.
Try asking: "When is the registration deadline?" or "What are the training tracks?"
Screenshot 2026-02-23 132953

@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 23, 2026

@Chukwudebere-ferd is attempting to deploy a commit to the Hack4Coou's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant