src/constants
Centralized constants for the Uptime Watcher app.
Remarksโ
Contains configuration values, UI constants, fallback data, and type definitions used throughout the frontend app. This module serves as the single source of truth for application-wide constants to ensure consistency and maintainability.
Exampleโ
import { TRANSITION_ALL, FALLBACK_MONITOR_TYPE_OPTIONS } from "./constants";
// Use transition timing for animations
const buttonStyle = { transition: TRANSITION_ALL };
// Use fallback monitor types when backend is unavailable
const monitorOptions = FALLBACK_MONITOR_TYPE_OPTIONS;