     }
     .background(
       RoundedRectangle(cornerRadius: 16.0, style: .circular)
-      .foregroundColor(Color(.secondarySystemFill))
+        .foregroundColor(Color(.secondarySystemFill))
     )
   }
 }

}

struct ContentView_Previews: PreviewProvider {
    static var previews: some View {
      ContentView()
    }
}

// MARK: Example Auth View Modifier

extension View {
  func handlePasswordlessLogin(forEmail email: String,
                               completion: @escaping (_ user: User?, _ error: Error?) -> ()) -> some View {
      self.onOpenURL { (url) in
        let link = url.absoluteString
        if Auth.auth().isSignIn(withEmailLink: link) {
          Auth.auth().signIn(withEmail: email, link: link) { result, error in
            print(error ?? "Authentication was successful.")
            let newUser = error == nil ? Auth.auth().currentUser : nil
            completion(newUser, error)
          }
        }
      }
    }
}


  @Binding var text: String
  let placeholder: String
  let symbolName: String

  var body: some View {
    HStack {
      Image(systemName: symbolName)
        .imageScale(.large)
        .padding(.leading)

      TextField(placeholder, text: $text)
        .padding(.vertical)
        .accentColor(.orange)
