feat: submit relay button
This commit is contained in:
@@ -397,6 +397,7 @@ export default {
|
|||||||
'See extra info for each notification': 'عرض معلومات إضافية لكل إشعار',
|
'See extra info for each notification': 'عرض معلومات إضافية لكل إشعار',
|
||||||
'See more notifications at a glance': 'رؤية المزيد من الإشعارات بنظرة سريعة',
|
'See more notifications at a glance': 'رؤية المزيد من الإشعارات بنظرة سريعة',
|
||||||
Detailed: 'تفصيلي',
|
Detailed: 'تفصيلي',
|
||||||
Compact: 'مضغوط'
|
Compact: 'مضغوط',
|
||||||
|
'Submit Relay': 'إرسال ريلاي'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -407,6 +407,7 @@ export default {
|
|||||||
'Zusätzliche Informationen für jede Benachrichtigung anzeigen',
|
'Zusätzliche Informationen für jede Benachrichtigung anzeigen',
|
||||||
'See more notifications at a glance': 'Mehr Benachrichtigungen auf einen Blick sehen',
|
'See more notifications at a glance': 'Mehr Benachrichtigungen auf einen Blick sehen',
|
||||||
Detailed: 'Detailliert',
|
Detailed: 'Detailliert',
|
||||||
Compact: 'Kompakt'
|
Compact: 'Kompakt',
|
||||||
|
'Submit Relay': 'Relay einreichen'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -396,6 +396,7 @@ export default {
|
|||||||
'See extra info for each notification': 'See extra info for each notification',
|
'See extra info for each notification': 'See extra info for each notification',
|
||||||
'See more notifications at a glance': 'See more notifications at a glance',
|
'See more notifications at a glance': 'See more notifications at a glance',
|
||||||
Detailed: 'Detailed',
|
Detailed: 'Detailed',
|
||||||
Compact: 'Compact'
|
Compact: 'Compact',
|
||||||
|
'Submit Relay': 'Submit Relay'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -402,6 +402,7 @@ export default {
|
|||||||
'See extra info for each notification': 'Ver información adicional para cada notificación',
|
'See extra info for each notification': 'Ver información adicional para cada notificación',
|
||||||
'See more notifications at a glance': 'Ver más notificaciones de un vistazo',
|
'See more notifications at a glance': 'Ver más notificaciones de un vistazo',
|
||||||
Detailed: 'Detallado',
|
Detailed: 'Detallado',
|
||||||
Compact: 'Compacto'
|
Compact: 'Compacto',
|
||||||
|
'Submit Relay': 'Enviar relé'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -398,6 +398,7 @@ export default {
|
|||||||
'See extra info for each notification': 'مشاهده اطلاعات اضافی برای هر اعلان',
|
'See extra info for each notification': 'مشاهده اطلاعات اضافی برای هر اعلان',
|
||||||
'See more notifications at a glance': 'مشاهده اعلانهای بیشتر در یک نگاه',
|
'See more notifications at a glance': 'مشاهده اعلانهای بیشتر در یک نگاه',
|
||||||
Detailed: 'تفصیلی',
|
Detailed: 'تفصیلی',
|
||||||
Compact: 'فشرده'
|
Compact: 'فشرده',
|
||||||
|
'Submit Relay': 'ارسال رله'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -407,6 +407,7 @@ export default {
|
|||||||
'Voir des infos supplémentaires pour chaque notification',
|
'Voir des infos supplémentaires pour chaque notification',
|
||||||
'See more notifications at a glance': "Voir plus de notifications en un coup d'œil",
|
'See more notifications at a glance': "Voir plus de notifications en un coup d'œil",
|
||||||
Detailed: 'Détaillé',
|
Detailed: 'Détaillé',
|
||||||
Compact: 'Compact'
|
Compact: 'Compact',
|
||||||
|
'Submit Relay': 'Soumettre un relais'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -401,6 +401,7 @@ export default {
|
|||||||
'See extra info for each notification': 'प्रत्येक सूचना के लिए अतिरिक्त जानकारी देखें',
|
'See extra info for each notification': 'प्रत्येक सूचना के लिए अतिरिक्त जानकारी देखें',
|
||||||
'See more notifications at a glance': 'एक नज़र में अधिक सूचनाएं देखें',
|
'See more notifications at a glance': 'एक नज़र में अधिक सूचनाएं देखें',
|
||||||
Detailed: 'विस्तृत',
|
Detailed: 'विस्तृत',
|
||||||
Compact: 'संक्षिप्त'
|
Compact: 'संक्षिप्त',
|
||||||
|
'Submit Relay': 'रिले सबमिट करें'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -402,6 +402,7 @@ export default {
|
|||||||
'See extra info for each notification': 'Visualizza informazioni extra per ogni notifica',
|
'See extra info for each notification': 'Visualizza informazioni extra per ogni notifica',
|
||||||
'See more notifications at a glance': "Visualizza più notifiche a colpo d'occhio",
|
'See more notifications at a glance': "Visualizza più notifiche a colpo d'occhio",
|
||||||
Detailed: 'Dettagliato',
|
Detailed: 'Dettagliato',
|
||||||
Compact: 'Compatto'
|
Compact: 'Compatto',
|
||||||
|
'Submit Relay': 'Invia Relay'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -399,6 +399,7 @@ export default {
|
|||||||
'See extra info for each notification': '各通知の詳細情報を表示',
|
'See extra info for each notification': '各通知の詳細情報を表示',
|
||||||
'See more notifications at a glance': '一目でより多くの通知を確認',
|
'See more notifications at a glance': '一目でより多くの通知を確認',
|
||||||
Detailed: '詳細',
|
Detailed: '詳細',
|
||||||
Compact: 'コンパクト'
|
Compact: 'コンパクト',
|
||||||
|
'Submit Relay': 'リレーを提出'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -399,6 +399,7 @@ export default {
|
|||||||
'See extra info for each notification': '각 알림의 추가 정보 보기',
|
'See extra info for each notification': '각 알림의 추가 정보 보기',
|
||||||
'See more notifications at a glance': '한눈에 더 많은 알림 보기',
|
'See more notifications at a glance': '한눈에 더 많은 알림 보기',
|
||||||
Detailed: '상세',
|
Detailed: '상세',
|
||||||
Compact: '간단'
|
Compact: '간단',
|
||||||
|
'Submit Relay': '릴레이 제출'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -403,6 +403,7 @@ export default {
|
|||||||
'See extra info for each notification': 'Zobacz dodatkowe informacje dla każdego powiadomienia',
|
'See extra info for each notification': 'Zobacz dodatkowe informacje dla każdego powiadomienia',
|
||||||
'See more notifications at a glance': 'Zobacz więcej powiadomień na pierwszy rzut oka',
|
'See more notifications at a glance': 'Zobacz więcej powiadomień na pierwszy rzut oka',
|
||||||
Detailed: 'Szczegółowy',
|
Detailed: 'Szczegółowy',
|
||||||
Compact: 'Zwięzły'
|
Compact: 'Zwięzły',
|
||||||
|
'Submit Relay': 'Prześlij przekaźnik'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -399,6 +399,7 @@ export default {
|
|||||||
'See extra info for each notification': 'Ver informações extras para cada notificação',
|
'See extra info for each notification': 'Ver informações extras para cada notificação',
|
||||||
'See more notifications at a glance': 'Ver mais notificações rapidamente',
|
'See more notifications at a glance': 'Ver mais notificações rapidamente',
|
||||||
Detailed: 'Detalhado',
|
Detailed: 'Detalhado',
|
||||||
Compact: 'Compacto'
|
Compact: 'Compacto',
|
||||||
|
'Submit Relay': 'Enviar Relay'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -402,6 +402,7 @@ export default {
|
|||||||
'See extra info for each notification': 'Ver informações extra para cada notificação',
|
'See extra info for each notification': 'Ver informações extra para cada notificação',
|
||||||
'See more notifications at a glance': 'Ver mais notificações rapidamente',
|
'See more notifications at a glance': 'Ver mais notificações rapidamente',
|
||||||
Detailed: 'Detalhado',
|
Detailed: 'Detalhado',
|
||||||
Compact: 'Compacto'
|
Compact: 'Compacto',
|
||||||
|
'Submit Relay': 'Enviar Relay'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -404,6 +404,7 @@ export default {
|
|||||||
'Просмотреть дополнительную информацию для каждого уведомления',
|
'Просмотреть дополнительную информацию для каждого уведомления',
|
||||||
'See more notifications at a glance': 'Увидеть больше уведомлений с первого взгляда',
|
'See more notifications at a glance': 'Увидеть больше уведомлений с первого взгляда',
|
||||||
Detailed: 'Подробный',
|
Detailed: 'Подробный',
|
||||||
Compact: 'Компактный'
|
Compact: 'Компактный',
|
||||||
|
'Submit Relay': 'Отправить релей'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -394,6 +394,7 @@ export default {
|
|||||||
'See extra info for each notification': 'ดูข้อมูลเพิ่มเติมสำหรับการแจ้งเตือนแต่ละรายการ',
|
'See extra info for each notification': 'ดูข้อมูลเพิ่มเติมสำหรับการแจ้งเตือนแต่ละรายการ',
|
||||||
'See more notifications at a glance': 'ดูการแจ้งเตือนเพิ่มเติมในแวบเดียว',
|
'See more notifications at a glance': 'ดูการแจ้งเตือนเพิ่มเติมในแวบเดียว',
|
||||||
Detailed: 'รายละเอียด',
|
Detailed: 'รายละเอียด',
|
||||||
Compact: 'กะทัดรัด'
|
Compact: 'กะทัดรัด',
|
||||||
|
'Submit Relay': 'ส่งรีเลย์'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -392,6 +392,7 @@ export default {
|
|||||||
'See extra info for each notification': '查看每条通知的详细信息',
|
'See extra info for each notification': '查看每条通知的详细信息',
|
||||||
'See more notifications at a glance': '一目了然地查看更多通知',
|
'See more notifications at a glance': '一目了然地查看更多通知',
|
||||||
Detailed: '详细',
|
Detailed: '详细',
|
||||||
Compact: '紧凑'
|
Compact: '紧凑',
|
||||||
|
'Submit Relay': '提交服务器'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
import Explore from '@/components/Explore'
|
import Explore from '@/components/Explore'
|
||||||
import FollowingFavoriteRelayList from '@/components/FollowingFavoriteRelayList'
|
import FollowingFavoriteRelayList from '@/components/FollowingFavoriteRelayList'
|
||||||
import Tabs from '@/components/Tabs'
|
import Tabs from '@/components/Tabs'
|
||||||
|
import { Button } from '@/components/ui/button'
|
||||||
import PrimaryPageLayout from '@/layouts/PrimaryPageLayout'
|
import PrimaryPageLayout from '@/layouts/PrimaryPageLayout'
|
||||||
import { Compass } from 'lucide-react'
|
import { Compass, Plus } from 'lucide-react'
|
||||||
import { forwardRef, useState } from 'react'
|
import { forwardRef, useState } from 'react'
|
||||||
import { useTranslation } from 'react-i18next'
|
import { useTranslation } from 'react-i18next'
|
||||||
|
|
||||||
@@ -37,9 +38,25 @@ function ExplorePageTitlebar() {
|
|||||||
const { t } = useTranslation()
|
const { t } = useTranslation()
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex gap-2 items-center h-full pl-3">
|
<div className="flex gap-2 justify-between h-full">
|
||||||
<Compass />
|
<div className="flex gap-2 items-center h-full pl-3">
|
||||||
<div className="text-lg font-semibold">{t('Explore')}</div>
|
<Compass />
|
||||||
|
<div className="text-lg font-semibold">{t('Explore')}</div>
|
||||||
|
</div>
|
||||||
|
<Button
|
||||||
|
variant="ghost"
|
||||||
|
size="titlebar-icon"
|
||||||
|
className="relative w-fit px-3"
|
||||||
|
onClick={() => {
|
||||||
|
window.open(
|
||||||
|
'https://github.com/CodyTseng/awesome-nostr-relays/issues/new?template=add-relay.md',
|
||||||
|
'_blank'
|
||||||
|
)
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
<Plus size={16} />
|
||||||
|
{t('Submit Relay')}
|
||||||
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user