Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct FeedbackScreen: View {
- @State private var email = ""
- @Environment(\.dismiss) var dismiss
- var body: some View {
- Color("backgroundGuide")
- .ignoresSafeArea(edges: [.bottom, .leading, .trailing])
- .overlay {
- VStack{
- HStack
- {
- Button{
- dismiss()
- }label:{
- Image("Solidarrows")
- .padding(.leading,UIScreen.main.bounds.width/20)
- }
- Spacer()
- Text("Feedback")
- .foregroundColor(.black)
- .font(.system(size: 17))
- .bold()
- Spacer()
- }
- .padding(.vertical)
- .background(.white)
- .clipShape(Rectangle())
- .frame(maxWidth: .infinity)
- TextField("Your email", text: $email)
- .frame(width: UIScreen.main.bounds.width-UIScreen.main.bounds.width/9)
- .padding(.vertical)
- .background(.white)
- .clipShape(RoundedRectangle(cornerRadius: 8))
- .padding(.top,UIScreen.main.bounds.height/23)
- TextField("Message", text: $email)
- .frame(maxWidth: UIScreen.main.bounds.width-UIScreen.main.bounds.width/9,minHeight: UIScreen.main.bounds.height/4)
- .padding(.vertical)
- .background(.white)
- .clipShape(RoundedRectangle(cornerRadius: 8))
- .padding(.top,6)
- Spacer()
- Button{
- }label: {
- Text("Send")
- .font(.system(size: 16))
- .foregroundColor(.white)
- .frame(width: UIScreen.main.bounds.width-UIScreen.main.bounds.width/8)
- .padding(.vertical)
- .background(Color("guidePurple"))
- .clipShape(RoundedRectangle(cornerRadius: 40))
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment