-
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
0 parents
commit d1d6782
Showing
61 changed files
with
610 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,248 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Document</title> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA==" crossorigin="anonymous" referrerpolicy="no-referrer" /> | ||
<link rel="stylesheet" href="style.css"> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css"/> | ||
</head> | ||
<body> | ||
<!-- ========================================================= --> | ||
<!------------------ header section starts ----------------------> | ||
<header> | ||
<a href="#" class="logo"><i class="fas fa-utensils"> </i>resto.</a> | ||
|
||
<nav class="navbar"> | ||
<a class="active" href="#home">home</a> | ||
<a href="#dishes">dishes</a> | ||
<a href="#about">about</a> | ||
<a href="#menu">menu</a> | ||
<a href="#review">review</a> | ||
<a href="#order">order</a> | ||
</nav> | ||
<div class="icons"> | ||
<i class="fas fa-bars" id="menu-bars"></i> | ||
<i class="fas fa-search" id="search-icon"></i> | ||
<a href="#" class="fas fa-heart"></a> | ||
<a href="#" class="fas fa-shopping-cart"></a> | ||
</div> | ||
</header> | ||
<!---------------------- header section ends --------------------> | ||
<!-- ========================================================= --> | ||
|
||
|
||
|
||
<!-- ========================================================= --> | ||
<!----------------------- search form starts --------------------> | ||
<form action="" id="search-form"> | ||
<input type="search" placeholder="search here...." name="" id="search-box"> | ||
<label for="search-box" class="fas fa-search"></label> | ||
<i class="fas fa-times" id="close"></i> | ||
</form> | ||
<!----------------------- search form ends ----------------------> | ||
<!-- ========================================================= --> | ||
|
||
|
||
|
||
<!-- ========================================================= --> | ||
<!--------------------- home section starts ---------------------> | ||
<section class="home" id ="home"> | ||
<div class="swiper-container home-slider"> | ||
<div class="swiper-wrapper wrapper"> | ||
|
||
<div class="swiper-slide slide"> | ||
<div class="content"> | ||
<span>Our Special Dish</span> | ||
<h3>Fried Tofu</h3> | ||
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Odio, molestias.</p> | ||
<a href = "#" class="btn">ORDER NOW</a> | ||
</div> | ||
<div class="image"> | ||
<img src="images/img7.JPG" width="730px" height="600px"> | ||
</div> | ||
</div> | ||
|
||
<div class="swiper-slide slide"> | ||
<div class="content"> | ||
<span>Our Special Dish</span> | ||
<h3>Spicy Noodles</h3> | ||
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Odio, molestias.</p> | ||
<a href = "#" class="btn">Order Now</a> | ||
</div> | ||
<div class="image"> | ||
<img src="images/img8.JPG" width="730px" height="600px"> | ||
</div> | ||
</div> | ||
|
||
<div class="swiper-slide slide"> | ||
<div class="content"> | ||
<span>Our Special Dish</span> | ||
<h3>Spicy Noodles</h3> | ||
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Odio, molestias.</p> | ||
<a href = "#" class="btn">Order Now</a> | ||
</div> | ||
<div class="image"> | ||
<img src="images/img5.JPG" width="730px" height="600px"> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="swiper-pagination"></div> | ||
</div> | ||
</section> | ||
<!-------------------- home section ends ------------------------> | ||
<!-- ========================================================= --> | ||
|
||
|
||
<!-- ========================================================= --> | ||
<!--------------------- dishes section starts -------------------> | ||
<section class="dishes" id="dishes"> | ||
<h3 class="sub-heading">our dishes</h3> | ||
<h1 class="heading">popular dishes</h1> | ||
<div class="box-container"> | ||
<div class="box"> | ||
<a href="#" class="fas fa-heart"></a> | ||
<a href="#" class="fas fa-eye"></a> | ||
<img src="images/img9.JPG" alt="" width="400px" height="280px"> | ||
<h3>tasty foods</h3> | ||
<div class="stars"> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star-half-alt"></i> | ||
</div> | ||
<span>$15.99</span> | ||
<a href="#" class="btn">add to cart</a> | ||
</div> | ||
<div class="box"> | ||
<a href="#" class="fas fa-heart"></a> | ||
<a href="#" class="fas fa-eye"></a> | ||
<img src="images/img10.JPG" alt="" width="400px" height="280px"> | ||
<h3>tasty foods</h3> | ||
<div class="stars"> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star-half-alt"></i> | ||
</div> | ||
<span>$15.99</span> | ||
<a href="#" class="btn">add to cart</a> | ||
</div> | ||
<div class="box"> | ||
<a href="#" class="fas fa-heart"></a> | ||
<a href="#" class="fas fa-eye"></a> | ||
<img src="images/img11.JPG" alt="" width="400px" height="280px"> | ||
<h3>tasty foods</h3> | ||
<div class="stars"> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star-half-alt"></i> | ||
</div> | ||
<span>$15.99</span> | ||
<a href="#" class="btn">add to cart</a> | ||
</div> | ||
<div class="box"> | ||
<a href="#" class="fas fa-heart"></a> | ||
<a href="#" class="fas fa-eye"></a> | ||
<img src="images/img12.JPG" alt="" width="400px" height="280px"> | ||
<h3>tasty foods</h3> | ||
<div class="stars"> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star-half-alt"></i> | ||
</div> | ||
<span>$15.99</span> | ||
<a href="#" class="btn">add to cart</a> | ||
</div> | ||
<div class="box"> | ||
<a href="#" class="fas fa-heart"></a> | ||
<a href="#" class="fas fa-eye"></a> | ||
<img src="images/img13.JPG" alt="" width="400px" height="280px"> | ||
<h3>tasty foods</h3> | ||
<div class="stars"> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star-half-alt"></i> | ||
</div> | ||
<span>$15.99</span> | ||
<a href="#" class="btn">add to cart</a> | ||
</div> | ||
<div class="box"> | ||
<a href="#" class="fas fa-heart"></a> | ||
<a href="#" class="fas fa-eye"></a> | ||
<img src="images/img14.JPG" alt="" width="400px" height="280px"> | ||
<h3>tasty foods</h3> | ||
<div class="stars"> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star-half-alt"></i> | ||
</div> | ||
<span>$15.99</span> | ||
<a href="#" class="btn">add to cart</a> | ||
</div> | ||
<div class="box"> | ||
<a href="#" class="fas fa-heart"></a> | ||
<a href="#" class="fas fa-eye"></a> | ||
<img src="images/img15.JPG" alt="" width="400px" height="280px"> | ||
<h3>tasty foods</h3> | ||
<div class="stars"> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star-half-alt"></i> | ||
</div> | ||
<span>$15.99</span> | ||
<a href="#" class="btn">add to cart</a> | ||
</div> | ||
<div class="box"> | ||
<a href="#" class="fas fa-heart"></a> | ||
<a href="#" class="fas fa-eye"></a> | ||
<img src="images/img16.JPG" alt="" width="400px" height="280px"> | ||
<h3>tasty foods</h3> | ||
<div class="stars"> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star-half-alt"></i> | ||
</div> | ||
<span>$15.99</span> | ||
<a href="#" class="btn">add to cart</a> | ||
</div> | ||
<div class="box"> | ||
<a href="#" class="fas fa-heart"></a> | ||
<a href="#" class="fas fa-eye"></a> | ||
<img src="images/img17.JPG" alt="" width="400px" height="280px"> | ||
<h3>tasty foods</h3> | ||
<div class="stars"> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star-half-alt"></i> | ||
</div> | ||
<span>$15.99</span> | ||
<a href="#" class="btn">add to cart</a> | ||
</div> | ||
</div> | ||
</section> | ||
<!-------------------- dishes section ends ----------------------> | ||
<!-- ========================================================= --> | ||
<script src="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js"></script> | ||
<script src="script.js"> | ||
|
||
</script> | ||
</body> | ||
</html> |
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
let menu = document.querySelector('#menu-bars'); | ||
let navbar = document.querySelector('.navbar'); | ||
|
||
menu.onclick = () =>{ | ||
menu.classList.toggle('fa-times'); | ||
navbar.classList.toggle('active'); | ||
} | ||
|
||
window.onscroll = () =>{ | ||
menu.classList.remove('fa-times'); | ||
navbar.classList.remove('active'); | ||
} | ||
|
||
document.querySelector("#search-icon").onclick = () =>{ | ||
document.querySelector("#search-form").classList.toggle('active'); | ||
} | ||
|
||
document.querySelector("#close").onclick = () => { | ||
document.querySelector("#search-form").classList.remove('active'); | ||
} | ||
|
||
var swiper = new Swiper(".home-slider", { | ||
spaceBetween: 130, | ||
centeredSlides: true, | ||
autoplay: { | ||
delay: 2500, | ||
disableOnInteraction: false, | ||
}, | ||
pagination: { | ||
el: ".swiper-pagination", | ||
clickable: true, | ||
}, | ||
loop: true, | ||
}); |
Oops, something went wrong.