text: import React from "react";
  import logo from "./logo.svg";
  import "./App.css";
  
  import {
    BrowserRouter as Router,
    Route,
    Switch,
    Redirect
  } from "react-router-dom";
  
  import _Home_all_1 from "./pages/Home_all_1";
  import _Testlogin from "./pages/Testlogin";
  
  import { ApolloProvider } from "@apollo/react-hooks";
  import ApolloClient from "./apollo/apolloClient";
  
  function App() {
    return (
      <div>
        <ApolloProvider client={ApolloClient}>
          <Router>
            <Switch>
              <Route exact path="/">
                <Redirect to="/HomeAll" />
              </Route>
              <Route path="/HomeAll" exact component={_Home_all_1} />
              <Route path="/loginseccess" exact component={_Testlogin} />
            </Switch>
          </Router>
        </ApolloProvider>
      </div>
    );
  }
  
  export default App;
  