struct ContentView: View {
   @State private var appData = ApplicationData.shared
   @State private var searchURL = ""

   var body: some View {
      VStack {
         TextField("Insert Domain", text: $searchURL)
            .textFieldStyle(.roundedBorder)
            .autocapitalization(.none)
            .autocorrectionDisabled(true)
            .onSubmit {
               appData.loadPage(domain: searchURL)
            }
            .padding()
            .glassEffect(.regular)
         WebView(appData.page)
      }
   }
}