forked from akashyap2013/Mobile_Shopee-E-Commerce-Website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
80 lines (70 loc) · 3.61 KB
/
header.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mobile Shopee</title>
<!-- Bootstrap CDN -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<!-- Owl-carousel CDN -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css" integrity="sha256-UhQQ4fxEeABh4JrcmAJ1+16id/1dnlOEVCFOxDef9Lw=" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.theme.default.min.css" integrity="sha256-kksNxjDRxd/5+jGurZUJd1sdR2v+ClrCl3svESBaJqw=" crossorigin="anonymous" />
<!-- font awesome icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css" integrity="sha256-h20CPZ0QyXlBuAw7A+KluUYx/3pK+c7lYEpqLTlxjYQ=" crossorigin="anonymous" />
<!-- Custom CSS file -->
<link rel="stylesheet" href="style.css">
<?php
// require functions.php file
require ('functions.php');
?>
</head>
<body>
<!-- start #header -->
<header id="header">
<div class="strip d-flex justify-content-between px-4 py-1 bg-light">
<p class="font-rale font-size-12 text-black-50 m-0">Jordan Calderon 430-985 Eleifend St. Duluth Washington 92611 (427) 930-5255</p>
<div class="font-rale font-size-14">
<a href="#" class="px-3 border-right border-left text-dark">Login</a>
<a href="#" class="px-3 border-right text-dark">Whishlist (0)</a>
</div>
</div>
<!-- Primary Navigation -->
<nav class="navbar navbar-expand-lg navbar-dark color-second-bg">
<a class="navbar-brand" href="#">Mobile Shopee</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav m-auto font-rubik">
<li class="nav-item active">
<a class="nav-link" href="#">On Sale</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Category</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Products <i class="fas fa-chevron-down"></i></a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Blog</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Category <i class="fas fa-chevron-down"></i></a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Coming Soon</a>
</li>
</ul>
<form action="#" class="font-size-14 font-rale">
<a href="cart.php" class="py-2 rounded-pill color-primary-bg">
<span class="font-size-16 px-2 text-white"><i class="fas fa-shopping-cart"></i></span>
<span class="px-3 py-2 rounded-pill text-dark bg-light"><?php echo count($product->getData('cart')); ?></span>
</a>
</form>
</div>
</nav>
<!-- !Primary Navigation -->
</header>
<!-- !start #header -->
<!-- start #main-site -->
<main id="main-site">