-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
174 lines (166 loc) · 7.4 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
<!DOCTYPE html>
<html lang="en-US">
<title>PALS Plantation Drive</title>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="cache-control" content="no-cache">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link href="https://fonts.googleapis.com/css?family=Raleway|Roboto&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="preloader w3-display-container">
<img class="pre w3-display-middle" src="img/logo.webp">
<p class="w3-display-bottommiddle">In Collaboration with E.F.I.</p>
</div>
<div class="bgimg w3-display-container w3-animate-opacity w3-text-white content">
<div class="w3-display-topleft w3-padding-large w3-xlarge">
<img src="img/logo.webp" class="logo" alt="PALS">
</div>
<div class="w3-display-topright w3-padding-large w3-xlarge">
<a href="https://indiaenvironment.org/">
<img src="img/efi-logo.webp" class="logo" alt="EFI">
</a>
</div>
<div class="w3-display-middle">
<h1 class="jumbo w3-margin w3-animate-top">PLANTATION DRIVE</h1>
<hr class="w3-border-grey" style="margin:auto;width:40%">
<p class="w3-xlarge w3-center" id="days_left"></p>
</div>
<a id="scroll-down" href="#about" class="w3-display-bottommiddle">
<img class="scroll-down-icon" src="img/round_expand_more_white_48dp.png">
</a>
</div>
<div id="about" class="w3-display-container content">
<div class="mobile-only w3-container">
<div class="w3-justify w3-padding-48 w3-padding">
<p>
Tree plantation is not just something that should be done just out of interest. Instead, it is a necessity,
the urgent need of the hour. Planting trees is especially important to protect our environment against air
pollution and global warming. Thus we reach out to you to help us save our planet, and also encourage the
volunteers to take the responsibility of organizing tree plantation campaigns.
We invite you to actively engage for this great cause and contribute as much as possible from your side.
Remember every small step counts. Be part of a noble cause to save your very own Earth on this
<strong>February 28</strong> in Chennai, India.
</p>
<p><strong>Tap on the buttons* OR copy the UPI ID to contribute**.</strong></p>
<p class="w3-tiny">*Buttons does not support iOS devices.</p>
<p class="w3-tiny">**This will direct your money to Vruksha Coordinator.</p>
</div>
<div class="w3-row-padding" style="text-align: center;">
<div class="vpa">
<input value="7397441915@ybl" class="w3-input w3-border w3-round-large" type="text" disabled>
<p id="upid" hidden>7397441915@ybl</p>
</div>
<div class="vpa-copy">
<button type="button" class="w3-btn w3-border w3-round-large" id="cpbtn" onclick="copyVPA()">Copy UPI ID</button>
</div>
</div>
<div class="w3-margin-bottom" style="text-align: center;padding-bottom:24px">
<a href="upi://pay?pa=7397441915@ybl&pn=PALS&cu=INR&am=50" style="text-decoration: none;">
<button class="donate-button w3-medium">
₹ 50
</button>
</a>
<a href="upi://pay?pa=7397441915@ybl&pn=PALS&cu=INR&am=100" style="text-decoration: none;">
<button class="donate-button w3-medium">
₹ 100
</button>
</a>
<a href="upi://pay?pa=7397441915@ybl&pn=PALS&cu=INR&am=200" style="text-decoration: none;">
<button class="donate-button w3-medium">
₹ 200
</button>
</a>
<a href="upi://pay?pa=7397441915@ybl&pn=PALS&cu=INR&am=500" style="text-decoration: none;">
<button class="donate-button w3-medium">
₹ 500
</button>
</a>
<a href="upi://pay?pa=7397441915@ybl&pn=PALS&cu=INR&am=1000" style="text-decoration: none;">
<button class="donate-button w3-medium">
₹ 1000
</button>
</a>
<a href="upi://pay?pa=7397441915@ybl&pn=PALS&cu=INR" style="text-decoration: none;">
<button class="donate-button w3-medium">
Other
</button>
</a>
</div>
</div>
<div class="pc-only w3-continer" style="height:100%">
<div class="w3-container w3-margin w3-padding-large">
<div class="w3-display-left w3-margin w3-container" style="max-width: 45%;">
<img src="img/QR_pals.webp" style="width: 80%;">
</div>
<div class="w3-justify w3-display-right w3-margin-right w3-container" style="max-width: 45%;">
<p>
Tree plantation is not just something that should be done just out of interest. Instead, it is a necessity,
the urgent need of the hour. Planting trees is especially important to protect our environment against air
pollution and global warming. Thus we reach out to you to help us save our planet, and also encourage the
volunteers to take the responsibility of organizing tree plantation campaigns.
We invite you to actively engage for this great cause and contribute as much as possible from your side.
Remember every small step counts. Be part of a noble cause to save your very own Earth on this
<strong>February 28</strong>.
</p>
<p><strong>Scan the QR Code to Contribute.</strong></p>
</div>
</div>
</div>
<div class="w3-display-bottommiddle w3-padding-large w3-margin-top">
© PALSVITC
</div>
</div>
<div class="w3-modal w3-animate-opacity" id="modal">
<div class="w3-modal-content w3-card-4 w3-round">
<header class="w3-container">
<span onclick="document.getElementById('modal').style.display='none'"
class="w3-button w3-display-topright">×</span>
<h3>Steps to Contribute</h3>
</header>
<div class="w3-container">
<ul class="w3-ul">
<li>Open any UPI Payments App.</li>
<li>Select New option.</li>
<li>Paste the Virtual Payment Address (VPA) or UPI id.</li>
<li>Set the amount.</li>
<li>Make your valuable contribution.</li>
</ul>
<footer>
<p class="w3-small">Remember, every small step counts.</p>
</footer>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
$(document).ready(function () {
const date = new Date("02/28/2020")
const present_date = new Date();
const days_left = ((date.getTime() - present_date.getTime()) / (1000 * 3600 * 24)).toFixed(0);
if(days_left>0)
$('#days_left').text(`${days_left} days left`)
else
$('#days_left').text('February 28, 2020')
})
$(window).on("load", function () {
$('.content').show();
$('.preloader').hide();
$('body').css('background-color', '#bacbdb');
})
function copyVPA() {
var $temp = $("<input>");
$("body").append($temp);
$temp.val($('#upid').text()).select();
document.execCommand("copy");
$temp.remove();
document.getElementById('modal').style.display = 'block';
$('#cpbtn').text('Copied');
$('#cpbtn').css('background-color','#0e0e0e');
$('#cpbtn').css('color','#ffffff');
}
</script>
</body>
</html>