ajeetkumar01 commited on
Commit
21b202c
·
verified ·
1 Parent(s): acd1760

Create index.html

Browse files
Files changed (1) hide show
  1. index.html +199 -0
index.html ADDED
@@ -0,0 +1,199 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="mr">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>भक्ती कृषी केंद्र, आसरडोह</title>
7
+ <!-- Include Leaflet CSS -->
8
+ <link rel="stylesheet" href="https://unpkg.com/leaflet/dist/leaflet.css" />
9
+ <style>
10
+ body {
11
+ font-family: Arial, sans-serif;
12
+ margin: 0;
13
+ padding: 0;
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;
54
+ padding: 20px;
55
+ background-color: #fff;
56
+ border-radius: 10px;
57
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
58
+ text-align: left;
59
+ max-width: 300px;
60
+ }
61
+ .product-category img {
62
+ width: 100%;
63
+ height: 200px; /* Adjust the height as needed */
64
+ border-radius: 5px;
65
+ margin-bottom: 10px;
66
+ object-fit: cover; /* Ensure images maintain aspect ratio */
67
+ }
68
+ .contact {
69
+ margin-top: 20px;
70
+ background-color: #333;
71
+ color: #fff;
72
+ padding: 20px;
73
+ border-radius: 10px;
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;
80
+ text-align: center;
81
+ padding: 10px;
82
+ position: fixed;
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% {
105
+ transform: translateX(0%);
106
+ }
107
+ 100% {
108
+ transform: translateX(-100%);
109
+ }
110
+ }
111
+ </style>
112
+ </head>
113
+ <body>
114
+ <header>
115
+ <h1>भक्ती कृषी केंद्र, आसरडोह</h1>
116
+ <nav>
117
+ <ul>
118
+ <li><a href="#products">उत्पादन</a></li>
119
+ <li><a href="#map">नकाशा</a></li>
120
+ <li><a href="#contact">संपर्क</a></li>
121
+ </ul>
122
+ </nav>
123
+ </header>
124
+ <main>
125
+ <section id="products">
126
+ <h2>उत्पादन</h2>
127
+ <div class="product-category">
128
+ <span style="color: #FF9933; font-size: 24px;">&#x1F33D;</span> <!-- Symbol for plants -->
129
+ <img src="{{ url_for('static', filename='images/seeds.jpg') }}" alt="बियाणे">
130
+ <h3>बियाणे</h3>
131
+ <p>विविध फसलांसाठी उच्च गुणवत्ता असलेले बियाणे।</p>
132
+ </div>
133
+ <div class="product-category">
134
+ <span style="color: #FF9933; font-size: 24px;">&#x1F33F;</span> <!-- Symbol for flowers -->
135
+ <img src="{{ url_for('static', filename='images/fertilizers.jpg') }}" alt="खते">
136
+ <h3>खते</h3>
137
+ <p>आपल्या शेतीवरील उत्पन्नाचा वाढ प्राप्त करण्यासाठी आम्ही विशेष रूपात तयार केलेले खते।</p>
138
+ </div>
139
+ <div class="product-category">
140
+ <span style="color: #FF9933; font-size: 24px;">&#x1F528;</span> <!-- Symbol for hammer -->
141
+ <img src="{{ url_for('static', filename='images/tools.jpg') }}" alt="उपकरणे">
142
+ <h3>उपकरणे</h3>
143
+ <p>आमच्या शेतीसाठी विविध उपकरणे आणि उपकरणे आहेत।</p>
144
+ </div>
145
+ </section>
146
+ <section id="map">
147
+ <h2>नकाशा</h2>
148
+ <!-- Add a div element for the map with an ID -->
149
+ <div id="mapid"></div>
150
+ </section>
151
+ <section id="contact" class="contact">
152
+ <h2>संपर्क</h2>
153
+ <p>आमच्याशी संपर्क साधा:</p>
154
+ <p>भक्ती कृषी केंद्र, आसरडोह</p>
155
+ <p>आसरडोह, पिन कोड: 431124</p> <!-- Added pin code in Marathi -->
156
+ <p>महाराष्ट्र, भारत</p>
157
+ <p>ईमेल: [email protected]</p> <!-- Added email -->
158
+ <p>फोन: +९१ ९६३७९८४६४७, +९१ ९९२३८३०४२२</p>
159
+ <p>पत्ता: आसरडोह, तालुका-धारूर, जिल्हा-बीड, मुख्य रोड, आसरडोह।</p>
160
+ </section>
161
+ <!-- Image carousel section -->
162
+ <div class="image-carousel">
163
+ <div class="image-carousel-inner">
164
+ <img src="{{ url_for('static', filename='images/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">
168
+ <img src="{{ url_for('static', filename='images/shop5.jpg') }}" alt="Shop 5">
169
+ <img src="{{ url_for('static', filename='images/shop6.jpg') }}" alt="Shop 6">
170
+ <img src="{{ url_for('static', filename='images/shop7.jpg') }}" alt="Shop 7">
171
+ <!-- Add more images as needed -->
172
+ </div>
173
+ </div>
174
+ </main>
175
+ <footer>
176
+ <p>&copy; २०२४ भक्ती कृषी केंद्र, आसरडोह. सर्व हक्क राखीव.</p>
177
+ </footer>
178
+ <!-- Include Leaflet.js -->
179
+ <script src="https://unpkg.com/leaflet/dist/leaflet.js"></script>
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: '&copy; <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',
190
+ iconSize: [25, 41], // size of the icon
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>