Skip to content

Commit 2da82c3

Browse files
authored
Fix hackathon (#372)
* fix: modify api.ts * fix: remove google auth buttom * fix: fixes responsive fixes on organization * fix: minor fixes * fix: modify create organization * fix: modify create organization * fix: fix organization permission * fix: merge into main * feat: hackathon overview page * feat: hackathon overview page * feat: implement participant overview * feat: implement participant overview * feat: implement resources tab * feat: implement the submission tab * feat: implement comment tab * fix: implement provider for hackathon * fix: implement provider for hackathon * fix: minor fixes * fix: hackathon banner * fix: hackathon banner * fix: fix organization page * fix: fix organization page * fix: use transform * fix: add tagline * fix: add tagline * fix: minor fixes * fix: minor fixes * fix: fix timeline and prizes * fix: correct timeline events * fix: implement registration deadline policy * fix: implement registration deadline policy * feat: implement leave hackathon * feat: implement leave hackathon * fix: delete hackathon * fix: implement invite participants * fix: implement participant profile viewing * feat: fetch participants team * fix: redesign hackathon banner * fix: fix hackthon card * fix: fix search bar in blog page * fix: fix search bar in blog page * fix: fix search bar in blog page * fix: fix error in fetching team posts * feat: implement create team, get my team * feat: implement create team, get my team * feat: implement hackathon project submission flow * feat: implement voting for submission * fix: team formation updates
1 parent 97fea64 commit 2da82c3

4 files changed

Lines changed: 2961 additions & 4182 deletions

File tree

components/hackathons/team-formation/CreateTeamPostModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ export function CreateTeamPostModal({
232232

233233
return (
234234
<BoundlessSheet open={open} setOpen={onOpenChange}>
235-
<div className='flex h-full flex-col bg-[#030303] text-white'>
235+
<div className='flex-colbg-background-main-bg flex h-full text-white'>
236236
<div className='border-b border-gray-800 p-6'>
237237
<h2 className='text-2xl font-bold'>
238238
{isEditMode ? 'Edit Team Post' : 'Create Team Post'}

components/hackathons/team-formation/TeamDetailsSheet.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ export function TeamDetailsSheet({
192192

193193
return (
194194
<BoundlessSheet open={open} setOpen={onOpenChange}>
195-
<div className='flex h-full flex-col bg-[#030303] text-white'>
195+
<div className='bg-background-main-bg flex h-full flex-col text-white'>
196196
<ScrollArea className='flex-1'>
197197
<div className='p-6'>
198198
{/* Header */}

components/hackathons/team-formation/TeamRecruitmentPostCard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ export function TeamRecruitmentPostCard({
228228
return (
229229
<div
230230
onClick={handleCardClick}
231-
className={`group hover:border-primary/45 mx-auto w-full max-w-[397px] overflow-hidden rounded-lg border border-[#2B2B2B] bg-[#030303] p-4 transition-all sm:p-5 ${onClick ? 'cursor-pointer hover:border-[#A7F950]/50' : ''}`}
231+
className={`group hover:border-primary/45 bg-background-main-bg mx-auto w-full max-w-[397px] overflow-hidden rounded-lg border border-[#2B2B2B] p-4 transition-all sm:p-5 ${onClick ? 'cursor-pointer hover:border-[#A7F950]/50' : ''}`}
232232
>
233233
{isPinned && (
234234
<div className='mb-2 flex items-center gap-1.5 text-xs font-semibold text-[#A7F950]'>
@@ -263,7 +263,7 @@ export function TeamRecruitmentPostCard({
263263

264264
<div className='flex items-center gap-2'>
265265
<Badge
266-
className={`flex-shrink-0 rounded border px-2 py-0.5 text-xs font-medium ${
266+
className={`shrink-0 rounded border px-2 py-0.5 text-xs font-medium ${
267267
post.isOpen
268268
? 'border-[#A7F950] bg-[#E5FFE5] text-[#4E9E00]'
269269
: 'border-[#FF5757] bg-[#FFEAEA] text-[#D33]'

0 commit comments

Comments
 (0)