1
0
mirror of git://jb55.com/damus synced 2024-09-30 00:40:45 +00:00

setupview: add what is nostr view

This commit is contained in:
ericholguin 2023-05-26 15:19:18 -06:00 committed by William Casarin
parent 724773cb45
commit ec35a413fe

View File

@ -86,6 +86,25 @@ struct LearnAboutNostrLink: View {
}
}
}
struct WhatIsNostr: View {
var body: some View {
HStack(alignment: .top) {
Image("nostr-logo")
VStack(alignment: .leading) {
Text("What is nostr?")
.fontWeight(.bold)
.padding(.vertical, 10)
Text("Nostr is a protocol, designed for simplicity, that aims to create a censorship-resistant global social network")
.foregroundColor(DamusColors.mediumGrey)
LearnAboutNostrLink()
.padding(.top, 10)
}
}
}
}
}
}