Use named constant for offline error
Add version badge