feat: Hackathon Hub — discovery, team formation, bookmark (closes #139)#153
Open
arcgod-design wants to merge 1 commit into
Open
feat: Hackathon Hub — discovery, team formation, bookmark (closes #139)#153arcgod-design wants to merge 1 commit into
arcgod-design wants to merge 1 commit into
Conversation
…NNG2004#139) - New events Firestore collection (kind: 'hackathon') - /hackathons — hub with real-time onSnapshot feed, search/mode/organizer/topic filters, sort by newest/deadline/start, inline bookmark toggle, 'Your Saved' shelf for signed-in users - /hackathons/post — authenticated form with title/description/dates/city/website/tags/maxTeamSize/banner color - /hackathons/[id] — detail page with real-time subscription, banner hero, mode/organizer-type badges, registration-closed indicator, external 'Register on Organizer Site' redirect, delete (author-only), bookmark - components/hackathons/HackathonCard — gradient banner, mode/organizer badges, tags, team-seeker count, bookmark button (aria-pressed) - components/hackathons/HackathonFilters — search + 4 selects (mode/organizer/topic/sort) using theme tokens - components/hackathons/TeamFinder — opt-in 'Looking for Team' list with note (max 280 chars), self-remove button, avatar fallback initial - lib/hackathons.js — CRUD, bookmark toggle, team-seeker add/remove, real-time subscribe helpers, normalizeEvent mapping Firestore timestamps → ISO - Navbar — new Hackathon Hub icon link - PostHog events — HACKATHON_VIEWED/BOOKMARKED/POSTED/TEAM_SEEKER_ADDED
👷 Deploy request for devconnectai pending review.Visit the deploys page to approve it
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hackathon Hub (closes #139)
Centralized hub for hackathon discovery, team formation, and bookmarking — backed by a new Firestore
eventscollection (kind: "hackathon").What ships
/hackathonsonSnapshotfeed, search, mode/organizer/topic filters, sort by newest/deadline/start, inline bookmark, "Your Saved" shelf/hackathons/post/hackathons/[id]Features
bookmarksarray of UID); "Your Saved" shelf on hub only shows when signed inrel="noopener noreferrer")onSnapshot; new posts, bookmarks, and team seekers reflect instantlyhackathon_viewed,hackathon_bookmarked,hackathon_posted,hackathon_team_seeker_addedFiles
Data model (Firestore
eventscollection)Validation
npm run check:structure✓npm run build✓ (all 3 routes compiled:/hackathons,/hackathons/post,/hackathons/[id])"use client"directivevar(--accent-*),var(--bg-*),var(--text-*)tokens)Notes
organizerfromuser.displayNameProtectedRoutewraps all three pages, redirecting unauthenticated users to/login