mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Add Mirrors
This commit is contained in:
2 files changed
+60
-1
No files matched your search
@@ -228,6 +228,8 @@ const resources = {
|
||||
// About Settings
|
||||
aboutShakespeare: 'About Shakespeare',
|
||||
aboutShakespeareDescription: 'Information about Shakespeare',
|
||||
mirrors: 'Mirrors',
|
||||
mirrorsDescription: 'Shakespeare is available at multiple mirror URLs for redundancy and accessibility.',
|
||||
sourceCode: 'Source Code',
|
||||
description: 'Description',
|
||||
license: 'License',
|
||||
@@ -619,6 +621,8 @@ const resources = {
|
||||
// About Settings
|
||||
aboutShakespeare: 'Sobre o Shakespeare',
|
||||
aboutShakespeareDescription: 'Informações sobre o Shakespeare.',
|
||||
mirrors: 'Espelhos',
|
||||
mirrorsDescription: 'Shakespeare está disponível em vários URLs espelhados para redundância e acessibilidade.',
|
||||
sourceCode: 'Código-fonte',
|
||||
description: 'Descrição',
|
||||
license: 'Licença',
|
||||
@@ -962,6 +966,8 @@ const resources = {
|
||||
// About Settings
|
||||
aboutShakespeare: '关于Shakespeare',
|
||||
aboutShakespeareDescription: '关于Shakespeare的信息。',
|
||||
mirrors: '镜像',
|
||||
mirrorsDescription: 'Shakespeare可通过多个镜像URL访问,以确保冗余和可访问性。',
|
||||
sourceCode: '源代码',
|
||||
description: '描述',
|
||||
license: '许可证',
|
||||
@@ -1295,6 +1301,8 @@ const resources = {
|
||||
// About Settings
|
||||
aboutShakespeare: 'Game da Shakespeare',
|
||||
aboutShakespeareDescription: 'Bayani game da Shakespeare.',
|
||||
mirrors: 'Madubai',
|
||||
mirrorsDescription: 'Shakespeare yana samuwa a URLs masu yawa don inganci da samun dama.',
|
||||
sourceCode: 'Lambar Tushe',
|
||||
description: 'Bayanin',
|
||||
license: 'Lasisi',
|
||||
@@ -1628,6 +1636,8 @@ const resources = {
|
||||
// About Settings
|
||||
aboutShakespeare: 'Nipa Shakespeare',
|
||||
aboutShakespeareDescription: 'Alaye nipa Shakespeare.',
|
||||
mirrors: 'Awọn Digi',
|
||||
mirrorsDescription: 'Shakespeare wa ni awọn URL digi pupọ fun aredundan ati iraye si.',
|
||||
sourceCode: 'Koodu Orisun',
|
||||
description: 'Apejuwe',
|
||||
license: 'Iwe-aṣẹ',
|
||||
@@ -1956,6 +1966,8 @@ const resources = {
|
||||
// About Settings
|
||||
aboutShakespeare: 'Gbasara Shakespeare',
|
||||
aboutShakespeareDescription: 'Ozi gbasara Shakespeare.',
|
||||
mirrors: 'Enyo',
|
||||
mirrorsDescription: 'Shakespeare dị na ọtụtụ URL enyo maka nnọchi na nnweta.',
|
||||
sourceCode: 'Koodu Isi',
|
||||
description: 'Nkọwa',
|
||||
license: 'Ikike',
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { useState, useEffect } from 'react';
|
||||
import { useNavigate } from 'react-router-dom';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { Info, ExternalLink, Loader2, AlertTriangle, ArrowLeft, Code } from 'lucide-react';
|
||||
import { Info, ExternalLink, Loader2, AlertTriangle, ArrowLeft, Code, Globe } from 'lucide-react';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from '@/components/ui/accordion';
|
||||
import { Alert, AlertDescription } from '@/components/ui/alert';
|
||||
@@ -83,6 +83,53 @@ export function AboutSettings() {
|
||||
<EmailSubscription />
|
||||
|
||||
<div className="space-y-3">
|
||||
{/* Mirrors */}
|
||||
<Accordion type="single" collapsible className="w-full">
|
||||
<AccordionItem value="mirrors" className="border rounded-lg">
|
||||
<AccordionTrigger className="px-4 py-3 hover:no-underline">
|
||||
<div className="flex items-center gap-2">
|
||||
<Globe className="h-5 w-5" />
|
||||
{t('mirrors')}
|
||||
</div>
|
||||
</AccordionTrigger>
|
||||
<AccordionContent className="px-4 pb-4">
|
||||
<p className="text-sm text-muted-foreground mb-3">{t('mirrorsDescription')}</p>
|
||||
<div className="space-y-2">
|
||||
<Button
|
||||
variant="outline"
|
||||
className="w-full h-10 flex items-center gap-2 justify-start"
|
||||
asChild
|
||||
>
|
||||
<a href="https://shakespeare.diy" target="_blank" rel="noopener noreferrer">
|
||||
<span className="font-mono text-sm">shakespeare.diy</span>
|
||||
<ExternalLink className="ml-auto h-4 w-4" />
|
||||
</a>
|
||||
</Button>
|
||||
<Button
|
||||
variant="outline"
|
||||
className="w-full h-10 flex items-center gap-2 justify-start"
|
||||
asChild
|
||||
>
|
||||
<a href="https://shakespeare.soapbox.dev" target="_blank" rel="noopener noreferrer">
|
||||
<span className="font-mono text-sm">shakespeare.soapbox.dev</span>
|
||||
<ExternalLink className="ml-auto h-4 w-4" />
|
||||
</a>
|
||||
</Button>
|
||||
<Button
|
||||
variant="outline"
|
||||
className="w-full h-10 flex items-center gap-2 justify-start"
|
||||
asChild
|
||||
>
|
||||
<a href="https://shakespeare-b0b9c8.gitlab.io" target="_blank" rel="noopener noreferrer">
|
||||
<span className="font-mono text-sm">shakespeare-b0b9c8.gitlab.io</span>
|
||||
<ExternalLink className="ml-auto h-4 w-4" />
|
||||
</a>
|
||||
</Button>
|
||||
</div>
|
||||
</AccordionContent>
|
||||
</AccordionItem>
|
||||
</Accordion>
|
||||
|
||||
{/* Project Information */}
|
||||
<Button
|
||||
variant="outline"
|
||||
|
||||
Reference in new issue
Block a user