Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
f4dcdc0
fix: modify api.ts
Benjtalkshow Oct 14, 2025
b90d4ed
Merge branch 'main' of https://github.com/Benjtalkshow/boundless into…
Benjtalkshow Oct 16, 2025
9ea81a5
Merge branch 'main' of https://github.com/Benjtalkshow/boundless into…
Benjtalkshow Oct 16, 2025
5be269f
fix: remove google auth buttom
Benjtalkshow Oct 16, 2025
490dcb2
Merge branch 'main' of https://github.com/Benjtalkshow/boundless into…
Benjtalkshow Oct 20, 2025
842fd48
fix: fixes responsive fixes on organization
Benjtalkshow Oct 20, 2025
596a7f8
fix: minor fixes
Benjtalkshow Nov 6, 2025
96fee24
fix: minor fixes
Benjtalkshow Nov 6, 2025
9dfb149
fix: modify create organization
Benjtalkshow Nov 7, 2025
a194d90
fix: modify create organization
Benjtalkshow Nov 7, 2025
b2ceee0
fix: fix organization permission
Benjtalkshow Nov 8, 2025
9ea97d1
fix: merge into main
Benjtalkshow Nov 8, 2025
adb4629
Merge branch 'main' of https://github.com/Benjtalkshow/boundless into…
Benjtalkshow Nov 8, 2025
0c11420
fix: merge into main
Benjtalkshow Nov 8, 2025
1f5ec24
feat: hackathon overview page
Benjtalkshow Nov 11, 2025
bca1ef6
feat: hackathon overview page
Benjtalkshow Nov 11, 2025
9202b4f
feat: implement participant overview
Benjtalkshow Nov 12, 2025
096f265
feat: implement participant overview
Benjtalkshow Nov 12, 2025
b3478d0
feat: implement resources tab
Benjtalkshow Nov 12, 2025
e83a0be
feat: implement the submission tab
Benjtalkshow Nov 12, 2025
398be9b
feat: implement comment tab
Benjtalkshow Nov 12, 2025
de546b1
fix: implement provider for hackathon
Benjtalkshow Nov 14, 2025
0fd2690
fix: implement provider for hackathon
Benjtalkshow Nov 14, 2025
0d7417f
fix: minor fixes
Benjtalkshow Nov 15, 2025
4d3efee
fix: merge branch 'main' of https://github.com/Benjtalkshow/boundless…
Benjtalkshow Nov 15, 2025
83893e4
fix: hackathon banner
Benjtalkshow Nov 15, 2025
8013d62
fix: hackathon banner
Benjtalkshow Nov 15, 2025
3fb1323
fix: fix hackthon conflict
Benjtalkshow Nov 15, 2025
b7fc94f
Merge branch 'main' of https://github.com/Benjtalkshow/boundless into…
Benjtalkshow Nov 15, 2025
0594ac8
Merge branch 'main' of https://github.com/Benjtalkshow/boundless into…
Benjtalkshow Nov 15, 2025
7e08bc1
fix: fix organization page
Benjtalkshow Nov 15, 2025
22c12c1
fix: fix organization page
Benjtalkshow Nov 16, 2025
08e5be5
fix: fix organization page
Benjtalkshow Nov 16, 2025
8e6bded
Merge branch 'main' of https://github.com/Benjtalkshow/boundless into…
Benjtalkshow Nov 16, 2025
5e6c9e6
fix: use transform
Benjtalkshow Nov 17, 2025
9135f2e
Merge branch 'main' of https://github.com/Benjtalkshow/boundless into…
Benjtalkshow Nov 17, 2025
c2409f4
fix: add tagline
Benjtalkshow Nov 18, 2025
b08579a
fix: add tagline
Benjtalkshow Nov 18, 2025
4b8ef58
fix: fix conflict
Benjtalkshow Nov 18, 2025
0ee756e
Merge branch 'main' of https://github.com/Benjtalkshow/boundless into…
Benjtalkshow Nov 19, 2025
ab0384d
fix: minor fixes
Benjtalkshow Nov 20, 2025
91b5c18
Merge branch 'main' of https://github.com/Benjtalkshow/boundless into…
Benjtalkshow Nov 20, 2025
67c9fee
fix: minor fixes
Benjtalkshow Nov 21, 2025
9b2029b
Merge branch 'main' of https://github.com/Benjtalkshow/boundless into…
Benjtalkshow Nov 21, 2025
1fca425
fix: fix timeline and prizes
Benjtalkshow Nov 23, 2025
3c057a0
Merge branch 'main' of https://github.com/Benjtalkshow/boundless into…
Benjtalkshow Nov 23, 2025
a75f5ee
fix: correct timeline events
Benjtalkshow Nov 26, 2025
da0d27f
Merge branch 'main' of https://github.com/Benjtalkshow/boundless into…
Benjtalkshow Nov 26, 2025
3a0c19b
fix: implement registration deadline policy
Benjtalkshow Nov 27, 2025
c616182
fix: implement registration deadline policy
Benjtalkshow Nov 27, 2025
9a98077
fix: implement registration deadline policy
Benjtalkshow Nov 27, 2025
3ac17f8
Merge branch 'main' of https://github.com/Benjtalkshow/boundless into…
Benjtalkshow Nov 28, 2025
386a338
feat: implement leave hackathon
Benjtalkshow Nov 28, 2025
f4ed466
feat: implement leave hackathon
Benjtalkshow Nov 28, 2025
12a1705
feat: implement leave hackathon
Benjtalkshow Nov 28, 2025
dd60321
fix: delete hackathon
Benjtalkshow Nov 28, 2025
a4e22b0
Merge branch 'main' of https://github.com/Benjtalkshow/boundless into…
Benjtalkshow Nov 28, 2025
19dd6ee
fix: implement invite participants
Benjtalkshow Nov 30, 2025
8211c60
Merge branch 'main' of https://github.com/Benjtalkshow/boundless into…
Benjtalkshow Nov 30, 2025
fdebd0b
fix: implement participant profile viewing
Benjtalkshow Dec 1, 2025
f7fad5c
feat: fetch participants team
Benjtalkshow Dec 1, 2025
c110717
Merge branch 'main' of https://github.com/Benjtalkshow/boundless into…
Benjtalkshow Dec 1, 2025
68b1a2d
fix: redesign hackathon banner
Benjtalkshow Dec 1, 2025
9cf2a9e
Merge branch 'main' of https://github.com/Benjtalkshow/boundless into…
Benjtalkshow Dec 1, 2025
d662148
fix: fix hackthon card
Benjtalkshow Dec 4, 2025
6037e99
fix: Resolve conflict: delete middleware.ts
Benjtalkshow Dec 5, 2025
bc80ddb
Merge branch 'main' of https://github.com/Benjtalkshow/boundless into…
Benjtalkshow Dec 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/(landing)/hackathons/[slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ export default function HackathonPage() {

{activeTab === 'resources' &&
currentHackathon?.resources?.resources?.[0] && (
<HackathonResources hackathonSlugOrId={hackathonId} />
<HackathonResources />
)}
</div>
</div>
Expand Down
12 changes: 6 additions & 6 deletions app/(landing)/profile/[username]/profile-data.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function ProfileData({ username }: PublicProfileDataProps) {
try {
setLoading(true);
const data = await getUserProfileByUsername(username);
console.log('userData:', data); // This will log the actual data
// console.log('userData:', data);
setUserData(data);
} catch (err) {
setError(`Failed to load user profile: ${err}`);
Expand All @@ -59,11 +59,11 @@ export function ProfileData({ username }: PublicProfileDataProps) {
}, [username]);

// This logs on every render - will show null initially, then the data after fetch
useEffect(() => {
if (userData) {
console.log('Current userData state:', userData);
}
}, [userData]);
// useEffect(() => {
// if (userData) {
// console.log('Current userData state:', userData);
// }
// }, [userData]);

if (loading) {
return (
Expand Down
2 changes: 2 additions & 0 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
generateWebsiteStructuredData,
} from '@/lib/structured-data';
import NextTopLoader from 'nextjs-toploader';
import DevelopmentStatusModal from '@/components/DevelopmentStatusModal';

const inter = Inter({
variable: '--font-inter',
Expand Down Expand Up @@ -95,6 +96,7 @@ export default function RootLayout({
{children}
<Toaster />
<CookieConsent />
<DevelopmentStatusModal />
</Providers>
<AnalyticsWrapper />
</body>
Expand Down
163 changes: 163 additions & 0 deletions components/DevelopmentStatusModal.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
'use client';

import React, { useState, useEffect } from 'react';
import { Code2, X } from 'lucide-react';
import {
Dialog,
DialogContent,
DialogDescription,
DialogTitle,
} from '@/components/ui/dialog';

const BRAND_COLOR = '#a7f950';
const DEV_MODAL_KEY = 'dev-status-modal-dismissed';

const DevelopmentStatusModal = () => {
const [isOpen, setIsOpen] = useState(false);

useEffect(() => {
// Check if user has already dismissed the modal
try {
const dismissed = localStorage.getItem(DEV_MODAL_KEY);
if (!dismissed) {
// Show modal after a short delay
const timer = setTimeout(() => {
setIsOpen(true);
}, 800);
return () => clearTimeout(timer);
}
} catch {
// If localStorage fails, show the modal anyway
setIsOpen(true);
}
}, []);

const handleClose = () => {
try {
localStorage.setItem(DEV_MODAL_KEY, 'true');
} catch {
// Silently fail if localStorage is not available
}
setIsOpen(false);
};

return (
<Dialog open={isOpen} onOpenChange={setIsOpen}>
<DialogContent className='max-w-md overflow-hidden border border-zinc-800 bg-zinc-900 p-0 text-white [&>button]:hidden'>
{/* Header with gradient background */}
<div
className='relative px-6 pt-6 pb-4'
style={{
background: `linear-gradient(135deg, ${BRAND_COLOR}15 0%, transparent 100%)`,
}}
>
<div className='absolute top-4 right-4'>
<button
onClick={handleClose}
className='rounded-full p-1 transition-colors hover:bg-zinc-800'
aria-label='Close modal'
>
<X className='h-4 w-4 text-zinc-400' />
</button>
</div>

<div className='flex items-start gap-4'>
<div
className='flex h-12 w-12 shrink-0 items-center justify-center rounded-xl'
style={{ backgroundColor: `${BRAND_COLOR}20` }}
>
<Code2 className='h-6 w-6' style={{ color: BRAND_COLOR }} />
</div>
<div className='flex-1 pt-1'>
<DialogTitle className='mb-2 text-lg font-bold text-white'>
Boundless is Under Active Development
</DialogTitle>
</div>
</div>
</div>

{/* Content */}
<div className='px-6 pb-6'>
<DialogDescription className='mb-4 text-sm leading-relaxed text-zinc-400'>
Welcome to Boundless! We're actively building and improving the
platform. You may encounter:
</DialogDescription>

<div className='mb-6 space-y-3'>
<div className='flex items-start gap-3'>
<div
className='mt-0.5 flex h-5 w-5 shrink-0 items-center justify-center rounded-full'
style={{ backgroundColor: `${BRAND_COLOR}20` }}
>
<div
className='h-2 w-2 rounded-full'
style={{ backgroundColor: BRAND_COLOR }}
/>
</div>
<p className='text-sm text-zinc-300'>
New features being rolled out regularly
</p>
</div>

<div className='flex items-start gap-3'>
<div
className='mt-0.5 flex h-5 w-5 shrink-0 items-center justify-center rounded-full'
style={{ backgroundColor: `${BRAND_COLOR}20` }}
>
<div
className='h-2 w-2 rounded-full'
style={{ backgroundColor: BRAND_COLOR }}
/>
</div>
<p className='text-sm text-zinc-300'>
Occasional bugs and UI improvements in progress
</p>
</div>

<div className='flex items-start gap-3'>
<div
className='mt-0.5 flex h-5 w-5 shrink-0 items-center justify-center rounded-full'
style={{ backgroundColor: `${BRAND_COLOR}20` }}
>
<div
className='h-2 w-2 rounded-full'
style={{ backgroundColor: BRAND_COLOR }}
/>
</div>
<p className='text-sm text-zinc-300'>
Changes to features and functionality
</p>
</div>
</div>

<div className='mb-6 rounded-lg border border-zinc-800 bg-zinc-900/50 p-4'>
<p className='text-xs leading-relaxed text-zinc-400'>
<strong className='text-zinc-300'>Your feedback matters!</strong>{' '}
Help us build the best platform by reporting issues or suggesting
improvements through our support channels.
</p>
</div>

<button
onClick={handleClose}
className='w-full rounded-lg px-4 py-2.5 text-sm font-medium transition-colors'
style={{
backgroundColor: BRAND_COLOR,
color: '#000',
}}
onMouseEnter={e => {
e.currentTarget.style.backgroundColor = '#8ae63a';
}}
onMouseLeave={e => {
e.currentTarget.style.backgroundColor = BRAND_COLOR;
}}
>
Got it, let's explore!
</button>
</div>
</DialogContent>
</Dialog>
);
};

export default DevelopmentStatusModal;
4 changes: 2 additions & 2 deletions components/auth/login-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export function LoginForm({ onSuccess, onError }: LoginFormProps) {
const onSubmit = async (data: LoginFormData) => {
try {
setIsLoading(true);
console.log('Attempting login for:', data.email);
// console.log('Attempting login for:', data.email);

const { error } = await authClient.signIn.email(
{
Expand All @@ -46,7 +46,7 @@ export function LoginForm({ onSuccess, onError }: LoginFormProps) {
},
{
onSuccess: () => {
console.log('Login successful');
// console.log('Login successful');
toast.success('Login successful!');
onSuccess?.();
},
Expand Down
3 changes: 2 additions & 1 deletion components/hackathons/participants/participantAvatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ export function ParticipantAvatar({ participant }: ParticipantAvatarProps) {
</div>

<span className='text-sm text-gray-200 transition-colors group-hover:text-[#a7f950]'>
{participant.username}
{participant.username.slice(0, 1).toUpperCase() +
participant.username.slice(1)}
</span>
</div>
</TooltipTrigger>
Expand Down
Loading
Loading