Skip to content
Closed
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
2 changes: 1 addition & 1 deletion apps/bot/bot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ app.get("/postMsgToServer", (h) => {
url: c.siteUrl,
})
.setDescription(
`**Verify your registration for ${c.hackathonName} ${c.itteration} to gain access to the rest of the server!**\n\nClick the "verify" button below to begin the verification process.\n\u200B`,
`**Verify your registration for ${c.hackathonName} ${c.iteration} to gain access to the rest of the server!**\n\nClick the "verify" button below to begin the verification process.\n\u200B`,
)
.setThumbnail(`${c.siteUrl}${c.icon.md}`)
.setFooter({
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/app/dash/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default async function Page() {
<QuickQR qrPayload={qrPayload} />
<TitleBubble />
<Countdown
title={`${c.hackathonName} ${c.itteration}`}
title={`${c.hackathonName} ${c.iteration}`}
date={c.startDate}
/>
<Questions />
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/app/dash/pass/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function EventPass({ qrPayload, user, clerk, guild }: EventPassProps) {
<h1 className="text-md ml-1 font-bold leading-tight">
{c.hackathonName}{" "}
<span className="text-hackathon">
{c.itteration}
{c.iteration}
</span>
</h1>
</div>
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/components/schedule/UserScheduleView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default async function UserScheduleView() {
<Day
events={events}
title="Event Schedule"
subtitle={`${c.hackathonName} ${c.itteration}`}
subtitle={`${c.hackathonName} ${c.iteration}`}
/>
</main>
);
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/emails/RegistrationSuccessEmail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default function RegistrationSuccessEmail({
</Section>
<Heading className="mx-0 my-[30px] p-0 text-center text-[24px] font-normal text-black">
You are now registered for {c.hackathonName} $
{c.itteration}!
{c.iteration}!
</Heading>
<Text className="text-[14px] leading-[24px] text-black">
Hello {firstName},
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/lib/constants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const UNIQUE_KEY_CONSTRAINT_VIOLATION_CODE = "23505";
export const UNIQUE_KEY_MAPPER_DEFAULT_KEY =
"default" as keyof typeof c.db.uniqueKeyMapper;
export const PAYLOAD_TOO_LARGE_CODE = 413;
export const HACKER_REGISTRATION_STORAGE_KEY = `${c.hackathonName}_${c.itteration}_hackerRegistrationData`;
export const HACKER_REGISTRATION_STORAGE_KEY = `${c.hackathonName}_${c.iteration}_hackerRegistrationData`;
Comment thread
Rufat00 marked this conversation as resolved.
export const HACKER_REGISTRATION_RESUME_STORAGE_KEY =
"hackerRegistrationResume";
export const NOT_LOCAL_SCHOOL = "NOT_LOCAL_SCHOOL";
2 changes: 1 addition & 1 deletion apps/web/src/lib/utils/server/redis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Redis } from "@upstash/redis";
const redis = Redis.fromEnv();

export function includeEnvPrefix(key: string) {
return `${c.hackathonName}_${c.itteration}_${process.env.HK_ENV}_${key}`;
return `${c.hackathonName}_${c.iteration}_${process.env.HK_ENV}_${key}`;
}
Comment thread
Rufat00 marked this conversation as resolved.

export async function redisSAdd(key: string, value: string): Promise<number> {
Expand Down
13 changes: 6 additions & 7 deletions packages/config/hackkit.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,7 @@ const softwareExperienceOptions = [

const c = {
hackathonName: "HackKit",
itteration: "I",
iteration: "I",
siteUrl: "https://rowdyhacks.org", // Do not have a trailing slash
defaultMetaDataDescription: "Your Metadata Description Here",
rsvpDefaultLimit: 500,
Expand Down Expand Up @@ -956,12 +956,11 @@ const c = {
foreground: "#ffffff",
checked: false,
},
// Why is the checked set to a color?
mlh: {
title: "MLH",
color: "#ffffff",
foreground: "#E73426",
checked: "#E73426",
color: "#E73426",
foreground: "#ffffff",
checked: false,
},
admin: {
title: "Organizer",
Expand All @@ -971,8 +970,8 @@ const c = {
},
super_admin: {
title: "Organizer",
foreground: "#ffffff",
color: "#f59e0b",
foreground: "#ffffff",
checked: true,
},
},
Expand All @@ -985,7 +984,7 @@ const c = {

const staticUploads = {
bucketHost: "/api/upload/resume/view",
bucketResumeBaseUploadUrl: `${c.hackathonName}/${c.itteration}/resumes`,
bucketResumeBaseUploadUrl: `${c.hackathonName}/${c.iteration}/resumes`,
} as const;
Comment thread
Rufat00 marked this conversation as resolved.

// Its important that this is kept in sync with the database schema.
Expand Down