Implemented invitation logic. Implemented play list method. Mild refactoring.

This commit is contained in:
jd
2026-02-20 23:51:16 +00:00
parent 5742214115
commit 335f1821cd
24 changed files with 1118 additions and 166 deletions

View File

@@ -18,3 +18,20 @@ export function memo<T extends (...args: any[]) => {}, S>(
return cache[key].value;
}) as unknown as T;
}
export function createRandomString(length:number = 6):string {
const maxRandStringVal = parseInt(''.padEnd(length, 'z'), 36);
return Math.floor(Math.random() * maxRandStringVal).toString(36).toUpperCase();
}
export const brandColours = {
dark: '#14111C',
mid: '#CBCACB',
light: '#FBF8FC',
white: '#FFFFFF',
black: '#000000',
primary: '#CA00E7',
secondary: '#FFB527',
tertiary: '#6ED500',
danger: '#CA3211',
};