51 lines
1.2 KiB
TypeScript
51 lines
1.2 KiB
TypeScript
import HomeIcon from "../assets/icons/home.svg";
|
|
import HomeIconFilled from "../assets/icons/home-filled.svg";
|
|
import PaymentsIcon from "../assets/icons/payments.svg";
|
|
import PaymentsIconFilled from "../assets/icons/payments-filled.svg";
|
|
import ServiceIcon from "../assets/icons/service.svg";
|
|
import ServiceIconFilled from "../assets/icons/service-filled.svg";
|
|
import BatteryIcon from "../assets/icons/battery.svg";
|
|
import BatteryIconFilled from "../assets/icons/battery-filled.svg";
|
|
|
|
export const STORAGE_KEYS = {
|
|
LANGUAGE: "USER_LANGUAGE",
|
|
TOKEN: "AUTH_TOKEN",
|
|
THEME: "APP_THEME",
|
|
};
|
|
|
|
export const APP_CONFIG = {
|
|
DEFAULT_LANGUAGE: "en",
|
|
SUPPORTED_LANGUAGES: ["en", "hi"],
|
|
};
|
|
|
|
export const TAB_CONFIG = [
|
|
{
|
|
name: "index",
|
|
title: "Home",
|
|
Icon: HomeIcon,
|
|
IconFilled: HomeIconFilled,
|
|
path: "/",
|
|
},
|
|
{
|
|
name: "payments",
|
|
title: "Payments",
|
|
Icon: PaymentsIcon,
|
|
IconFilled: PaymentsIconFilled,
|
|
path: "/payments",
|
|
},
|
|
{
|
|
name: "service",
|
|
title: "Service",
|
|
Icon: ServiceIcon,
|
|
IconFilled: ServiceIconFilled,
|
|
path: "/service",
|
|
},
|
|
{
|
|
name: "my-battery",
|
|
title: "My Battery",
|
|
Icon: BatteryIcon,
|
|
IconFilled: BatteryIconFilled,
|
|
path: "/my-battery",
|
|
},
|
|
];
|