forked from arghadipmanna101/Flipkart_Clone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
164 lines (148 loc) · 6.43 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Flipkart</title>
<link rel="icon" type="image/png" href="./flipkart_icon.png">
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="./index.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" integrity="sha512-..." crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<style>
* {
padding: 0;
margin: 0;
}
html,
body {
position: relative;
height: 100%;
background: #eee;
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
font-size: 14px;
color: #000;
margin: 0;
padding: 0;
}
.swiper {
width: 100%;
height: 100%;
}
.swiper-slide {
text-align: center;
font-size: 18px;
background: #fff;
display: flex;
justify-content: center;
align-items: center;
}
.swiper-slide img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
</style>
</head>
<body>
<!-- inline stylesheet -->
<!-- internal css -->
<!-- external css -->
<!-- id, class -->
<div id="navbar-container"></div>
<!-- Navbar -->
<!-- list of categories -->
<section id="carousal">
<div id="carouselExampleIndicators" class="carousel slide" 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>
</ol>
<div class="carousel-inner">
<div class="carousel-item active">
<img class="d-block w-100" src="./images/add1.jpg" alt="First slide">
</div>
<div class="carousel-item">
<img class="d-block w-100" src="./images/add2.jpg" alt="Second slide">
</div>
<div class="carousel-item">
<img class="d-block w-100" src="./images/add3.png" 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>
</section>
<!-- <section id="footer"> -->
<footer>
<div class="footer-top">
<div class="footer-section">
<h3>About</h3>
<ul>
<li><a href="https://corporate.flipkart.net/corporate-home">About Us</a></li>
<li><a href="https://www.flipkartcareers.com/?otracker=${otracker}_navlinks">Careers</a></li>
<li><a href="http://stories.flipkart.com/">Flipkart Stories</a></li>
<li><a href="https://www.cleartrip.com/">Cleartrip</a></li>
<li><a href="#">Press</a></li>
<li><a href="#">Corporate Information</a></li>
</ul>
</div>
<div class="footer-section">
<h3>Help</h3>
<ul>
<li><a href="https://www.flipkart.com/pages/payments">Payments</a></li>
<li><a href="https://www.flipkart.com/pages/shipping">Shipping</a></li>
<li><a href="https://www.flipkart.com/helpcentre?catalog=55c9c8e2b0000023002c1702&view=CATALOG">FAQ</a></li>
</ul>
</div>
<div class="footer-section">
<h3>Follow us on</h3>
<ul class="social-icons">
<li><a href="https://www.twitter.com/flipkart"><i class="fab fa-twitter"></i> Twitter</a></li>
<li><a href="https://www.youtube.com/flipkart"><i class="fab fa-youtube"></i> YouTube</a></li>
<li><a href="https://www.facebook.com/flipkart"><i class="fab fa-facebook"></i> Facebook</a></li>
</ul>
</div>
<hr> <!-- Line between "Follow us" and "Contact us" -->
<div class="footer-section">
<h3>Contact us</h3>
<p>Vaishnavi Summit, Ground Floor,<br> 7th Main, 80 Feet Road, 3rd Block,<br> Koramangala Industrial Layout, Bangalore KA<br> IN 560034.</p>
</div>
</div>
<div class="footer-bottom">
<!-- Content for footer-bottom goes here -->
</div>
</footer>
<!-- End Footer Section -->
<!-- jQuery and Swiper Script -->
<script src="https://code.jquery.com/jquery-1.10.2.js"></script>
<script src="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js"></script>
<script>
$(function () {
$("#navbar-container").load("./Navabar.html");
});
</script>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script><script src="./index.js">
</script>
<script>
fetch('./navabar.html')
.then(response => response.text())
.then(data => {
// Insert the retrieved HTML content into the navbar-container
document.getElementById('navbar-container').innerHTML = data;
})
.catch(error => console.error('Error fetching navbar:', error));
</script>
</body>
</html>