-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
173 lines (166 loc) · 5.7 KB
/
index.html
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<!-- <link rel="stylesheet" href="/style.css"> -->
<title> E-COMMERCE WEBSITE</title>
<script src="https://kit.fontawesome.com/4a3b1f73a2.js"></script>
<link href="https://fonts.googleapis.com/css?family=Lato&display=swap" rel="stylesheet">
<!-- slider links -->
<!-- <script src="http://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script> -->
<script src="js/jQuery3.4.1.js"></script>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.9.0/slick.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.9.0/slick-theme.min.css">
</head>
<body>
<!--navbar section-->
<nav class="navbar">
<div class="navbar-img">
<img src="./index-image.jpg.png" width="160px">
</div>
<div class="navbar-menu">
<ul>
<li id="nav-hide">
<a href="">FAQs</a>
</li>
<li>
<a href="./admin-dashboard.html">Admin</a>
</li>
<li>
<a href="./choose-file.html">Login</a>
</li>
</ul>
</div>
</nav>
<div>
<nav class="navbar2">
<ul>
<li>
<a href="./index.html">Home</a>
</li>
<li>
<a href="./about.html">About</a>
</li>
<li>
<a href="./services.html">Services</a>
</li>
<li>
<a href="./contact.html">Contact us</a>
</li>
<li>
<a href="./merchant-dashboard.html">Sell products</a>
</li>
</ul>
</nav>
</div>
<div class="header">
<div class="heading">
<h2>A new online Shop Experience</h2>
<p>Shop Your interesting things with us</p>
</div>
<div>
<button id="btn">
<a href="./shop.html">Shop Now</a>
</button>
</div>
</div>
</div>
<!-- HEADER -->
<div id="1"></div>
<script>
load("header.html");
function load(url)
{
req = new XMLHttpRequest();
req.open("GET", url, false);
req.send(null);
document.getElementById(1).innerHTML = req.responseText;
}
</script>
<!-- SLIDER -->
<div id="2"></div>
<script>
load("slider.html");
function load(url)
{
req = new XMLHttpRequest();
req.open("GET", url, false);
req.send(null);
document.getElementById(2).innerHTML = req.responseText;
}
</script>
<!-- CONTENT SECTION -->
<div id="3"></div>
<script>
load("content.html");
function load(url)
{
req = new XMLHttpRequest();
req.open("GET", url, false);
req.send(null);
document.getElementById(3).innerHTML = req.responseText;
}
</script>
<div class="mycart-button">
<button><a href="cart.html">Go to My Cart</a></button>
</div>
<!--follow section-->
<h2 style="text-align:center;padding-top:40px;padding-bottom:20px;font-size:28px;">Follow Us On</h2>
<div class="follows">
<div class="follow">
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/1/1b/Facebook_icon.svg/2048px-Facebook_icon.svg.png"width=60px>
</div>
<div class="follow">
<img src="https://www.nicepng.com/png/detail/1-12860_new-instagram-logo-png-transparent-png-format-instagram.png"width=60px>
</div>
<div class="follow">
<img src="https://img.freepik.com/free-icon/twitter_318-674515.jpg?w=2000"width=60px>
</div>
<div class="follow">
<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTjTiK-AtWaobNPgsInlVW4DY03H6Wu4NIybNKRW5KGiRQNWeOAzpp4WtOYWQpzptWIvFw&usqp=CAU"width=60px>
</div>
</div>
<!--Footer section-->
<div class="terms">
<div id="term1">
<a href="">About</a>
<a href="">Contact Us</a>
<a href="">Services</a>
<a href="">Privacy</a>
</div>
<div id="term2">
<a href="">FAQs</a>
<a href="">Return Policy</a>
<a href="">Security</a>
<a href="">Terma of Use</a>
</div>
<div id="term3">
<a href="">Cancellation</a>
<a href="">Payments</a>
<a href="">Shipping</a>
<a href=""></a>
</div>
</div>
<div style="text-align: center;padding:10px;word-break: break-all;font-size: 20px;"><b>Made By: </b><i>Harsh Dev Pathak</i></div>
</body>
<!-- slider JS START -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.9.0/slick.min.js"></script>
<script>
$(document).ready(function()
{
$('#containerSlider').slick({
dots: true,
infinite: true,
slidesToShow: 1,
slidesToScroll: 1,
autoplay: true,
autoplaySpeed: 1500,
});
});
</script>
<!-- content JS -->
<script src="content.js"></script>
</html>