diff --git a/dashboard/src/common/components/header/menu.tsx b/dashboard/src/common/components/header/menu.tsx index e22b2c2..f5e0dd6 100644 --- a/dashboard/src/common/components/header/menu.tsx +++ b/dashboard/src/common/components/header/menu.tsx @@ -16,6 +16,7 @@ import { ThemeToggle } from "@marzneshin/features/theme-switch"; import { useAuth, Logout } from "@marzneshin/modules/auth"; import { useScreenBreakpoint } from "@marzneshin/common/hooks/use-screen-breakpoint"; import { useTranslation } from "react-i18next"; +import { VersionIndicator } from "@marzneshin/features/version-indicator"; export const HeaderMenu: FC = () => { @@ -61,10 +62,11 @@ export const HeaderMenu: FC = () => { + - - + + diff --git a/dashboard/src/features/language-switch/index.tsx b/dashboard/src/features/language-switch/index.tsx index 40854b8..2cd5870 100644 --- a/dashboard/src/features/language-switch/index.tsx +++ b/dashboard/src/features/language-switch/index.tsx @@ -32,8 +32,8 @@ export const LanguageSwitchMenu: FC = () => { return ( -
- {t("language")} +
+ {t("language")}
diff --git a/dashboard/src/features/theme-switch/theme-toggle/index.tsx b/dashboard/src/features/theme-switch/theme-toggle/index.tsx index de15dd8..223d57d 100644 --- a/dashboard/src/features/theme-switch/theme-toggle/index.tsx +++ b/dashboard/src/features/theme-switch/theme-toggle/index.tsx @@ -28,17 +28,19 @@ export function ThemeToggle() { return ( -
- - +
+ {t('theme')} +
+ + +
- {t('theme')} + - diff --git a/dashboard/src/features/version-indicator/index.tsx b/dashboard/src/features/version-indicator/index.tsx index 87ca73e..53f0a0c 100644 --- a/dashboard/src/features/version-indicator/index.tsx +++ b/dashboard/src/features/version-indicator/index.tsx @@ -3,8 +3,8 @@ import { Badge } from "@marzneshin/common/components"; export const VersionIndicator = () => { return (
- - Marzneshin {import.meta.env.VITE_LATEST_APP_VERSION} + + {import.meta.env.VITE_LATEST_APP_VERSION}
) diff --git a/dashboard/src/modules/auth/logout/index.tsx b/dashboard/src/modules/auth/logout/index.tsx index 865063e..a68348f 100644 --- a/dashboard/src/modules/auth/logout/index.tsx +++ b/dashboard/src/modules/auth/logout/index.tsx @@ -12,10 +12,10 @@ export const Logout: FC = () => { }, [navigate]); return (