-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a97f8c5
commit bd7e83a
Showing
3 changed files
with
252 additions
and
171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,20 +7,15 @@ | |
<link rel="stylesheet" href="style.css" /> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous" /> | ||
<script src="https://kit.fontawesome.com/13e30f32fe.js" crossorigin="anonymous"></script> | ||
<title>Mahdi Majdian</title> | ||
<title>Restaurant App</title> | ||
|
||
</head> | ||
<body> | ||
<div class="header"> | ||
<div class="header-overlay"></div> | ||
<div class="header-content"> | ||
<div class="header-img"></div> | ||
<div class="header-p1">Eat Healthy</div> | ||
<div class="header-p2">Live Healthy</div> | ||
</div> | ||
</div> | ||
<div class="box-overlay" style="display: none" id="popup"> | ||
<div class="order"> | ||
<div class="close" id="close" onclick="closePopUp()"> | ||
|
||
<!-- Popup Section --> | ||
<div class="popup" style="display: none" id="popup"> | ||
<div class="popup__order"> | ||
<div class="popup__close" id="close" onclick="closePopUp()"> | ||
<i class="fa fa-times"></i> | ||
</div> | ||
<img src="assets/plate-1.png" alt="" /> | ||
|
@@ -48,24 +43,39 @@ | |
</div> | ||
</div> | ||
</div> | ||
|
||
<!-- Header Section --> | ||
<header class="header"> | ||
<div class="header-overlay"></div> | ||
<div class="header-content"> | ||
<div class="header-img"></div> | ||
<div class="header-p1">Eat Healthy</div> | ||
<div class="header-p2">Live Healthy</div> | ||
</div> | ||
</header> | ||
|
||
<!-- Main Section containing list of foods --> | ||
<div class="content"> | ||
<div class="container pt-5 flex" id="list"></div> | ||
</div> | ||
|
||
<!-- Right Panel --> | ||
<div class="panel d-flex flex-column justify-content-between align-items-center"> | ||
<div class="cart container pt-4"> | ||
<!-- Top Cart Section --> | ||
<div class="cart container-fluid pt-4"> | ||
<div class="empty-cart text-center pb-4"> | ||
<i class="fa fa-shopping-cart shopping-cart"></i> | ||
<p class="m-0">Your shopping cart is empty!</p> | ||
</div> | ||
|
||
</div> | ||
<div class="container text-center text-white"> | ||
|
||
<!-- Bottom Checkout section --> | ||
<div class="container-fluid text-center text-white"> | ||
<p class="mb-2" style="font-size: 1.4rem; font-weight: normal">Discount Code?</p> | ||
<div class="d-flex mb-3"> | ||
<div class="d-flex mb-3 justify-content-center"> | ||
<div class="check-code" onclick="cart.checkDiscount()"> | ||
<input class="w-100 rounded-pill px-4 py-1" placeholder="code" type="text" /> | ||
|
||
<i class="fa fa-check" id="hghg"></i> | ||
<i class="fa fa-check" id="check-discount"></i> | ||
</div> | ||
</div> | ||
<div class="details-box rounded-pill mx-auto mb-2 mt-3 py-2"> | ||
|
@@ -74,9 +84,11 @@ | |
<p class="details m-0">Discount: <span class="checkout-discount"></span></p> | ||
</div> | ||
<p style="font-size: 2rem">Total: <span class="checkout-total"></span></p> | ||
<div class="submit-order rounded-pill py-2 px-4">Place Order</div> | ||
<div class="submit-order mx-auto rounded-pill py-2 px-4">Place Order</div> | ||
</div> | ||
</div> | ||
|
||
|
||
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script> | ||
<script src="main.js"></script> | ||
</body> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.