From 6e6e0a370eb064637faf804ffdd15736ff0295a0 Mon Sep 17 00:00:00 2001 From: Maurice Date: Sun, 5 Apr 2026 17:33:16 +0200 Subject: [PATCH] ui(settings): add Ko-fi, Buy Me a Coffee and Discord cards to About tab --- client/src/components/Settings/AboutTab.tsx | 66 ++++++++++++++++++--- 1 file changed, 58 insertions(+), 8 deletions(-) diff --git a/client/src/components/Settings/AboutTab.tsx b/client/src/components/Settings/AboutTab.tsx index 4d6485f..261f328 100644 --- a/client/src/components/Settings/AboutTab.tsx +++ b/client/src/components/Settings/AboutTab.tsx @@ -1,5 +1,5 @@ import React from 'react' -import { Info } from 'lucide-react' +import { Info, Coffee, Heart, ExternalLink } from 'lucide-react' import { useTranslation } from '../../i18n' import Section from './Section' @@ -12,17 +12,67 @@ export default function AboutTab({ appVersion }: Props): React.ReactElement { return (
-
+
TREK v{appVersion}
- e.currentTarget.style.background = '#5865F220'} - onMouseLeave={e => e.currentTarget.style.background = 'var(--bg-tertiary)'} - title="Discord"> - +
+ +
+ { e.currentTarget.style.borderColor = '#ff5e5b'; e.currentTarget.style.boxShadow = '0 0 0 1px #ff5e5b22' }} + onMouseLeave={e => { e.currentTarget.style.borderColor = 'var(--border-primary)'; e.currentTarget.style.boxShadow = 'none' }} + > +
+ +
+
+
Ko-fi
+
{t('admin.github.support')}
+
+ +
+ { e.currentTarget.style.borderColor = '#ffdd00'; e.currentTarget.style.boxShadow = '0 0 0 1px #ffdd0022' }} + onMouseLeave={e => { e.currentTarget.style.borderColor = 'var(--border-primary)'; e.currentTarget.style.boxShadow = 'none' }} + > +
+ +
+
+
Buy Me a Coffee
+
{t('admin.github.support')}
+
+ +
+ { e.currentTarget.style.borderColor = '#5865F2'; e.currentTarget.style.boxShadow = '0 0 0 1px #5865F222' }} + onMouseLeave={e => { e.currentTarget.style.borderColor = 'var(--border-primary)'; e.currentTarget.style.boxShadow = 'none' }} + > +
+ +
+
+
Discord
+
Join the community
+
+