replaced jobs url with current env
parent
a56978133d
commit
3bce0e214a
13
src/App.js
13
src/App.js
|
@ -1,7 +1,13 @@
|
||||||
import "antd/dist/reset.css";
|
import "antd/dist/reset.css";
|
||||||
import "./App.css";
|
import "./App.css";
|
||||||
import { Layout, Spin, Typography } from "antd";
|
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 DashboardLayout from "./Components/DashboardLayout";
|
||||||
import SideBarProvider from "./Contexts/SideBarContext";
|
import SideBarProvider from "./Contexts/SideBarContext";
|
||||||
import { AppProvider } from "./Contexts/AppContext";
|
import { AppProvider } from "./Contexts/AppContext";
|
||||||
|
@ -13,7 +19,6 @@ import StoresProvider from "./Contexts/StoresContext";
|
||||||
import { clarity } from "react-microsoft-clarity";
|
import { clarity } from "react-microsoft-clarity";
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
import MyAppLogo from "./Components/MyAppLogo";
|
import MyAppLogo from "./Components/MyAppLogo";
|
||||||
import Authentication from "./Pages/Authentication";
|
|
||||||
import { AuthenticationRoutes } from "./Components/AppRoutes";
|
import { AuthenticationRoutes } from "./Components/AppRoutes";
|
||||||
|
|
||||||
export function Loading() {
|
export function Loading() {
|
||||||
|
@ -100,7 +105,9 @@ export default function App() {
|
||||||
}
|
}
|
||||||
|
|
||||||
console.info(
|
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: #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: #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"
|
"background-color: transparent"
|
||||||
|
|
|
@ -81,7 +81,6 @@ export const Constants = {
|
||||||
},
|
},
|
||||||
DELAY_ACCOUNT_NAME_CHECK: 250,
|
DELAY_ACCOUNT_NAME_CHECK: 250,
|
||||||
CLARITY_PROJECT_ID: "kr0pale8uy",
|
CLARITY_PROJECT_ID: "kr0pale8uy",
|
||||||
KK_JOBS_URL: "https://kk-innovation.eu/jobs/",
|
|
||||||
ACCOUNT_DELETED_AFTER_DAYS: 30,
|
ACCOUNT_DELETED_AFTER_DAYS: 30,
|
||||||
ACCOUNT_STATE: {
|
ACCOUNT_STATE: {
|
||||||
ACTIVE: 0,
|
ACTIVE: 0,
|
||||||
|
|
Loading…
Reference in New Issue