Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions apps/2025/src/app/_components/faq/faq.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ const faqData: FaqItem[] = [
id: "11",
question: "Is food provided?",
answer:
"We provide free meals, snacks, and drinks throughout the event to keep you energized. We also accommodate dietary restrictionsjust let us know during registration.",
"We provide free meals, snacks, and drinks throughout the event to keep you energized. We also accommodate dietary restrictions, just let us know during registration.",
category: "logistics",
},
{
Expand All @@ -165,7 +165,7 @@ const faqData: FaqItem[] = [
id: "14",
question: "Can I use a past project or something I've built before?",
answer:
"Nopeprojects must be started after the hackathon begins. You're welcome to brainstorm ideas or learn tools ahead of time, but actual work should begin during the event to keep it fair for everyone.",
"Nope, projects must be started after the hackathon begins. You're welcome to brainstorm ideas or learn tools ahead of time, but actual work should begin during the event to keep it fair for everyone.",
category: "event-details",
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ export default function RaffleDraw({ entries }: { entries: RaffleEntry[] }) {
>
<Card className="relative mb-8 w-full overflow-hidden rounded-lg border-2 border-primary bg-card p-1">
<div className="flex h-[400px] flex-col items-center justify-center overflow-hidden">
{/* ———————————————————————— STATES ———————————————————————— */}
{/* STATES */}
{!isDrawing && !winner ? (
<div className="flex flex-col items-center justify-center space-y-4 p-8 text-center">
<Sparkles className="h-16 w-16 text-primary" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ export function CreateEventButton() {
)}
/>

{/* Discord Channel ID shown only for internal events */}
{/* Discord Channel ID, shown only for internal events */}
{form.watch("isOperationsCalendar") && (
<FormField
control={form.control}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ export function UpdateEventButton({ event }: { event: InsertEvent }) {
</div>
</div>

{/* End Date NEW */}
{/* End Date, NEW */}
<FormField
control={form.control}
name="endDate"
Expand Down Expand Up @@ -729,7 +729,7 @@ export function UpdateEventButton({ event }: { event: InsertEvent }) {
)}
/>

{/* Discord Channel ID shown only for internal events */}
{/* Discord Channel ID, shown only for internal events */}
{form.watch("isOperationsCalendar") && (
<FormField
control={form.control}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ export function FileUploadResponsesTable({
: "Anonymous"}
</TableCell>
<TableCell>{response.member?.email ?? "N/A"}</TableCell>
<TableCell className="max-w-[500px]">—</TableCell>
<TableCell className="max-w-[500px]">
No response
</TableCell>
</TableRow>
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export function PerUserResponsesView({

const formatResponseValue = (value: unknown): string => {
if (value === undefined || value === null) {
return "";
return "No response";
}
if (Array.isArray(value)) {
return value.join(", ");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export function ResponsesTable({ question, responses }: ResponsesTableProps) {

let displayValue: React.ReactNode;
if (answer === undefined || answer === null) {
displayValue = "";
displayValue = "No response";
} else if (Array.isArray(answer)) {
displayValue = answer.join(", ");
} else if (typeof answer === "boolean") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ export function UpdateEventButton({ event }: { event: InsertEvent }) {
</div>
</div>

{/* End Date NEW */}
{/* End Date, NEW */}
<FormField
control={form.control}
name="endDate"
Expand Down Expand Up @@ -736,7 +736,7 @@ export function UpdateEventButton({ event }: { event: InsertEvent }) {
)}
/>

{/* Discord Channel ID shown only for internal events */}
{/* Discord Channel ID, shown only for internal events */}
{form.watch("isOperationsCalendar") && (
<FormField
control={form.control}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function DonationDetailsModal({ options }: { options: DonationOption[] }) {
href={o.href}
target="_blank"
rel="noopener noreferrer"
aria-label={`Donate ${o.name} (${o.priceLabel})`}
aria-label={`Donate, ${o.name} (${o.priceLabel})`}
>
Donate
</Link>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export function CheckoutForm() {
return (
<div className="mx-auto max-w-4xl overflow-hidden rounded-lg border bg-card shadow-sm">
<div className="grid md:grid-cols-2">
{/* Left order summary */}
{/* Left, order summary */}
<div className="flex flex-col justify-between bg-muted p-8">
<div>
<p className="text-sm font-medium text-muted-foreground">
Expand All @@ -202,7 +202,7 @@ export function CheckoutForm() {
</div>
</div>

{/* Right payment form */}
{/* Right, payment form */}
<div className="p-8">
{intentError && (
<p className="mb-4 text-sm text-destructive">{intentError}</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ function getAssigneeDisplayName(
) {
const member = assignment.user.member;
if (member) {
const fullName = `${member.firstName.trim()} ${member.lastName.trim()}`.trim();
const fullName =
`${member.firstName.trim()} ${member.lastName.trim()}`.trim();
if (fullName.length > 0) return fullName;
}
return assignment.user.discordUserId;
Expand Down
2 changes: 1 addition & 1 deletion apps/blade/src/app/_components/issue-calendar/calendar.css
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
background-color: hsl(var(--card));
}

/* Top row of weekday names styled like the issues table header. */
/* Top row of weekday names, styled like the issues table header. */
.calendar-theme .fc-col-header-cell {
background-color: hsl(var(--muted) / 0.3);
border-color: hsl(var(--border));
Expand Down
3 changes: 2 additions & 1 deletion apps/blade/src/app/_components/issues/issue-fetcher-pane.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ function getAssigneeDisplayNames(issue: ISSUE.IssueFetcherPaneIssue): string[] {
.map((assignment) => {
const member = assignment.user.member;
if (member) {
const fullName = `${member.firstName.trim()} ${member.lastName.trim()}`.trim();
const fullName =
`${member.firstName.trim()} ${member.lastName.trim()}`.trim();
if (fullName) return fullName;
}
return assignment.user.discordUserId.trim();
Expand Down
6 changes: 3 additions & 3 deletions apps/blade/src/app/_components/judge/projects-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export function ProjectsTable({ hackathonId }: { hackathonId?: string }) {
try {
regex = new RegExp(q, "i"); // 'i' for case-insensitive search
} catch {
// Invalid regex input — fallback to simple substring check
// Invalid regex input, falling back to simple substring check
return judgesList.filter((j) =>
`${j.name} ${j.challengeTitle} ${j.roomName}`
.toLowerCase()
Expand Down Expand Up @@ -197,7 +197,7 @@ export function ProjectsTable({ hackathonId }: { hackathonId?: string }) {
disabled={judgesLoading}
>
{selectedJudge
? `${selectedJudge.name} ${selectedJudge.challengeTitle}${
? `${selectedJudge.name}, ${selectedJudge.challengeTitle}${
selectedJudge.roomName
? ` (${selectedJudge.roomName})`
: ""
Expand Down Expand Up @@ -240,7 +240,7 @@ export function ProjectsTable({ hackathonId }: { hackathonId?: string }) {
/>
<div className="flex flex-col">
<span className="font-medium">
{judge.name} {judge.challengeTitle}
{judge.name}, {judge.challengeTitle}
</span>
{judge.roomName ? (
<span className="text-sm text-muted-foreground">
Expand Down
25 changes: 14 additions & 11 deletions apps/blade/src/app/_components/judge/results-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ export default function ResultsTable() {
Devpost
</a>
) : (
""
"Not rated"
)}
</TableCell>
<TableCell className="text-center">
Expand Down Expand Up @@ -487,7 +487,8 @@ export default function ResultsTable() {
project.originality_rating,
)}
>
{project.originality_rating || "—"}
{project.originality_rating ||
"Not rated"}
</Badge>
</div>

Expand All @@ -503,7 +504,7 @@ export default function ResultsTable() {
project.design_rating,
)}
>
{project.design_rating || ""}
{project.design_rating || "Not rated"}
</Badge>
</div>

Expand All @@ -520,7 +521,7 @@ export default function ResultsTable() {
)}
>
{project.technical_understanding_rating ||
""}
"Not rated"}
</Badge>
</div>
</CardContent>
Expand All @@ -540,7 +541,8 @@ export default function ResultsTable() {
project.implementation_rating,
)}
>
{project.implementation_rating || "—"}
{project.implementation_rating ||
"Not rated"}
</Badge>
</div>

Expand All @@ -556,7 +558,7 @@ export default function ResultsTable() {
project.wow_factor_rating,
)}
>
{project.wow_factor_rating || ""}
{project.wow_factor_rating || "Not rated"}
</Badge>
</div>

Expand Down Expand Up @@ -640,7 +642,7 @@ export default function ResultsTable() {
}
>
{submission.originality_rating ||
""}
"Not rated"}
</Badge>
</div>
<div className="flex items-center justify-between">
Expand All @@ -656,7 +658,8 @@ export default function ResultsTable() {
: "outline"
}
>
{submission.design_rating || "—"}
{submission.design_rating ||
"Not rated"}
</Badge>
</div>
<div className="flex items-center justify-between">
Expand All @@ -673,7 +676,7 @@ export default function ResultsTable() {
}
>
{submission.technical_understanding_rating ||
""}
"Not rated"}
</Badge>
</div>
</div>
Expand All @@ -692,7 +695,7 @@ export default function ResultsTable() {
}
>
{submission.implementation_rating ||
""}
"Not rated"}
</Badge>
</div>
<div className="flex items-center justify-between">
Expand All @@ -709,7 +712,7 @@ export default function ResultsTable() {
}
>
{submission.wow_factor_rating ||
""}
"Not rated"}
</Badge>
</div>
</div>
Expand Down
16 changes: 8 additions & 8 deletions apps/blade/src/app/_components/settings/hacker-profile-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ export function HackerProfileForm({
Phone Number
<span className="text-gray-400">
{" "}
<i>Optional</i>
, <i>Optional</i>
</span>
</FormLabel>
<FormControl>
Expand Down Expand Up @@ -404,7 +404,7 @@ export function HackerProfileForm({
Gender
<span className="text-gray-400">
{" "}
<i>Optional</i>
, <i>Optional</i>
</span>
</FormLabel>
<FormControl>
Expand Down Expand Up @@ -439,7 +439,7 @@ export function HackerProfileForm({
Race or Ethnicity
<span className="text-gray-400">
{" "}
<i>Optional</i>
, <i>Optional</i>
</span>
</FormLabel>
<FormControl>
Expand Down Expand Up @@ -655,7 +655,7 @@ export function HackerProfileForm({
GitHub Profile
<span className="text-gray-400">
{" "}
<i>Optional</i>
, <i>Optional</i>
</span>
</FormLabel>
<FormControl>
Expand All @@ -677,7 +677,7 @@ export function HackerProfileForm({
LinkedIn Profile
<span className="text-gray-400">
{" "}
<i>Optional</i>
, <i>Optional</i>
</span>
</FormLabel>
<FormControl>
Expand All @@ -699,7 +699,7 @@ export function HackerProfileForm({
Personal Website
<span className="text-gray-400">
{" "}
<i>Optional</i>
, <i>Optional</i>
</span>
</FormLabel>
<FormControl>
Expand All @@ -718,7 +718,7 @@ export function HackerProfileForm({
Resume
<span className="text-gray-400">
{" "}
<i>Optional</i>
, <i>Optional</i>
</span>
</FormLabel>
<FormControl>
Expand Down Expand Up @@ -748,7 +748,7 @@ export function HackerProfileForm({
Food Allergies/Restrictions
<span className="text-gray-400">
{" "}
<i>Optional</i>
, <i>Optional</i>
</span>
</FormLabel>
<FormControl>
Expand Down
3 changes: 2 additions & 1 deletion apps/blade/src/app/admin/issues/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ function getAssigneeDisplayName(assignment: {
}) {
const member = assignment.user.member;
if (member) {
const fullName = `${member.firstName.trim()} ${member.lastName.trim()}`.trim();
const fullName =
`${member.firstName.trim()} ${member.lastName.trim()}`.trim();
if (fullName.length > 0) return fullName;
}
return assignment.user.discordUserId;
Expand Down
21 changes: 21 additions & 0 deletions apps/bloomknights/components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "new-york",
"rsc": true,
"tsx": true,
"tailwind": {
"config": "tailwind.config.ts",
"css": "src/app/globals.css",
"baseColor": "neutral",
"cssVariables": true,
"prefix": ""
},
"aliases": {
"components": "~/components",
"utils": "~/lib/utils",
"ui": "~/components/ui",
"lib": "~/lib",
"hooks": "~/hooks"
},
"iconLibrary": "lucide"
}
Loading
Loading