-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
216 lines (199 loc) · 8.25 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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="assets/css/style.css">
<link rel="manifest" href="manifest.json">
<title>AGRIDERA | Main</title>
</head>
<script defer>
function askPermission() {
return new Promise(function (resolve, reject) {
const permissionResult = Notification.requestPermission(function (result) {
resolve(result);
});
if (permissionResult) {
permissionResult.then(resolve, reject);
}
})
.then(function (permissionResult) {
throw new Error('We weren\'t granted permission.');
});
}
if ('serviceWorker' in navigator) {
navigator.serviceWorker
.register('/sw.js')
.then(function () {
console.log('Service worker registered!');
});
}
navigator.serviceWorker.ready.then(registration => {
if ('PushManager' in window) {
document.querySelector('button.subscribe-for-push')
.addEventListener('click', () => {
if (confirm("Ви згодні отримувати повідомлення?") == true) {
askPermission();
}
});
}
});
</script>
<body>
<header class="wrapper header">
<nav class="header-nav">
<ul class="ul">
<li>
<a href="index.html"><img class="logo"
src="assets/img/icon/Logo.png" alt="logo"></a>
</li>
</ul>
<div>
<div class="search-header">
<input type="text" placeholder="Search">
<img src="assets/img/icon/ico_search.svg" alt="Search">
</div>
<ul class="header-menu ul">
<li><a href="index.html">Home</a></li>
<li><a href="#">Company Profile</a></li>
<li><a href="index2.html">Products</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">R & D</a></li>
<li><a href="index4.html">Contact</a></li>
</ul>
</div>
</nav>
<section class="header-content">
<h1>Agridera Seeds and Agriculture Ltd</h1>
<button>READ MORE</button>
</section>
</header>
<aside class="vegetables-menu">
<div class="vegetable">
<img src="assets/img/iconMain/Vector.svg" alt="Wheat" />
<p>Wheat</p>
</div>
<div class="vegetable">
<img
src="assets/img/iconMain/Vector2.svg"
alt="Confection Watermelon"
/>
<p>Confection Watermelon</p>
</div>
<div class="vegetable">
<img src="assets/img/iconMain/Vector3.svg" alt="Clover" />
<p>Clover</p>
</div>
<div class="vegetable">
<img
src="assets/img/iconMain/Vector4.svg"
alt="Confection Sunflower"
/>
<p>Confection Sunflower</p>
</div>
<div class="vegetable">
<img src="assets/img/iconMain/Vector5.svg" alt="Tomato" />
<p>Tomato</p>
</div>
<div class="vegetable">
<img
src="assets/img/iconMain/Vector6.svg"
alt="Eggplant P/O"
/>
<p>Eggplant P/O</p>
</div>
<div class="vegetable">
<img
src="assets/img/iconMain/Vector7.svg"
alt="Ornamental Sunflower"
/>
<p>Ornamental Sunflower</p>
</div>
</aside>
<main class="main">
<section class="main-bg-image wrapper">
<div class="main-container">
<div class="main-text-container">
<h2>Vision</h2>
<p>*****</p>
<p>We believe in long-term growth with an emphasis on
the
potential of emerging markets. We also support the
global need of feeding the growing population.</p>
</div>
<img src="assets/img/MainImg/imageOne.png" alt="">
</div>
<div class="main-container">
<img src="assets/img/MainImg/imageTwo.png" alt="">
<div class="main-text-container">
<h2>Mission</h2>
<p>*****</p>
<p>Breeding and marketing seeds for advanced field crops
and vegetable varieties that provide an added value
to all supply chain partners.</p>
</div>
</div>
</section>
</main>
<aside class="aside-bottom wrapper">
<h2>Agridera`s Main Activities</h2>
<p>*****</p>
<section class="aside-bottom-activity-container">
<a class="aside-bottom-activity">
<img src="assets/img/AsideBottom/Хлопок.png" alt="">
<p>Open field crop seeds</p>
<div></div>
<p>wheat, cotton, legumes,
hybrid confection sunflower</p>
</a>
<a href="index2.html" class="aside-bottom-activity">
<img src="assets/img/AsideBottom/Помидор.png" alt="">
<p>Open field crop seeds</p>
<div></div>
<p>wheat, cotton, legumes,
hybrid confection sunflower</p>
</a>
<a class="aside-bottom-activity">
<img src="assets/img/AsideBottom/Подсолнух.jpg" alt="">
<p>Open field crop seeds</p>
<div></div>
<p>wheat, cotton, legumes,
hybrid confection sunflower</p>
</a>
</section>
</aside>
<footer>
<section class="footer-container">
<nav class="footer-nav">
<ul class="ul" v>
<li><a href="#">PROFILE</a></li>
<li><a href="#">MANAGEMENT</a></li>
<li><a href="index2.html">PRODUCTS</a></li>
<li><a href="#">R&D</a></li>
<li><a href="#">LINKS</a></li>
<li><a href="#">SITEMAP</a></li>
<li><a href="index4.html">CONTACT</a></li>
</ul>
</nav>
<div class="footer-social">
<a href="#"><img src="assets/img/FooterNav/Ico_in.svg"
alt=""></a>
<a href="#"><img src="assets/img/FooterNav/Ico_inst.svg"
alt=""></a>
<a href="#"><img src="assets/img/FooterNav/Ico_tube.svg"
alt=""></a>
<a href="#"><img src="assets/img/FooterNav/Ico_tw.svg"
alt=""></a>
<a href="#"><img src="assets/img/FooterNav/Ico_fb.svg"
alt=""></a>
</div>
</section>
<section class="footer-final-container">
<p>AGRIDERA SEEDS & AGRICULTURE LTD. © 2020</p>
<button class="subscribe-for-push"><img
src="assets/img/icon/iconNotify.png" alt=""></button>
</section>
</footer>
</body>
</html>