@@ -195,6 +198,7 @@
import { ref, computed, onMounted, nextTick } from 'vue'
import NostrDMs from './NostrDMs.vue'
import NostrRelayManager from './NostrRelayManager.vue'
+import NostrProfileEditor from './NostrProfileEditor.vue'
import { useNostr, type NostrNote, type PublishResult } from '@/composables/useNostr'
import { useNostrIdentity } from '@/composables/useNostrIdentity'
@@ -203,11 +207,12 @@ defineEmits<{ selectNote: [note: NostrNote] }>()
const { events: notes, isConnected, relayStates, connect, publishEvent } = useNostr()
const { isLoggedIn, signEvent } = useNostrIdentity()
-const activeSubTab = ref<'feed' | 'dms' | 'relays'>('feed')
+const activeSubTab = ref<'feed' | 'dms' | 'relays' | 'profile'>('feed')
const subTabs = [
{ id: 'feed' as const, label: 'Feed' },
{ id: 'dms' as const, label: 'Messages' },
{ id: 'relays' as const, label: 'Relays' },
+ { id: 'profile' as const, label: 'Profile' },
]
const search = ref('')
diff --git a/packages/app/src/components/content/NostrProfileEditor.vue b/packages/app/src/components/content/NostrProfileEditor.vue
new file mode 100644
index 00000000..9292950a
--- /dev/null
+++ b/packages/app/src/components/content/NostrProfileEditor.vue
@@ -0,0 +1,221 @@
+
+
+
+
Nostr Profile
+
+
+
+
Sign in with Nostr to edit your profile
+
+
+
+
+
+
+