feat: custom org brand color (#474)

* feat: add package

* feat: add a new color picker

* feat: integrate with supabase

* feat: add translation

* run translation script

* feat: hover state

* quick fix

* fix: requested PR fixes

* update lock

* ux improvements

* remove log

* cleanup and improve code

---------

Co-authored-by: Rotimi Best <[email protected]>
This commit is contained in:
Adeyemi Adetunji
2024-10-06 01:20:32 +01:00
committed by GitHub
co-authored by Rotimi Best
parent 1ee02cdf3a
commit 947181a3c5
19 changed files with 292 additions and 80 deletions
@@ -68,7 +68,6 @@ export const load = async ({ url, cookies }): Promise<LoadOutput> => {
const subdomain = getSubdomain(url) || '';
const isDev = dev || isLocalHost;
console.log('url.host', url.host);
if (!url.host.includes('.classroomio.com') && !isLocalHost) {
// Custom domain
-4
View File
@@ -248,10 +248,6 @@
const { data: authListener } = supabase.auth.onAuthStateChange((event, session) => {
// Log key events
console.log(`event`, event);
console.log(`session`, session);
if (event == 'PASSWORD_RECOVERY') {
console.log('PASSWORD RESET');
}
if (path.includes('reset')) {
console.log('Dont change auth when on reset page');