diff --git a/apps/readest-app/src/components/AboutWindow.tsx b/apps/readest-app/src/components/AboutWindow.tsx index b5a54b79..b2c748e0 100644 --- a/apps/readest-app/src/components/AboutWindow.tsx +++ b/apps/readest-app/src/components/AboutWindow.tsx @@ -6,6 +6,7 @@ import { useTranslation } from '@/hooks/useTranslation'; import { checkForAppUpdates } from '@/helpers/updater'; import { parseWebViewVersion } from '@/utils/ua'; import Dialog from './Dialog'; +import Link from './Link'; export const setAboutDialogVisible = (visible: boolean) => { const dialog = document.getElementById('about_window'); @@ -75,27 +76,20 @@ export const AboutWindow = () => {
This software is licensed under the{' '} - GNU Affero General Public License v3.0 - + . You are free to use, modify, and distribute this software under the terms of the AGPL v3 license. Please see the license for more details.
Source code is available at{' '} - + GitHub - + .
diff --git a/apps/readest-app/src/components/Link.tsx b/apps/readest-app/src/components/Link.tsx new file mode 100644 index 00000000..7b2d3020 --- /dev/null +++ b/apps/readest-app/src/components/Link.tsx @@ -0,0 +1,23 @@ +import { isTauriAppPlatform } from '@/services/environment'; +import { openUrl } from '@tauri-apps/plugin-opener'; + +interface LinkProps extends React.AnchorHTMLAttributes