From c967a494d8e46b4f943141202760cc6aed87a236 Mon Sep 17 00:00:00 2001 From: alex Date: Fri, 26 Jan 2024 20:29:45 +0100 Subject: [PATCH] added jobs url --- src/App.js | 4 ++-- src/Pages/UserProfile/index.js | 2 -- src/utils.js | 1 + 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/App.js b/src/App.js index 7e29f48..cc437cb 100644 --- a/src/App.js +++ b/src/App.js @@ -63,7 +63,7 @@ export default function App() { /*const [notificationApi, notificationContextHolder] = notification.useNotification(); */ - const { t, i18n } = useTranslation(); + const { _, i18n } = useTranslation(); const { userSession, setUserSession } = UseUserSession(); //const [isWebSocketReady, setIsWebSocketReady] = useState(false); @@ -103,7 +103,7 @@ export default function App() { } console.info( - "\n %c ZeitAdler Dashboard %c BETA %c \n", + `\n %c ZeitAdler Dashboard %c ${Constants.KK_JOBS_URL} %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/Pages/UserProfile/index.js b/src/Pages/UserProfile/index.js index 39e1687..9c258f7 100644 --- a/src/Pages/UserProfile/index.js +++ b/src/Pages/UserProfile/index.js @@ -1,13 +1,11 @@ import { Button, Card, - Checkbox, Form, Select, Skeleton, Space, Switch, - Typography, notification, } from "antd"; import { myFetch } from "../../utils"; diff --git a/src/utils.js b/src/utils.js index 52a690c..9a80f9b 100644 --- a/src/utils.js +++ b/src/utils.js @@ -71,6 +71,7 @@ export const Constants = { }, DELAY_ACCOUNT_NAME_CHECK: 250, CLARITY_PROJECT_ID: "kr0pale8uy", + KK_JOBS_URL: "https://kk-innovation.eu/jobs/", }; export const AppStyle = {