From ec35a413fee9b6738ce87ddd4ecb29e036f343b3 Mon Sep 17 00:00:00 2001 From: ericholguin Date: Fri, 26 May 2023 15:19:18 -0600 Subject: [PATCH] setupview: add what is nostr view --- damus/Views/SetupView.swift | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/damus/Views/SetupView.swift b/damus/Views/SetupView.swift index 35b6a20d..2e1d5f85 100644 --- a/damus/Views/SetupView.swift +++ b/damus/Views/SetupView.swift @@ -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) + } + } + } +} } }