diff --git a/src/components/Settings/SettingsMenu.tsx b/src/components/Settings/SettingsMenu.tsx
index b97bc00a1..60a9a756d 100644
--- a/src/components/Settings/SettingsMenu.tsx
+++ b/src/components/Settings/SettingsMenu.tsx
@@ -8,6 +8,7 @@ import {
Indicator,
Alert,
Notification,
+ Anchor,
} from '@mantine/core';
import { useElementSize, useHotkeys, useViewportSize } from '@mantine/hooks';
import { useEffect, useState } from 'react';
@@ -18,46 +19,33 @@ import AdvancedSettings from './AdvancedSettings';
import CommonSettings from './CommonSettings';
import Credits from './Credits';
import { CURRENT_VERSION, REPO_URL } from '../../../data/constants';
+import Link from 'next/link';
+import { NextLink } from '@mantine/next';
function SettingsMenu({ newVersionAvailable }: { newVersionAvailable: string }) {
const { t } = useTranslation('settings/common');
const { height, width } = useViewportSize();
return (
- <>
- }
- disallowClose
- color="teal"
- radius="md"
- title="New update available"
- hidden={newVersionAvailable === ''}
- >
- {
- //TODO: Translate and add link to release page}
- }
- Version {newVersionAvailable} is available, update now!
-
-
-
-
- {t('tabs.common')}
- {t('tabs.customizations')}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- >
+
+
+ {t('tabs.common')}
+ {t('tabs.customizations')}
+
+
+
+ {newVersionAvailable && }
+
+
+
+
+
+
+
+
+
+
+
);
}
@@ -107,3 +95,28 @@ export function SettingsMenuButton(props: any) {
>
);
}
+
+function NewUpdateIndicator({ newVersionAvailable }: { newVersionAvailable: string }) {
+ return (
+ }
+ disallowClose
+ color="teal"
+ radius="md"
+ title="New update available"
+ hidden={newVersionAvailable === ''}
+ >
+ Version{' '}
+
+
+ {newVersionAvailable}
+
+ {' '}
+ is available ! Current version: {CURRENT_VERSION}
+
+ );
+}