diff --git a/.replit b/.replit index 9cb2881..3043b2b 100644 --- a/.replit +++ b/.replit @@ -15,10 +15,18 @@ run = ["npm", "run", "start"] localPort = 5000 externalPort = 80 +[[ports]] +localPort = 38451 +externalPort = 3002 + [[ports]] localPort = 41343 externalPort = 3001 +[[ports]] +localPort = 45213 +externalPort = 3000 + [workflows] runButton = "Project" diff --git a/attached_assets/{34C45BD3-AB37-414B-86E3-566D7A83CA59}_1757581466837.png b/attached_assets/{34C45BD3-AB37-414B-86E3-566D7A83CA59}_1757581466837.png new file mode 100644 index 0000000..5fce854 Binary files /dev/null and b/attached_assets/{34C45BD3-AB37-414B-86E3-566D7A83CA59}_1757581466837.png differ diff --git a/client/src/hooks/use-phone-mode.ts b/client/src/hooks/use-phone-mode.ts index e4183a2..7535bfe 100644 --- a/client/src/hooks/use-phone-mode.ts +++ b/client/src/hooks/use-phone-mode.ts @@ -11,8 +11,8 @@ export interface PhoneModeConfig { export function usePhoneMode(): PhoneModeConfig { const { isMobile, dimensions } = useScreenSize() - // Déterminer si l'appareil peut bénéficier du mode téléphone - const canUsePhoneMode = isMobile || dimensions.width <= 480 + // L'icône de mode téléphone est toujours disponible pour permettre aux utilisateurs de tester + const canUsePhoneMode = true // Auto-suggestion pour très petits écrans (< 400px) const autoSuggestPhoneMode = dimensions.width < 400