Deployment fixes, add HPP logo

This commit is contained in:
2026-05-04 22:21:07 +12:00
parent 2799946091
commit ebee72d4df
24 changed files with 768 additions and 45 deletions
+13
View File
@@ -0,0 +1,13 @@
import { env } from '$env/dynamic/public';
function flagEnabled(value: string | undefined, defaultValue: boolean): boolean {
if (value === undefined || value === null || value.trim() === '') {
return defaultValue;
}
return ['1', 'true', 'yes', 'on'].includes(value.trim().toLowerCase());
}
export const featureFlags = {
mixCalculatorSessionHistory: flagEnabled(env.PUBLIC_MIX_CALCULATOR_SESSION_HISTORY, false),
mixCalculatorSessionSave: flagEnabled(env.PUBLIC_MIX_CALCULATOR_SESSION_SAVE, false)
};