diff --git a/src/components/About/AboutModal.tsx b/src/components/About/AboutModal.tsx
index 0a29bf330..8d258ebd3 100644
--- a/src/components/About/AboutModal.tsx
+++ b/src/components/About/AboutModal.tsx
@@ -31,6 +31,7 @@ import { CURRENT_VERSION } from '../../../data/constants';
import { useConfigContext } from '../../config/provider';
import { useConfigStore } from '../../config/store';
import { usePrimaryGradient } from '../layout/useGradient';
+import Credits from '../Settings/Common/Credits';
interface AboutModalProps {
opened: boolean;
@@ -113,6 +114,7 @@ export const AboutModal = ({ opened, closeModal, newVersionAvailable }: AboutMod
Discord
+
);
};
diff --git a/src/components/Settings/Common/CommonSettings.tsx b/src/components/Settings/Common/CommonSettings.tsx
index d61d1aecc..28fd7500c 100644
--- a/src/components/Settings/Common/CommonSettings.tsx
+++ b/src/components/Settings/Common/CommonSettings.tsx
@@ -1,4 +1,4 @@
-import { Space, Stack, Text } from '@mantine/core';
+import { ScrollArea, Space, Stack, Text } from '@mantine/core';
import { useConfigContext } from '../../../config/provider';
import ConfigChanger from '../../Config/ConfigChanger';
import ConfigActions from './Config/ConfigActions';
@@ -17,12 +17,14 @@ export default function CommonSettings() {
}
return (
-
-
-
-
-
-
+
+
+
+
+
+
+
+
);
}
diff --git a/src/components/Settings/Common/Config/ConfigActions.tsx b/src/components/Settings/Common/Config/ConfigActions.tsx
index 46a71b03d..6a1232b04 100644
--- a/src/components/Settings/Common/Config/ConfigActions.tsx
+++ b/src/components/Settings/Common/Config/ConfigActions.tsx
@@ -35,7 +35,7 @@ export default function ConfigActions() {
closeModal={createCopyModal.close}
initialConfigName={config.configProperties.name}
/>
-
+
{t('buttons.download')}
diff --git a/src/components/Settings/Common/Credits.tsx b/src/components/Settings/Common/Credits.tsx
index 677f283e3..704fa2fc9 100644
--- a/src/components/Settings/Common/Credits.tsx
+++ b/src/components/Settings/Common/Credits.tsx
@@ -9,40 +9,22 @@ export default function Credits() {
return (
-
- component="a" href="https://github.com/ajnart/homarr" size="lg">
-
-
-
+ {t('credits.madeWithLove')}
+
- {CURRENT_VERSION}
-
-
-
-
- {t('credits.madeWithLove')}
-
- ajnart
-
-
- component="a" href="https://discord.gg/aCsmEV5RgA" size="lg">
-
-
-
+ ajnart
+
+ {' '}and you !
+
);
}
diff --git a/src/components/Settings/Customization/CustomizationSettings.tsx b/src/components/Settings/Customization/CustomizationSettings.tsx
index 5b6def2dc..b4ed1d3bb 100644
--- a/src/components/Settings/Customization/CustomizationSettings.tsx
+++ b/src/components/Settings/Customization/CustomizationSettings.tsx
@@ -1,4 +1,5 @@
import { Button, ScrollArea, Stack } from '@mantine/core';
+import { useTranslation } from 'next-i18next';
import { useConfigContext } from '../../../config/provider';
import { useConfigStore } from '../../../config/store';
import { LayoutSelector } from './Layout/LayoutSelector';
@@ -14,6 +15,7 @@ import { ShadeSelector } from './Theme/ShadeSelector';
export default function CustomizationSettings() {
const { config, name: configName } = useConfigContext();
+ const { t } = useTranslation('common');
const { updateConfig } = useConfigStore();
@@ -26,8 +28,8 @@ export default function CustomizationSettings() {
};
return (
-
-
+
+
@@ -47,7 +49,9 @@ export default function CustomizationSettings() {
-
+
);
}
diff --git a/src/components/Settings/SettingsDrawer.tsx b/src/components/Settings/SettingsDrawer.tsx
index bdd4bc4e8..fe08e323b 100644
--- a/src/components/Settings/SettingsDrawer.tsx
+++ b/src/components/Settings/SettingsDrawer.tsx
@@ -2,7 +2,6 @@ import { Drawer, ScrollArea, Tabs, Title } from '@mantine/core';
import { useTranslation } from 'next-i18next';
import CommonSettings from './Common/CommonSettings';
-import Credits from './Common/Credits';
import CustomizationSettings from './Customization/CustomizationSettings';
function SettingsMenu({ newVersionAvailable }: { newVersionAvailable: string }) {
@@ -15,9 +14,7 @@ function SettingsMenu({ newVersionAvailable }: { newVersionAvailable: string })
{t('tabs.customizations')}
-
-
-
+
@@ -48,7 +45,6 @@ export function SettingsDrawer({
onClose={closeDrawer}
>
-
);
}