Skip to content

Commit 1532b5c

Browse files
committed
changes
1 parent 66679a7 commit 1532b5c

7 files changed

Lines changed: 10 additions & 10 deletions

File tree

components/registration/discover-container.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,7 @@ export function DiscoverContainer() {
852852
)}
853853
{!user?.hasSolvedChallenge && (
854854
<span className="px-[8px] py-[2px] bg-red-500/10 border border-red-500/20 rounded-[6px] text-[11px] text-red-400 font-semibold tracking-wide">
855-
🔴 Unverified Noob
855+
🔴 Bro wasn’t able even able to find a damn flag
856856
</span>
857857
)}
858858
</div>

components/registration/profile-container.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ export function ProfileContainer() {
311311
className="text-[14px] font-semibold text-white cursor-pointer"
312312
style={{ fontFamily: "var(--font-body)" }}
313313
>
314-
Discoverable Profile
314+
Looking For Team
315315
</label>
316316
</div>
317317
<p
@@ -398,7 +398,7 @@ export function ProfileContainer() {
398398
<FormTextarea
399399
label="Bio"
400400
placeholder="Tell us about yourself..."
401-
required
401+
402402
value={profileData.bio}
403403
onChange={(e) =>
404404
setProfileData({ ...profileData, bio: e.target.value })

components/registration/registration-container.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1225,6 +1225,7 @@ export function RegistrationContainer({
12251225
</li>
12261226
<li>Maintain a friendly and inclusive environment</li>
12271227
<li>Professional behavior is expected at all times</li>
1228+
<li>Flag sharing is cheating.</li>
12281229
</ul>
12291230
</div>
12301231

components/registration/team-container.tsx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -556,13 +556,12 @@ export function TeamContainer() {
556556
if (!response.ok) {
557557
throw new Error(data.message || `Failed to ${action} request`);
558558
}
559-
560-
setAlert({
561-
type: action === "accept" ? "success" : "info",
562-
message: data.message || `Request ${action}ed successfully`,
559+
toast({
560+
title: action === "accept" ? "Success" : "Rejected",
561+
description: `Request ${action === "decline" ? "declined" : "accepted"} successfully`,
562+
variant: action === "accept" ? "default" : "destructive",
563563
});
564-
setTimeout(() => setAlert(null), 3000);
565-
564+
566565
// Refresh team data and requests
567566
if (team.code) {
568567
const teamResponse = await fetch(API_ENDPOINTS.getTeam(team.code), {

components/registration/user-profile-modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export function UserProfileModal({
141141
<h3 className="font-['Google_Sans_Flex',sans-serif] text-[20px] text-white">{userDetails.name}</h3>
142142
{!userDetails.hasSolvedChallenge && (
143143
<span className="px-[8px] py-[2px] bg-red-500/10 border border-red-500/20 rounded-[6px] text-[11px] text-red-400 font-semibold tracking-wide">
144-
🔴 Unverified Noob
144+
🔴 Bro wasn’t able even able to find a damn flag
145145
</span>
146146
)}
147147
</div>

public/favicon.ico

5.15 MB
Binary file not shown.

public/favicon2.ico

15 KB
Binary file not shown.

0 commit comments

Comments
 (0)