From c1cbbed05c666504829004a70da659e5f00a36a0 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 26 Sep 2025 20:33:48 -0500 Subject: [PATCH] About page improvements --- src/lib/i18n.ts | 6 ----- src/pages/AboutSettings.tsx | 45 +++++++++++++------------------------ 2 files changed, 16 insertions(+), 35 deletions(-) diff --git a/src/lib/i18n.ts b/src/lib/i18n.ts index d1784ff1..c10614a4 100644 --- a/src/lib/i18n.ts +++ b/src/lib/i18n.ts @@ -207,7 +207,6 @@ const resources = { aboutShakespeare: 'About Shakespeare', aboutShakespeareDescription: 'Information about Shakespeare', sourceCode: 'Source Code', - viewOnGitLab: 'View on GitLab', description: 'Description', license: 'License', loadingLicense: 'Loading license...', @@ -561,7 +560,6 @@ const resources = { aboutShakespeare: 'Sobre o Shakespeare', aboutShakespeareDescription: 'Informações sobre o Shakespeare.', sourceCode: 'Código-fonte', - viewOnGitLab: 'Ver no GitLab', description: 'Descrição', license: 'Licença', loadingLicense: 'Carregando licença...', @@ -874,7 +872,6 @@ const resources = { aboutShakespeare: '关于Shakespeare', aboutShakespeareDescription: '关于Shakespeare的信息。', sourceCode: '源代码', - viewOnGitLab: '在GitLab上查看', description: '描述', license: '许可证', loadingLicense: '加载许可证中...', @@ -1187,7 +1184,6 @@ const resources = { aboutShakespeare: 'Game da Shakespeare', aboutShakespeareDescription: 'Bayani game da Shakespeare.', sourceCode: 'Lambar Tushe', - viewOnGitLab: 'Duba akan GitLab', description: 'Bayanin', license: 'Lasisi', loadingLicense: 'Ana lodin lasisi...', @@ -1500,7 +1496,6 @@ const resources = { aboutShakespeare: 'Nipa Shakespeare', aboutShakespeareDescription: 'Alaye nipa Shakespeare.', sourceCode: 'Koodu Orisun', - viewOnGitLab: 'Wo lori GitLab', description: 'Apejuwe', license: 'Iwe-aṣẹ', loadingLicense: 'N gbe iwe-aṣẹ...', @@ -1808,7 +1803,6 @@ const resources = { aboutShakespeare: 'Gbasara Shakespeare', aboutShakespeareDescription: 'Ozi gbasara Shakespeare.', sourceCode: 'Koodu Isi', - viewOnGitLab: 'Lee na GitLab', description: 'Nkọwa', license: 'Ikike', loadingLicense: 'Na-ebu ikike...', diff --git a/src/pages/AboutSettings.tsx b/src/pages/AboutSettings.tsx index c42dd692..8c577b8f 100644 --- a/src/pages/AboutSettings.tsx +++ b/src/pages/AboutSettings.tsx @@ -3,7 +3,6 @@ import { useNavigate } from 'react-router-dom'; import { useTranslation } from 'react-i18next'; import { Info, ExternalLink, Loader2, AlertTriangle, ArrowLeft } from 'lucide-react'; import { Button } from '@/components/ui/button'; -import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'; import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from '@/components/ui/accordion'; import { Alert, AlertDescription } from '@/components/ui/alert'; import { useIsMobile } from '@/hooks/useIsMobile'; @@ -80,33 +79,21 @@ export function AboutSettings() {
{/* Project Information */} - - - - - {t('sourceCode')} - - - -
- -
-
-
+ {/* License */} @@ -131,7 +118,7 @@ export function AboutSettings() { ) : license ? ( -
+
) : null}