Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hengki #19

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added assets/icons/chicken.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/more.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/pasta.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/pizza.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/promo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/rice.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/apple_store_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/background.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/carousel_1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/carousel_2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/carousel_3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/carousel_4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/facebook.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/google_play_store_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/instagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/main_1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/main_2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/top-img-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/twitter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/youtube.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 52 additions & 0 deletions index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
body {
background: url(./assets/images/background.jpg);
}

#logo {
max-width: 260px;
}

#promo {
background: url(./assets/icons/promo.png);
}

#pizza {
background: url(./assets/icons/pizza.png);
}

#pasta {
background: url(./assets/icons/pasta.png);
}

#chicken {
background: url(./assets/icons/chicken.png);
}

#rice {
background: url(./assets/icons/rice.png);
}

#more {
background: url(./assets/icons/more.png);
}

h5 {
color: yellow;
}

a {
color: white;
}

nav {
background-color: rgba(0,0,0,.4)
}

.navbar-icon {
max-width: 50px;
display: block;
}

.nav-link {
border: #FFF
}
255 changes: 255 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,255 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">

<link href="./index.css" rel="stylesheet">

<title>Pizza Hut Delivery - Clone</title>
</head>
<body>
<nav>
<div class="container d-flex">
<div class="col-4">
<a href="">
<img src="./assets/images/logo.png" class="logo" alt="logo-pizza">
</a>
</div>
<div class="col-4">
<a href="">
<img src="./assets/images/logo.png" class="logo" alt="logo-pizza">
</a>
</div>
<div class="col-4">
<a href="">
<img src="./assets/images/top-img-1.png" class="logo" alt="logo-pizza">
</a>
</div>
</div>
</nav>

<nav class="navbar navbar-expand-md sticky-top">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarTogglerDemo01" aria-controls="navbarTogglerDemo01" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarTogglerDemo01">
<ul class="container navbar-nav mr-auto mt-2 mt-lg-0">
<li class="nav-item">
<a class="nav-link" href="#">
<img class="navbar-icon" src="./assets/icons/promo.png" alt="logo-pizza">
Hot Promo
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">
<img class="navbar-icon" src="./assets/icons/pizza.png" alt="logo-pizza">
Pizza
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">
<img class="navbar-icon" src="./assets/icons/pasta.png" alt="logo-pizza">
Pasta
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">
<img class="navbar-icon" src="./assets/icons/rice.png" alt="logo-pizza">
Rice
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">
<img class="navbar-icon" src="./assets/icons/more.png" alt="logo-pizza">
More
</a>
</li>
</ul>
</div>
</nav>

<main class="container">
<div id="carouselExampleIndicators" class="carousel slide pt-2" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="3"></li>
</ol>
<div class="carousel-inner">
<div class="carousel-item active">
<img class="d-block w-100" src="./assets/images/carousel_1.jpg" alt="First slide">
</div>
<div class="carousel-item">
<img class="d-block w-100" src="./assets/images/carousel_2.jpg" alt="Second slide">
</div>
<div class="carousel-item">
<img class="d-block w-100" src="./assets/images/carousel_3.jpg" alt="Third slide">
</div>
<div class="carousel-item">
<img class="d-block w-100" src="./assets/images/carousel_4.jpg" alt="Third slide">
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
<div class="row my-4">
<div class="col-md-6">
<a href="">
<img src="./assets/images/main_1.jpg" alt="main-promo">
</a>
</div>
<div class="col-md-6">
<a href="">
<img src="./assets/images/main_2.jpg" alt="main-promo">
</a>
</div>
</div>
</main>
<footer class="container">
<div class="row">
<div class="col-2">
<h5>MENU</h5>
<ul>
<li class="list-unstyled">
<a href="">Hot Promo</a>
</li>
<li class="list-unstyled">
<a href="">Pizza</a>
</li>
<li class="list-unstyled">
<a href="">Pasta</a>
</li>
<li class="list-unstyled">
<a href="">Chicken</a>
</li>
<li class="list-unstyled">
<a href="">Rice</a>
</li>
<li class="list-unstyled">
<a href="">Snacks</a>
</li>
<li class="list-unstyled">
<a href="">Drinks</a>
</li>
<li class="list-unstyled">
<a href="">Desserts</a>
</li>
</ul>

</div>
<div class="col-2">
<h5>ABOUT</h5>
<ul>
<li class="list-unstyled">
<a href="">PHD Profile</a>
</li>
<li class="list-unstyled">
<a href="">Outlet Location</a>
</li>
<li class="list-unstyled">
<a href="">PHD App</a>
</li>
</ul>
</div>
<div class="col-2">
<h5>MY ACCOUNT</h5>
<ul>
<li class="list-unstyled">
<a href="">FAQ</a>
</li>
<li class="list-unstyled">
<a href="">Contact Us</a>
</li>
<li class="list-unstyled">
<a href="">Create an account</a>
</li>
<li class="list-unstyled">
<a href="">Sign in</a>
</li>
<li class="list-unstyled">
<a href="">Point</a>
</li>
</ul>
<h5>CUSTOMER SERVICE</h5>

</div>
<div class="col-2">
<h5>POLICIES</h5>
<ul>
<li class="list-unstyled">
<a href="">Privacy Policy</a>
</li>
<li class="list-unstyled">
<a href="">Terms</a>
</li>
</ul>
</div>
<div class="col-2">
<h5>CONNECT WITH PHD</h5>
<ul>
<li class="list-unstyled">
<a href="">
<span>LIKE US ON</span>
<span>Facebook</span>
</a>
</li>
<li class="list-unstyled">
<a href="">
<span>FOLLOW US ON</span>
<span>Twitter</span>
</a>
</li>
<li class="list-unstyled">
<a href="">
<span>WATCH US ON</span>
<span>YOUTUBE</span>
</a>
</li>
<li class="list-unstyled">
<a href="">
<span>FOLLOW US ON</span>
<span>INSTAGRAM</span>
</a>
</li>
<li class="list-unstyled">
<a href="">
<span>CALL US ON</span>
<span>12-3321</span>
</a>
</li>
</ul>
</div>
<div class="col-2">
<ul>
<li class="list-unstyled">
<a href="">
<img src="./assets/images/apple_store_logo.png" alt="main-promo">
</a>
</li>
<li class="list-unstyled">
<a href="">
<img src="./assets/images/google_play_store_logo.png" alt="main-promo">
</a>
</li>
</ul>
</div>
</div>
</footer>

<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
</body>
</html>
Empty file added index.js
Empty file.