-
{t('settings.general.chart_options.title')}
+
+ {t('settings.general.chart_options.title')}
+
{t('settings.general.chart_options.subtitle')}
diff --git a/beszel/site/src/locales/en/translation.json b/beszel/site/src/locales/en/translation.json
index 3c5e822..59fccd5 100644
--- a/beszel/site/src/locales/en/translation.json
+++ b/beszel/site/src/locales/en/translation.json
@@ -9,7 +9,7 @@
"continue": "Continue",
"home": {
"active_alerts": "Active Alerts",
- "active_des": "Exceeds {{value}}{{unit}} average in last {{minutes}} minutes",
+ "active_des": "Exceeds {{value}}{{unit}} average in last {{minutes}} min",
"subtitle_1": "Updated in real time. Press",
"subtitle_2": "to open the command palette."
},
diff --git a/beszel/site/src/main.tsx b/beszel/site/src/main.tsx
index 91d4efd..5dfb2fb 100644
--- a/beszel/site/src/main.tsx
+++ b/beszel/site/src/main.tsx
@@ -51,6 +51,7 @@ import { AddSystemButton } from './components/add-system.tsx'
import './lib/i18n.ts'
import { useTranslation } from 'react-i18next'
+import { TFunction } from 'i18next'
// const ServerDetail = lazy(() => import('./components/routes/system.tsx'))
const CommandPalette = lazy(() => import('./components/command-palette.tsx'))
@@ -114,6 +115,84 @@ const App = () => {
}
}
+const Navbar = (t: TFunction<'translation', undefined>) => {
+ return (
+
+ )
+}
+
const Layout = () => {
const { t } = useTranslation()
@@ -130,81 +209,7 @@ const Layout = () => {
return (
<>
-
+
{Navbar(t)}
diff --git a/beszel/site/tailwind.config.js b/beszel/site/tailwind.config.js
index 91935a5..f1cd6df 100644
--- a/beszel/site/tailwind.config.js
+++ b/beszel/site/tailwind.config.js
@@ -24,6 +24,7 @@ module.exports = {
},
screens: {
xs: '425px',
+ 450: '450px',
},
colors: {
green: {