diff --git a/src/pages/NostrSettings.tsx b/src/pages/NostrSettings.tsx index e37828a7..2c55f8cb 100644 --- a/src/pages/NostrSettings.tsx +++ b/src/pages/NostrSettings.tsx @@ -3,9 +3,9 @@ import { useTranslation } from 'react-i18next'; import { Button } from '@/components/ui/button'; import { Label } from '@/components/ui/label'; import { Input } from '@/components/ui/input'; -import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'; import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar'; import { Skeleton } from '@/components/ui/skeleton'; +import { Separator } from '@/components/ui/separator'; import { RelayListManager } from '@/components/RelayListManager'; import SimpleLoginDialog from '@/components/auth/SimpleLoginDialog'; import SimpleSignupDialog from '@/components/auth/SimpleSignupDialog'; @@ -168,16 +168,14 @@ export function NostrSettings() { )} -
+
{/* Account Management */} - - - - - {t('nostrAccounts')} - - - +
+
+ +

{t('nostrAccounts')}

+
+
{isLoading ? (
{/* Loading skeleton for accounts */} @@ -287,31 +285,29 @@ export function NostrSettings() {
)} - - +
+
+ + {/* Relay Configuration */} - - - - - {t('relayConfiguration')} - - - - - - +
+
+ +

{t('relayConfiguration')}

+
+ +
+ + {/* Nostr Git Servers */} - - - - - {t('nostrGitServers')} - - - +
+
+ +

{t('nostrGitServers')}

+
+
{/* Server List */}
{config.ngitServers.map((hostname) => ( @@ -365,8 +361,8 @@ export function NostrSettings() { {t('addServer')}
- - +
+
{/* Login Dialog */}