Spaces:
Running
Running
Update index.html
Browse files- index.html +21 -3
index.html
CHANGED
|
@@ -14,40 +14,48 @@
|
|
| 14 |
background-color: #f5f5f5;
|
| 15 |
color: #333;
|
| 16 |
}
|
|
|
|
| 17 |
header {
|
| 18 |
background-color: #333;
|
| 19 |
color: #fff;
|
| 20 |
padding: 20px;
|
| 21 |
text-align: center;
|
| 22 |
}
|
|
|
|
| 23 |
header h1 {
|
| 24 |
margin: 0;
|
| 25 |
font-size: 36px;
|
| 26 |
}
|
|
|
|
| 27 |
nav ul {
|
| 28 |
list-style-type: none;
|
| 29 |
padding: 0;
|
| 30 |
margin: 0;
|
| 31 |
text-align: center;
|
| 32 |
}
|
|
|
|
| 33 |
nav ul li {
|
| 34 |
display: inline;
|
| 35 |
margin-right: 20px;
|
| 36 |
}
|
|
|
|
| 37 |
nav ul li a {
|
| 38 |
color: #fff;
|
| 39 |
text-decoration: none;
|
| 40 |
font-size: 18px;
|
| 41 |
}
|
|
|
|
| 42 |
main {
|
| 43 |
padding: 20px;
|
| 44 |
text-align: center;
|
| 45 |
}
|
|
|
|
| 46 |
h2 {
|
| 47 |
font-size: 28px;
|
| 48 |
margin-top: 40px;
|
| 49 |
color: #333;
|
| 50 |
}
|
|
|
|
| 51 |
.product-category {
|
| 52 |
display: inline-block;
|
| 53 |
margin: 20px;
|
|
@@ -58,6 +66,7 @@
|
|
| 58 |
text-align: left;
|
| 59 |
max-width: 300px;
|
| 60 |
}
|
|
|
|
| 61 |
.product-category img {
|
| 62 |
width: 100%;
|
| 63 |
height: 200px; /* Adjust the height as needed */
|
|
@@ -65,6 +74,7 @@
|
|
| 65 |
margin-bottom: 10px;
|
| 66 |
object-fit: cover; /* Ensure images maintain aspect ratio */
|
| 67 |
}
|
|
|
|
| 68 |
.contact {
|
| 69 |
margin-top: 20px;
|
| 70 |
background-color: #333;
|
|
@@ -74,6 +84,7 @@
|
|
| 74 |
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
| 75 |
text-align: left;
|
| 76 |
}
|
|
|
|
| 77 |
footer {
|
| 78 |
background-color: #333;
|
| 79 |
color: #fff;
|
|
@@ -83,22 +94,26 @@
|
|
| 83 |
width: 100%;
|
| 84 |
bottom: 0;
|
| 85 |
}
|
|
|
|
| 86 |
/* Style for the map container */
|
| 87 |
#mapid {
|
| 88 |
height: 400px;
|
| 89 |
margin-top: 20px;
|
| 90 |
}
|
|
|
|
| 91 |
/* Style for the image carousel container */
|
| 92 |
.image-carousel {
|
| 93 |
overflow: hidden;
|
| 94 |
width: 100%;
|
| 95 |
margin-top: 20px;
|
| 96 |
}
|
|
|
|
| 97 |
/* Style for the image carousel inner container */
|
| 98 |
.image-carousel-inner {
|
| 99 |
display: flex;
|
| 100 |
animation: slide 15s linear infinite; /* Change duration and timing function as needed */
|
| 101 |
}
|
|
|
|
| 102 |
/* Keyframe animation for the image carousel */
|
| 103 |
@keyframes slide {
|
| 104 |
0% {
|
|
@@ -156,12 +171,12 @@
|
|
| 156 |
<p>महाराष्ट्र, भारत</p>
|
| 157 |
<p>ईमेल: [email protected]</p> <!-- Added email -->
|
| 158 |
<p>फोन: +९१ ९६३७९८४६४७, +९१ ९९२३८३०४२२</p>
|
| 159 |
-
<p>पत्ता:
|
| 160 |
</section>
|
| 161 |
<!-- Image carousel section -->
|
| 162 |
<div class="image-carousel">
|
| 163 |
<div class="image-carousel-inner">
|
| 164 |
-
<img src="{{ url_for(shop1.jpg) }}" alt="Shop 1">
|
| 165 |
<img src="{{ url_for('static', filename='images/shop2.jpg') }}" alt="Shop 2">
|
| 166 |
<img src="{{ url_for('static', filename='images/shop3.jpg') }}" alt="Shop 3">
|
| 167 |
<img src="{{ url_for('static', filename='images/shop4.jpg') }}" alt="Shop 4">
|
|
@@ -180,10 +195,12 @@
|
|
| 180 |
<script>
|
| 181 |
// Initialize the map
|
| 182 |
var map = L.map('mapid').setView([18.8209914, 76.2551534], 13); // Set initial coordinates and zoom level
|
|
|
|
| 183 |
// Add OpenStreetMap as the base layer
|
| 184 |
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
|
| 185 |
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
|
| 186 |
}).addTo(map);
|
|
|
|
| 187 |
// Add a custom icon for the marker
|
| 188 |
var customIcon = L.icon({
|
| 189 |
iconUrl: 'https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/images/marker-icon.png',
|
|
@@ -191,9 +208,10 @@
|
|
| 191 |
iconAnchor: [12, 41], // point of the icon which will correspond to marker's location
|
| 192 |
popupAnchor: [1, -34] // point from which the popup should open relative to the iconAnchor
|
| 193 |
});
|
|
|
|
| 194 |
// Add a marker for the location with a popup
|
| 195 |
L.marker([18.8209914, 76.2551534], { icon: customIcon }).addTo(map)
|
| 196 |
.bindPopup("भक्ती कृषी केंद्र, आसरडोह").openPopup();
|
| 197 |
</script>
|
| 198 |
</body>
|
| 199 |
-
</html>
|
|
|
|
| 14 |
background-color: #f5f5f5;
|
| 15 |
color: #333;
|
| 16 |
}
|
| 17 |
+
|
| 18 |
header {
|
| 19 |
background-color: #333;
|
| 20 |
color: #fff;
|
| 21 |
padding: 20px;
|
| 22 |
text-align: center;
|
| 23 |
}
|
| 24 |
+
|
| 25 |
header h1 {
|
| 26 |
margin: 0;
|
| 27 |
font-size: 36px;
|
| 28 |
}
|
| 29 |
+
|
| 30 |
nav ul {
|
| 31 |
list-style-type: none;
|
| 32 |
padding: 0;
|
| 33 |
margin: 0;
|
| 34 |
text-align: center;
|
| 35 |
}
|
| 36 |
+
|
| 37 |
nav ul li {
|
| 38 |
display: inline;
|
| 39 |
margin-right: 20px;
|
| 40 |
}
|
| 41 |
+
|
| 42 |
nav ul li a {
|
| 43 |
color: #fff;
|
| 44 |
text-decoration: none;
|
| 45 |
font-size: 18px;
|
| 46 |
}
|
| 47 |
+
|
| 48 |
main {
|
| 49 |
padding: 20px;
|
| 50 |
text-align: center;
|
| 51 |
}
|
| 52 |
+
|
| 53 |
h2 {
|
| 54 |
font-size: 28px;
|
| 55 |
margin-top: 40px;
|
| 56 |
color: #333;
|
| 57 |
}
|
| 58 |
+
|
| 59 |
.product-category {
|
| 60 |
display: inline-block;
|
| 61 |
margin: 20px;
|
|
|
|
| 66 |
text-align: left;
|
| 67 |
max-width: 300px;
|
| 68 |
}
|
| 69 |
+
|
| 70 |
.product-category img {
|
| 71 |
width: 100%;
|
| 72 |
height: 200px; /* Adjust the height as needed */
|
|
|
|
| 74 |
margin-bottom: 10px;
|
| 75 |
object-fit: cover; /* Ensure images maintain aspect ratio */
|
| 76 |
}
|
| 77 |
+
|
| 78 |
.contact {
|
| 79 |
margin-top: 20px;
|
| 80 |
background-color: #333;
|
|
|
|
| 84 |
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
| 85 |
text-align: left;
|
| 86 |
}
|
| 87 |
+
|
| 88 |
footer {
|
| 89 |
background-color: #333;
|
| 90 |
color: #fff;
|
|
|
|
| 94 |
width: 100%;
|
| 95 |
bottom: 0;
|
| 96 |
}
|
| 97 |
+
|
| 98 |
/* Style for the map container */
|
| 99 |
#mapid {
|
| 100 |
height: 400px;
|
| 101 |
margin-top: 20px;
|
| 102 |
}
|
| 103 |
+
|
| 104 |
/* Style for the image carousel container */
|
| 105 |
.image-carousel {
|
| 106 |
overflow: hidden;
|
| 107 |
width: 100%;
|
| 108 |
margin-top: 20px;
|
| 109 |
}
|
| 110 |
+
|
| 111 |
/* Style for the image carousel inner container */
|
| 112 |
.image-carousel-inner {
|
| 113 |
display: flex;
|
| 114 |
animation: slide 15s linear infinite; /* Change duration and timing function as needed */
|
| 115 |
}
|
| 116 |
+
|
| 117 |
/* Keyframe animation for the image carousel */
|
| 118 |
@keyframes slide {
|
| 119 |
0% {
|
|
|
|
| 171 |
<p>महाराष्ट्र, भारत</p>
|
| 172 |
<p>ईमेल: [email protected]</p> <!-- Added email -->
|
| 173 |
<p>फोन: +९१ ९६३७९८४६४७, +९१ ९९२३८३०४२२</p>
|
| 174 |
+
<p>पत्ता: असरडोह, तालुका-धारूर, जिल्हा-बीड, मुख्य रोड, आसरडोह।</p>
|
| 175 |
</section>
|
| 176 |
<!-- Image carousel section -->
|
| 177 |
<div class="image-carousel">
|
| 178 |
<div class="image-carousel-inner">
|
| 179 |
+
<img src="{{ url_for('static', filename='images/shop1.jpg') }}" alt="Shop 1">
|
| 180 |
<img src="{{ url_for('static', filename='images/shop2.jpg') }}" alt="Shop 2">
|
| 181 |
<img src="{{ url_for('static', filename='images/shop3.jpg') }}" alt="Shop 3">
|
| 182 |
<img src="{{ url_for('static', filename='images/shop4.jpg') }}" alt="Shop 4">
|
|
|
|
| 195 |
<script>
|
| 196 |
// Initialize the map
|
| 197 |
var map = L.map('mapid').setView([18.8209914, 76.2551534], 13); // Set initial coordinates and zoom level
|
| 198 |
+
|
| 199 |
// Add OpenStreetMap as the base layer
|
| 200 |
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
|
| 201 |
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
|
| 202 |
}).addTo(map);
|
| 203 |
+
|
| 204 |
// Add a custom icon for the marker
|
| 205 |
var customIcon = L.icon({
|
| 206 |
iconUrl: 'https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/images/marker-icon.png',
|
|
|
|
| 208 |
iconAnchor: [12, 41], // point of the icon which will correspond to marker's location
|
| 209 |
popupAnchor: [1, -34] // point from which the popup should open relative to the iconAnchor
|
| 210 |
});
|
| 211 |
+
|
| 212 |
// Add a marker for the location with a popup
|
| 213 |
L.marker([18.8209914, 76.2551534], { icon: customIcon }).addTo(map)
|
| 214 |
.bindPopup("भक्ती कृषी केंद्र, आसरडोह").openPopup();
|
| 215 |
</script>
|
| 216 |
</body>
|
| 217 |
+
</html>
|