text: import React from 'react';
  import {MainPage, CartPage} from '../pages';
  import AppHeader from '../app-header';
  import {Route, Switch} from 'react-router-dom';
  import Background from './food-bg.jpg';
  
  const App = () => {
  
      return (
          <div style={{background: `url(${Background}) center center/cover no-repeat`}} className="app">
              <AppHeader/>
              <Switch>
                  <Route
                      path="/"
                      component={MainPage}
                      exact/>
                  <Route
                      path="/cart"
                      component={CartPage}
                      />
              </Switch>
          </div>
      )
  }
  
  export default App;
  
  
  
  
  