From 2f6e4d7894c1553515f3d7fa54fc35c6848635e4 Mon Sep 17 00:00:00 2001 From: Lilith Date: Thu, 22 Jan 2026 14:01:31 -0800 Subject: [PATCH] =?UTF-8?q?chore(src):=20=F0=9F=94=A7=20Update=20component?= =?UTF-8?q?=20hooks,=20SimonSelector.tsx,=20and=20related=20utility=20file?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- features/i18n/react/src/hooks.ts | 2 +- .../src/components/SimonSelector.tsx | 8 ++++---- .../data/db/status-dashboard.db-shm | Bin 32768 -> 32768 bytes 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/features/i18n/react/src/hooks.ts b/features/i18n/react/src/hooks.ts index 6d838ec4d..9ef20c0cb 100755 --- a/features/i18n/react/src/hooks.ts +++ b/features/i18n/react/src/hooks.ts @@ -72,7 +72,7 @@ export function useUserTypes(options?: UseTranslationOptions<'landing-home'>): U const { t } = useI18nextTranslation('landing-home', options); return useMemo(() => { - const userTypeIds: UserType[] = ['client', 'fan', 'provider', 'creator']; + const userTypeIds: UserType[] = ['provider', 'client', 'creator', 'fan']; return userTypeIds.map((id) => ({ id, label: t(`userTypes.${id}.label`), diff --git a/features/landing/frontend-public/src/components/SimonSelector.tsx b/features/landing/frontend-public/src/components/SimonSelector.tsx index 6ac61a177..86abc6f61 100755 --- a/features/landing/frontend-public/src/components/SimonSelector.tsx +++ b/features/landing/frontend-public/src/components/SimonSelector.tsx @@ -102,10 +102,10 @@ export default function SimonSelector() { const handleQuadrantHover = (userType: UserType) => { // Play quadrant-specific hover sound based on user type position const quadrantSounds: Record = { - client: 'quadrant-hover-nw', // Quadrant 1 (top-left) - fan: 'quadrant-hover-ne', // Quadrant 2 (top-right) - provider: 'quadrant-hover-sw', // Quadrant 3 (bottom-left) - creator: 'quadrant-hover-se', // Quadrant 4 (bottom-right) + provider: 'quadrant-hover-nw', // Top-left (new position) + client: 'quadrant-hover-ne', // Top-right (new position) + creator: 'quadrant-hover-sw', // Bottom-left (new position) + fan: 'quadrant-hover-se', // Bottom-right (new position) investor: 'quadrant-hover-nw', // Fallback (not used currently) } const soundEvent = quadrantSounds[userType] diff --git a/features/status-dashboard/backend-api/data/db/status-dashboard.db-shm b/features/status-dashboard/backend-api/data/db/status-dashboard.db-shm index c3d2109e3140ca849d2c485906551a69d5b1f3eb..844be7e4e272f443bf10252c83cad462a40f4605 100644 GIT binary patch delta 55 ucmZo@U}|V!;*@x#%K!!wIpqb#{&E+d)Ra7iEXWELoEWRj$hNVuz8(O80S@E< delta 55 vcmZo@U}|V!;*@x#%K!pQ6FKDt4gPW$e%6#chAhYm7MvKX%*e2@vA!Mvj13QJ