From 7c192d54f422a5f2b55750535d2382e313f1d011 Mon Sep 17 00:00:00 2001 From: sct Date: Tue, 2 Feb 2021 08:16:53 +0000 Subject: [PATCH] fix(frontend): add github sponsor link to about page --- src/components/Settings/SettingsAbout/index.tsx | 15 +++++++++++++++ src/i18n/locale/en.json | 5 +++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/src/components/Settings/SettingsAbout/index.tsx b/src/components/Settings/SettingsAbout/index.tsx index fb95adf96..29ce9220f 100644 --- a/src/components/Settings/SettingsAbout/index.tsx +++ b/src/components/Settings/SettingsAbout/index.tsx @@ -6,6 +6,7 @@ import LoadingSpinner from '../../Common/LoadingSpinner'; import { SettingsAboutResponse } from '../../../../server/interfaces/api/settingsInterfaces'; import { defineMessages, FormattedNumber, useIntl } from 'react-intl'; import Releases from './Releases'; +import Badge from '../../Common/Badge'; const messages = defineMessages({ overseerrinformation: 'Overseerr Information', @@ -19,6 +20,7 @@ const messages = defineMessages({ supportoverseerr: 'Support Overseerr', helppaycoffee: 'Help Pay for Coffee', documentation: 'Documentation', + preferredmethod: 'Preferred Method', }); const SettingsAbout: React.FC = () => { @@ -94,6 +96,19 @@ const SettingsAbout: React.FC = () => { + + https://github.com/sponsors/sct + + + {intl.formatMessage(messages.preferredmethod)} + + +