diff --git a/src/App.js b/src/App.js index bc0e27d..70aa3dc 100644 --- a/src/App.js +++ b/src/App.js @@ -1,7 +1,13 @@ import "antd/dist/reset.css"; import "./App.css"; import { Layout, Spin, Typography } from "antd"; -import { Constants, UseUserSession, handleLogout, myFetch } from "./utils"; +import { + Constants, + UseUserSession, + handleLogout, + isDevelopmentEnv, + myFetch, +} from "./utils"; import DashboardLayout from "./Components/DashboardLayout"; import SideBarProvider from "./Contexts/SideBarContext"; import { AppProvider } from "./Contexts/AppContext"; @@ -13,7 +19,6 @@ import StoresProvider from "./Contexts/StoresContext"; import { clarity } from "react-microsoft-clarity"; import { useTranslation } from "react-i18next"; import MyAppLogo from "./Components/MyAppLogo"; -import Authentication from "./Pages/Authentication"; import { AuthenticationRoutes } from "./Components/AppRoutes"; export function Loading() { @@ -100,7 +105,9 @@ export default function App() { } console.info( - `\n %c ZeitAdler Dashboard %c ${Constants.KK_JOBS_URL} %c \n`, + `\n %c ZeitAdler Dashboard %c ${ + isDevelopmentEnv() ? "Dev" : "Stable" + } %c \n`, "background-color: #555;color: #fff;padding: 3px 2px 3px 3px;border-radius: 3px 0 0 3px;font-family: DejaVu Sans,Verdana,Geneva,sans-serif;text-shadow: 0 1px 0 rgba(1, 1, 1, 0.3)", "background-color: #bc81e0;background-image: linear-gradient(90deg, #6878d6, #4d61d6);color: #fff;padding: 3px 3px 3px 2px;border-radius: 0 3px 3px 0;font-family: DejaVu Sans,Verdana,Geneva,sans-serif;text-shadow: 0 1px 0 rgba(1, 1, 1, 0.3)", "background-color: transparent" diff --git a/src/utils.js b/src/utils.js index 38feab7..40bb38e 100644 --- a/src/utils.js +++ b/src/utils.js @@ -81,7 +81,6 @@ export const Constants = { }, DELAY_ACCOUNT_NAME_CHECK: 250, CLARITY_PROJECT_ID: "kr0pale8uy", - KK_JOBS_URL: "https://kk-innovation.eu/jobs/", ACCOUNT_DELETED_AFTER_DAYS: 30, ACCOUNT_STATE: { ACTIVE: 0,