feat: add homepage url to relay details

This commit is contained in:
codytseng
2025-09-07 22:57:34 +08:00
parent 7afd493619
commit a6baca3009
17 changed files with 43 additions and 16 deletions

View File

@@ -50,6 +50,17 @@ export default function RelayInfo({ url, className }: { url: string; className?:
)}
</div>
<div className="space-y-2">
<div className="text-sm font-semibold text-muted-foreground">{t('Homepage')}:</div>
<a
href={normalizeHttpUrl(relayInfo.url)}
target="_blank"
className="hover:underline text-primary select-text"
>
{normalizeHttpUrl(relayInfo.url)}
</a>
</div>
{relayInfo.payments_url && (
<div className="space-y-2">
<div className="text-sm font-semibold text-muted-foreground">{t('Payment page')}:</div>

View File

@@ -398,6 +398,7 @@ export default {
'See more notifications at a glance': 'رؤية المزيد من الإشعارات بنظرة سريعة',
Detailed: 'تفصيلي',
Compact: 'مضغوط',
'Submit Relay': 'إرسال ريلاي'
'Submit Relay': 'إرسال ريلاي',
Homepage: 'الصفحة الرئيسية'
}
}

View File

@@ -408,6 +408,7 @@ export default {
'See more notifications at a glance': 'Mehr Benachrichtigungen auf einen Blick sehen',
Detailed: 'Detailliert',
Compact: 'Kompakt',
'Submit Relay': 'Relay einreichen'
'Submit Relay': 'Relay einreichen',
Homepage: 'Homepage'
}
}

View File

@@ -397,6 +397,7 @@ export default {
'See more notifications at a glance': 'See more notifications at a glance',
Detailed: 'Detailed',
Compact: 'Compact',
'Submit Relay': 'Submit Relay'
'Submit Relay': 'Submit Relay',
Homepage: 'Homepage'
}
}

View File

@@ -403,6 +403,7 @@ export default {
'See more notifications at a glance': 'Ver más notificaciones de un vistazo',
Detailed: 'Detallado',
Compact: 'Compacto',
'Submit Relay': 'Enviar relé'
'Submit Relay': 'Enviar relé',
Homepage: 'Página principal'
}
}

View File

@@ -399,6 +399,7 @@ export default {
'See more notifications at a glance': 'مشاهده اعلان‌های بیشتر در یک نگاه',
Detailed: 'تفصیلی',
Compact: 'فشرده',
'Submit Relay': 'ارسال رله'
'Submit Relay': 'ارسال رله',
Homepage: 'صفحه اصلی'
}
}

View File

@@ -408,6 +408,7 @@ export default {
'See more notifications at a glance': "Voir plus de notifications en un coup d'œil",
Detailed: 'Détaillé',
Compact: 'Compact',
'Submit Relay': 'Soumettre un relais'
'Submit Relay': 'Soumettre un relais',
Homepage: 'Page daccueil'
}
}

View File

@@ -402,6 +402,7 @@ export default {
'See more notifications at a glance': 'एक नज़र में अधिक सूचनाएं देखें',
Detailed: 'विस्तृत',
Compact: 'संक्षिप्त',
'Submit Relay': 'रिले सबमिट करें'
'Submit Relay': 'रिले सबमिट करें',
Homepage: 'होमपेज'
}
}

View File

@@ -403,6 +403,7 @@ export default {
'See more notifications at a glance': "Visualizza più notifiche a colpo d'occhio",
Detailed: 'Dettagliato',
Compact: 'Compatto',
'Submit Relay': 'Invia Relay'
'Submit Relay': 'Invia Relay',
Homepage: 'Homepage'
}
}

View File

@@ -400,6 +400,7 @@ export default {
'See more notifications at a glance': '一目でより多くの通知を確認',
Detailed: '詳細',
Compact: 'コンパクト',
'Submit Relay': 'リレーを提出'
'Submit Relay': 'リレーを提出',
Homepage: 'ホームページ'
}
}

View File

@@ -400,6 +400,7 @@ export default {
'See more notifications at a glance': '한눈에 더 많은 알림 보기',
Detailed: '상세',
Compact: '간단',
'Submit Relay': '릴레이 제출'
'Submit Relay': '릴레이 제출',
Homepage: '홈페이지'
}
}

View File

@@ -404,6 +404,7 @@ export default {
'See more notifications at a glance': 'Zobacz więcej powiadomień na pierwszy rzut oka',
Detailed: 'Szczegółowy',
Compact: 'Zwięzły',
'Submit Relay': 'Prześlij przekaźnik'
'Submit Relay': 'Prześlij przekaźnik',
Homepage: 'Strona główna'
}
}

View File

@@ -400,6 +400,7 @@ export default {
'See more notifications at a glance': 'Ver mais notificações rapidamente',
Detailed: 'Detalhado',
Compact: 'Compacto',
'Submit Relay': 'Enviar Relay'
'Submit Relay': 'Enviar Relay',
Homepage: 'Página inicial'
}
}

View File

@@ -403,6 +403,7 @@ export default {
'See more notifications at a glance': 'Ver mais notificações rapidamente',
Detailed: 'Detalhado',
Compact: 'Compacto',
'Submit Relay': 'Enviar Relay'
'Submit Relay': 'Enviar Relay',
Homepage: 'Página inicial'
}
}

View File

@@ -405,6 +405,7 @@ export default {
'See more notifications at a glance': 'Увидеть больше уведомлений с первого взгляда',
Detailed: 'Подробный',
Compact: 'Компактный',
'Submit Relay': 'Отправить релей'
'Submit Relay': 'Отправить релей',
Homepage: 'Домашняя страница'
}
}

View File

@@ -395,6 +395,7 @@ export default {
'See more notifications at a glance': 'ดูการแจ้งเตือนเพิ่มเติมในแวบเดียว',
Detailed: 'รายละเอียด',
Compact: 'กะทัดรัด',
'Submit Relay': 'ส่งรีเลย์'
'Submit Relay': 'ส่งรีเลย์',
Homepage: 'หน้าแรก'
}
}

View File

@@ -393,6 +393,7 @@ export default {
'See more notifications at a glance': '一目了然地查看更多通知',
Detailed: '详细',
Compact: '紧凑',
'Submit Relay': '提交服务器'
'Submit Relay': '提交服务器',
Homepage: '主页'
}
}