fix authorized apps settings, redesign, fix retro theme vars

This commit is contained in:
Prospector
2026-07-27 11:08:41 -07:00
parent 354940a8c6
commit 011ea19a77
38 changed files with 341 additions and 344 deletions
+14
View File
@@ -13,3 +13,17 @@ export const isAdmin = (user) => {
}
export const STAFF_ROLES = ['moderator', 'admin']
export const MODRINTH_USER_ID = '2REoufqX'
export const AUTOMOD_USER_ID = ''
export const MODRINTH_ARCHIVES_USER_ID = 'GVFjtWTf'
export const OFFICIAL_ACCOUNT_IDS = [MODRINTH_USER_ID, AUTOMOD_USER_ID, MODRINTH_ARCHIVES_USER_ID]
export const isModrinthUser = (userId) => {
return userId === MODRINTH_USER_ID
}
export const isOfficialAccount = (userId) => {
return OFFICIAL_ACCOUNT_IDS.includes(userId)
}