forked from wazidshah/grocery-list
-
Notifications
You must be signed in to change notification settings - Fork 0
/
delivery-volunteers.html
176 lines (151 loc) · 7.27 KB
/
delivery-volunteers.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Goa for you</title>
<meta name="title" content="Goa for you - Together we deal with the crisis ">
<meta name="description" content="We come together to help each other in crisis. This is one place where you can find all the approved home delivery services for your Essentials like Groceries and more. ">
<meta name="keywords" content="goa, covid-19, corona, goa help, goa for you">
<meta name="robots" content="index, follow">
<meta name="language" content="English">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="og:title" content="Goa for you - Together we deal with the crisis" />
<meta property="og:url" content="https://goaforyou.in" />
<meta property="og:image" content="img/og-image.jpg" />
<link rel="icon" type="image/png" href="favicon.png">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-129808010-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-129808010-2');
</script>
<link href="https://fonts.googleapis.com/css?family=Poppins:400,600,700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/app.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="main-site-navigation">
<div class="grid-container">
<div class="grid-x grid-padding-x">
<div class="cell medium-12">
<ul class="menu">
<li><a href="/">Home</a></li>
<li><a href="delivery-volunteers.html" class="active">Delivery Volunteers List</a></li>
<li><a href="emergency.html">Emergency Services List</a></li>
<li><a href="about.html">About</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="menu-open"><img src="img/menu.svg" alt=""></div>
<div class="menu-close"><img src="img/close.svg" alt=""></div>
<header id="site-header">
<div class="grid-container">
<div class="grid-x grid-padding-x">
<div class="cell medium-6">
<h1><img src="img/goa-for-you-logo.svg" alt="">Goa For You</h1>
</div>
<div class="cell medium-6">
<p><strong>Goa For You</strong> is a crowdsourced social welfare initiative. A response to COVID-19, this is a listing website to locate <a href="https://goaforyou.in/">shops</a>, <a href="https://goaforyou.in/delivery-volunteers.html">delivery volunteers</a> and <a href="https://goaforyou.in/emergency.html">emergency</a> services near you.</p>
<h6><strong>#StayHomeStaySafe</strong> <span class="share-links">Share:
<a href="https://www.facebook.com/sharer/sharer.php?u=https%3A//goaforyou.in/" target="_blank"><img src="img/fb.svg" alt=""></a>
<a href="https://twitter.com/intent/tweet?text=Locate%20the%20nearest%20home%20delivery%20service%20for%20your%20daily%20essentials%20in%20Goa%3A%20https%3A//goaforyou.in/" target="_blank"><img src="img/twitter.svg" alt=""></a>
<a href="whatsapp://send?text=Locate the nearest home delivery service for your daily essentials in Goa: https://goaforyou.in/" data-action="share/whatsapp/share" target="_blank"><img src="img/whatsapp.svg" alt=""></a>
</span></h6>
</div>
</div>
</div>
</header>
<section class="filter-section">
<div class="grid-container">
<div class="grid-x grid-padding-x">
<div class="cell large-12">
<h2>List of Delivery Volunteers</h2>
<p>The delivery volunteer list is the list of people who have registered themselves with the Government and are allowed to step-out for deliveries. They are also able to coordinate with shops in that locality to get you what you need. This list is obtained from official sources and will be updated as soon as we get more information from them.</p>
<br>
<h6>Filter by Location</h6>
<select name="areas" id="areas">
<option value="">Select your area</option>
<option v-for="location in locations" :value="location.toLowerCase()">{{location.toUpperCase()}}</option>
</select>
</div>
</div>
</div>
</section>
<section class="content">
<div class="grid-container">
<ul id="contact-list" class="grid-x grid-padding-x">
<li class="cell medium-6" v-for="(volunteer,index) in volunteers" :id="index">
<div class="wrap">
<div class="contact">
<a v-for="phone in volunteer.phoneNumber" :href="`tel:${phone}`" ><span>{{phone}}</span></a>
<!-- <h6 class="type">
{{contact.type.join(", ")}}
</h6> -->
</div>
<div class="other-info">
<p class="shop-name">
{{volunteer.name}}
</p>
<p class="location"><img src="img/location.svg" alt="">{{volunteer.location}}</p>
<p class="call-whatsapp">
Order by: <b>Call/SMS</b>
</p>
</div>
<!-- <a class="more-link" v-if="contact.anyImage != '' " :href="contact.anyImage" target="_blank" rel="noopener noreferrer">More info</a> -->
</div>
</li>
<li v-if="volunteers.length === 0">
<h2 class="text-center">No results found!</h2>
</li>
</ul>
</div>
</section>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script src="https://cdn.jsdelivr.net/npm/fuse.js@5.0.10-beta/dist/fuse.min.js"></script>
<script src="js/app.js"></script>
<script src="js/v_location.js"></script>
<script src="js/volunteersData.js"></script>
<script src="js/global.js"></script>
<script>
let volunteers = new Vue({
"el":"#areas",
data: {
locations:[...volunteerLocations]
}
});
let content = new Vue({
"el":".content",
data: {
volunteers:[...volunteerList]
},
mounted(){
document.getElementById("areas").addEventListener("change",function(e){
let value = e.target.value;
let options = {
useExtendedSearch: true,
threshold: 0,
location: 0,
distance: 100,
minMatchCharLength: 1,
keys: [
"location"
]
};
let volunteers = [...volunteerList];
var filteredData = new Fuse(volunteers,options);
var result = filteredData.search(`'${value}`)
var finalResult = result.map(function(res){
return res.item;
});
content.volunteers = [...finalResult];
});
}
});
</script>
</body>
</html>