From 2bddd5ce92eae96af258d9f6b84300af72327f58 Mon Sep 17 00:00:00 2001 From: ericholguin Date: Fri, 26 May 2023 15:58:30 -0600 Subject: [PATCH] loginview: add sign in header view struct --- damus/Views/LoginView.swift | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/damus/Views/LoginView.swift b/damus/Views/LoginView.swift index 654b74a6..c72cf0db 100644 --- a/damus/Views/LoginView.swift +++ b/damus/Views/LoginView.swift @@ -312,6 +312,25 @@ struct KeyInput: View { } } +struct SignInHeader: View { + var body: some View { + VStack { + Image("logo-nobg") + .resizable() + .frame(width: 56, height: 56, alignment: .center) + .shadow(color: DamusColors.purple, radius: 2) + .padding(.bottom) + + Text("Sign in", comment: "Title of view to log into an account.") + .font(.system(size: 32, weight: .bold)) + .padding(.bottom, 5) + + Text("Welcome to the social network you control", comment: "Welcome text") + .foregroundColor(Color("DamusMediumGrey")) + } + } +} + } } }