-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feat/messaging-and-tickets' of https://github.com/acmut…
…sa/HackKit into feat/messaging-and-tickets
- Loading branch information
Showing
1 changed file
with
172 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,177 @@ | ||
const defaultTheme = "dark"; | ||
|
||
const schools = [ | ||
export default { | ||
hackathonName: "HackKit", | ||
itteration: "I", | ||
siteUrl: "https://rowdyhacks.org", // Do not have a trailing slash | ||
defaultMetaDataDescription: "Your Metadata Description Here", | ||
botName: "HackKit", | ||
botParticipantRole: "Participant", | ||
hackathonTimezone: "America/Chicago", | ||
localUniversityName: "The University of Texas at San Antonio", | ||
localUniversityShortIDName: "ABC123", | ||
localUniversityShortIDMaxLength: 6, | ||
dietaryRestrictionOptions: [ | ||
"Vegan", | ||
"Vegetarian", | ||
"Nuts", | ||
"Fish", | ||
"Wheat", | ||
"Dairy", | ||
"Eggs", | ||
"Halal", | ||
], | ||
groups: { | ||
"Guild A | Group A": { | ||
discordRole: "Guild A Role", | ||
}, | ||
"Guild A | Group B": { | ||
discordRole: "Guild A Role", | ||
}, | ||
"Guild B | Group A": { | ||
discordRole: "Guild B Role", | ||
}, | ||
"Guild B | Group B": { | ||
discordRole: "Guild B Role", | ||
}, | ||
"Guild C | Group A": { | ||
discordRole: "Guild C Role ", | ||
}, | ||
"Guild C | Group B": { | ||
discordRole: "Guild C Role", | ||
}, | ||
"Guild D | Group A": { | ||
discordRole: "Guild D Role", | ||
}, | ||
"Guild D | Group B": { | ||
discordRole: "Guild D Role", | ||
}, | ||
"Guild E | Group A": { | ||
discordRole: "Guild E Role", | ||
}, | ||
"Guild E | Group B": { | ||
discordRole: "Guild E Role", | ||
}, | ||
}, | ||
issueEmail: "[email protected]", | ||
links: { | ||
discord: "https://go.rowdyhacks.org/discord", | ||
instagram: "https://instagram.com/rowdyhacks", | ||
facebook: "https://facebook.com/rowdyhacks", | ||
twitter: "https://twitter.com/rowdyhacks", | ||
github: "https://github.com/acmutsa", | ||
guide: "https://go.rowdyhacks.org/discord", | ||
}, | ||
icon: { | ||
sm: "/img/logo/hackkit.svg", | ||
md: "/img/logo/hackkit-md.png", | ||
lg: "/img/logo/hackkit-lg.png", | ||
svg: "/img/logo/hackkit.svg", | ||
}, | ||
dashPaths: { | ||
dash: { | ||
Overview: "/dash", | ||
Schedule: "/dash/schedule", | ||
"Event Pass": "/dash/pass", | ||
// Team: "/dash/team", | ||
Tickets: "/dash/tickets", | ||
}, | ||
admin: { | ||
Overview: "/admin", | ||
Users: "/admin/users", | ||
Events: "/admin/events", | ||
Points: "/admin/points", | ||
"Check-in": "/admin/check-in", | ||
Toggles: "/admin/toggles", | ||
}, | ||
// TODO: Can remove days? Pretty sure they're dynamic now. | ||
}, | ||
eventTypes: { | ||
Meal: "#FFC107", | ||
Workshop: "#10b981", | ||
Ceremony: "#9C27B0", | ||
Social: "#2196F3", | ||
Other: "#795548", | ||
}, | ||
days: { | ||
Saturday: new Date(2023, 6, 15), | ||
}, | ||
Sunday: new Date(2023, 6, 16), | ||
maxResumeSizeInBytes: 4194304, | ||
maxProfilePhotoSizeInBytes: 3145728, | ||
maxFileSizeInBytes: 4194304, | ||
eventPassBgImage: "/img/dash/pass/bg.png", | ||
noResumeProvidedURL: | ||
"https://static.acmutsa.org/No%20Resume%20Provided.pdf", | ||
// Come in and change this date to whenever the hackathon starts | ||
startDate: new Date(new Date(2024, 1, 24).setHours(9)), | ||
prettyLocation: "Location of Hackathon", | ||
roleBadges: { | ||
hacker: { | ||
title: "Hacker", | ||
color: "hsl(var(--hackathon-primary))", | ||
foreground: "#ffffff", | ||
checked: false, | ||
}, | ||
volunteer: { | ||
title: "Volunteer", | ||
foreground: "#ffffff", | ||
checked: false, | ||
color: "#4CAF50", | ||
}, | ||
mentor: { | ||
title: "Mentor", | ||
color: "#9C27B0", | ||
foreground: "#ffffff", | ||
checked: false, | ||
}, | ||
mlh: { | ||
title: "MLH", | ||
color: "#ffffff", | ||
foreground: "#E73426", | ||
checked: "#E73426", | ||
}, | ||
admin: { | ||
title: "Organizer", | ||
color: "#f59e0b", | ||
foreground: "#ffffff", | ||
checked: true, | ||
}, | ||
super_admin: { | ||
title: "Organizer", | ||
foreground: "#ffffff", | ||
color: "#f59e0b", | ||
checked: true, | ||
}, | ||
}, | ||
maxTeamSize: 4, | ||
} as const; | ||
|
||
// Its important that this is kept in sync with the database schema. | ||
|
||
export const perms = [ | ||
"hacker", | ||
"volunteer", | ||
"mentor", | ||
"mlh", | ||
"admin", | ||
"super_admin", | ||
] as const; | ||
|
||
// These are routes (pages) which do not require a account / authentication. They are used in the authMiddleware in middleware.ts. Be careful which routes you add here! | ||
|
||
export const publicRoutes = [ | ||
"/", | ||
/^\/schedule(\/.*)?$/, | ||
/^\/@/, | ||
/^\/user\//, | ||
"/404", | ||
"/bugreport", | ||
]; | ||
|
||
// Generally it is reccomended to put your primary audience's university at the top of this list. | ||
|
||
export const schools = [ | ||
"The University of Texas at San Antonio", | ||
"American Heritage School", | ||
"American River College, California", | ||
|