mirror of
git://jb55.com/damus
synced 2024-09-30 08:50:42 +00:00
setupview: add what is nostr view
This commit is contained in:
parent
724773cb45
commit
ec35a413fe
@ -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)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user