cart.html 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <!DOCTYPE html>
  2. <html lang='en'>
  3. <head>
  4. <meta charset='UTF-8' />
  5. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  6. <!--Bootstrap css-->
  7. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
  8. <link rel='stylesheet' href='style.css'>
  9. <title> Pizza Delivery Cart</title>
  10. </head>
  11. <body>
  12. <header>
  13. <div class="container-fluid">
  14. <div class="row ">
  15. <nav class="navbar navbar-expand-lg navbar-light">
  16. <a class="navbar-brand" href="index.html"><img src="img/pizza-logo.png" alt="logo" style="width: 100px;"></a>
  17. <a href="cart.html" type="button" class="btn-cart px-5">
  18. <svg class="icon icon-basket" width="3em" height="3em" viewBox="0 0 16 16" class="bi bi-cart4" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
  19. <path fill="#fff" d="M0 2.5A.5.5 0 0 1 .5 2H2a.5.5 0 0 1 .485.379L2.89 4H14.5a.5.5 0 0 1 .485.621l-1.5 6A.5.5 0 0 1 13 11H4a.5.5 0 0 1-.485-.379L1.61 3H.5a.5.5 0 0 1-.5-.5zM3.14 5l.5 2H5V5H3.14zM6 5v2h2V5H6zm3 0v2h2V5H9zm3 0v2h1.36l.5-2H12zm1.11 3H12v2h.61l.5-2zM11 8H9v2h2V8zM8 8H6v2h2V8zM5 8H3.89l.5 2H5V8zm0 5a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-2 1a2 2 0 1 1 4 0 2 2 0 0 1-4 0zm9-1a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-2 1a2 2 0 1 1 4 0 2 2 0 0 1-4 0z"/>
  20. </svg>
  21. <span class="btn-cart-info"></span>
  22. </a>
  23. </nav>
  24. </div>
  25. </div>
  26. </header>
  27. <main>
  28. <div class="container-fluid">
  29. <div class="cart">
  30. <h2 class="cart__title">Ваш заказ</h2>
  31. <div id="cart__content" class="my-3"></div>
  32. <button type="button" id="cart__checkout" class="btn btn-warning mb-3 btn-checkout">Оформить заказ</button>
  33. <button type="button" id="cart__reset" class="btn btn-light mb-3 btn-clear">Очистить корзину</button>
  34. </div>
  35. </div>
  36. </main>
  37. <footer>
  38. <div class="container-fluid">
  39. <div class="row">
  40. <div class="col py-3"><a href="tel:+380501234567"><p class="text-center my-auto">+38 050 123 45 67</p></a></div>
  41. </div>
  42. </div>
  43. </footer>
  44. <script src='https://cdnjs.cloudflare.com/ajax/libs/axios/0.19.2/axios.js'></script>
  45. <!-- jQuery, Popper.js, and Bootstrap JS -->
  46. <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
  47. <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
  48. <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.min.js" integrity="sha384-w1Q4orYjBQndcko6MimVbzY0tgp4pWB4lZ7lr30WKz0vr/aWKhXdBNmNb5D92v7s" crossorigin="anonymous"></script>
  49. <!-- Custom script -->
  50. <script type='module' src='scripts/cart.js'></script>
  51. </body>
  52. </html>