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

update header #1593

Merged
merged 5 commits into from
Aug 9, 2024
Merged
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
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;
}
}