/** Routes démo mail (seule démo où le mode sombre est supporté). */
export function isDemoMailPath(pathname: string | null | undefined): boolean {
  return pathname === "/demo/mail" || pathname?.startsWith("/demo/mail/") === true
}

export function isDemoPath(pathname: string | null | undefined): boolean {
  return pathname === "/demo" || pathname?.startsWith("/demo/") === true
}
