Skip to content

Commit

Permalink
Merge pull request #1593 from csathnere/main
Browse files Browse the repository at this point in the history
update header
  • Loading branch information
arghadipmanna101 authored Aug 9, 2024
2 parents a91b3d6 + 662c95d commit e4f9a85
Show file tree
Hide file tree
Showing 6 changed files with 55 additions and 268 deletions.
55 changes: 0 additions & 55 deletions Home-Kitchen/index.html

This file was deleted.

32 changes: 0 additions & 32 deletions Home-Kitchen/script.js

This file was deleted.

100 changes: 0 additions & 100 deletions Home-Kitchen/styles.css

This file was deleted.

79 changes: 0 additions & 79 deletions Top Offers-/index.html

This file was deleted.

54 changes: 54 additions & 0 deletions components/header.html
Original file line number Diff line number Diff line change
@@ -1 +1,55 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="theme-color" content="#2874F0" id="themeColor">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Header</title>
<link rel="stylesheet" type="text/css" href="../../css/bootstrap.min.css">
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons/font/bootstrap-icons.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="../../css/header.css">
</head>

<body>

<!-- Header -->
<header id="header-bluebg">
<nav class="container-fluid" style="background-color: #2874F0;">
<div class="container">
<nav class="navbar bg-body-tertiary">
<div class="container-fluid">
<a class="navbar-brand" href="../../">
<img src="../../img/flipcartlogo.PNG" width="80px">
</a>
<div class="searchBar_h">
<input id="inputField_h" type="text" autocomplete="off"
placeholder="Search for products, brands and more">
<i id="fetchButton_h" class="bi bi-search btn"></i>
</div>
<div>
<button class="btn btn-primary"><a href="../../account/login-signup.html">Login</a></button>
</div>
<div class="text-white b_a_s">
<a href="../../sell-online/">Become a Seller</a>
</div>
<div class="text-white" id="more_h">
More <i class="bi bi-chevron-down"></i><i class="bi bi-chevron-up"></i>
</div>
<div class="text-white cartLogoandname">
<a href="../../viewcart/">
<img src="../../img/svg/cart_h.svg" alt=""><span class="cart_h">Cart </span><span id="cartItems"></span>
</a>
</div>
</div>
</nav>
</div>
</nav>

</header>
<!-- javaScript -->
<script src="../../js/bootstrap.bundle.min.js"></script>
<script src="../../js/header_bluebg.js"></script>
</body>

</html>
3 changes: 1 addition & 2 deletions css/header.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

* {
margin: 0;
padding: 0;
Expand Down Expand Up @@ -93,4 +92,4 @@ color: #000;
.searchBar_h .bi-search{
position: absolute;
right: 8px;
}
}

0 comments on commit e4f9a85

Please sign in to comment.