-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
351 lines (316 loc) · 12.1 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
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
<!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" />
<meta name="description" content="Build a more solarpunk future by getting Green Pilled, pledge to support public goods + join the Green Pill Party today.">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@gitcoin">
<meta name="twitter:creator" content="@owocki">
<meta name="twitter:title" content="GreenPill.Party">
<meta name="twitter:description"
content="Build a more solarpunk future by getting Green Pilled, pledge to support public goods + join the Green Pill Party today.">
<meta name="twitter:image" content="https://greenpill.party/image/twitter.png">
<title>GreenPill.Party</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Abel&display=swap" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&family=Space+Mono:wght@400;700&display=swap"
rel="stylesheet" />
<link rel="apple-touch-icon" sizes="180x180"
href="https://s.gitcoin.co/static/v2/images/favicon.ico/apple-touch-icon.486115005c66.png" />
<link rel="stylesheet" href="style/landing.css" />
<link rel="icon" href="image/greenpill-socialimage.svg" type="image/gif" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css"
integrity="sha512-9usAa10IRO0HhonpyAIVpjrylPvoDwiPUiKdWk5t3PyolY1cOd4DSE0Ga+ri4AuTroPR5aQvXU9xC6qOPnzFeg=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<!-- https://ogp.me/ -->
<meta property="og:title" content="greenpill.party" />
<meta property="og:type" content="blockchain" />
<meta property="og:url" content="https://GreenPill.party" />
<meta property="og:url" content="https://greenpill.party" />
<meta property="og:image" content="https://greenpill.party/image/twitter.png" />
<meta property="og:description" content="Build a more solarpunk future by getting Green Pilled, pledge to support public goods + join the Green Pill Party today." />
</head>
<body>
<nav class="navbar">
<a href="/" class="logo">
<img src="/image/logo-greenpill.svg" alt="greePill logo">
</a>
<div class="nav-toggle">
<i class="fas fa-bars"></i>
</div>
<ul class="nav-links" id="nav-green-pill">
</ul>
</nav>
<main>
<section class="coordination-hero background-bubble">
<div class="hero-container">
<div class="coordination-party-hero-description">
<h1 class="title">Take the Green Pill</h1>
<div class="call-action-wrapper-buttons">
<button id="greenpill" type="button" data-kinetics-attraction="" data-kinetics-attraction-chance=".99"
data-kinetics-attraction-grow="20" data-kinetics-attraction-type="drone" data-kinetics-attraction-radius="1.7"
bubbleToGo=>
<p>Take the Pledge</p>
</button>
</div>
</div>
<div class="green-pill">
<img src="image/greenpill-socialimage.svg" />
</div>
</div>
</section>
<!-- call action book -->
<section id="book-section" class='call-to-action'>
<div class='wrapper-book'>
<div class='book-image'></div>
</div>
<div class="call-action-box">
<div class="call-action-info">
<h1 class="title">Purchase the book</h1>
</div>
<div class="call-action-wrapper-buttons">
<button id="hardcover" type="button" data-kinetics-attraction="" data-kinetics-attraction-chance=".99"
data-kinetics-attraction-grow="20" data-kinetics-attraction-type="drone"
data-kinetics-attraction-radius="1.7">
<a target="_blank"
href="https://www.blurb.com/bookstore/invited/9477673/0e3bf497ee09bcbc86c73f367b12bb6fa5fa0ebd">
<p>Hardcover</p>
</a>
</button>
<button id="epub" type="button" data-kinetics-attraction="" data-kinetics-attraction-chance=".99"
data-kinetics-attraction-grow="20" data-kinetics-attraction-type="drone"
data-kinetics-attraction-radius="1.7">
<a target="_blank"
href="https://store.gitcoin.co/products/green-pill-book-digital-edition">
<p>Ebook</p>
</a>
</button>
</div>
<div class="link-preview">
<a style="color:black" href="preview.pdf">[or - download a preview]</a>
</div>
</div>
</section>
<!-- end call action book -->
<!-- call action podcast -->
<section id="podcast-section" class='call-to-action background background-triangle'>
<div class='wrapper'>
<div class='podcast-image'></div>
</div>
<div class="call-action-box">
<div class="call-action-info">
<h1 class="title">Subscribe to the podcast</h1>
</div>
<div class="call-action-wrapper-buttons">
<button id="podcast" type="button" data-kinetics-attraction="" data-kinetics-attraction-chance=".99"
data-kinetics-attraction-grow="20" data-kinetics-attraction-type="drone"
data-kinetics-attraction-radius="1.7">
<a href="https://podcasts.apple.com/us/podcast/greenpill/id1609313639"target="_blank"><p>Listen</p></a>
</button>
</div>
</div>
</section>
<!-- end call action podcast -->
<!-- call action NFT -->
<section id="telegram-section" class="call-to-action">
<div class="call-action-box">
<div class="call-action-info">
<h1 class="title">Join the conversation</h1>
</div>
<div class="call-action-wrapper-buttons">
<button id="telegram" type="button" data-kinetics-attraction="" data-kinetics-attraction-chance=".99"
data-kinetics-attraction-grow="20" data-kinetics-attraction-type="drone" data-kinetics-attraction-radius="1.7"
bubbleToGo=>
<p>Join Telegram Group</p>
</button>
</div>
</div>
</section>
<!-- end call action book -->
</main>
<footer class="footer-container background-greenpill">
<section id="pledge-section" class="green-pill-form-section">
<div>
<h1>Make a Pledge:</h1>
<form class="form">
<label for="percentage">I've been GreenPilled! </label>
<br>
<label for="percentage">I Pledge</label>
<input type="text" id="percentage" name="percentage" placeholder="1%" value="1%" />
<!-- <input type="text" id="amount" name="amount" placeholder="$10mm" value="$10mm" /> -->
<label for="cause">of my net worth to the cause of</label>
<input type="text" id="cause" name="cause" placeholder="Public Goods Funding" value="funding public goods" />
<div class="buttons-green-pill">
<button type="button">
<img src="image/arrow-green-pill.svg" alt="arrow" />
<a
href="javascript:alert('This is a simple tool created by the Gitcoin community to facilitate pledges to support a more Solarpunk world.');">What’s
this?</a>
</button>
<button id="target" type="button" data-kinetics-attraction="" data-kinetics-attraction-chance=".99"
data-kinetics-attraction-grow="20" data-kinetics-attraction-type="drone"
data-kinetics-attraction-radius="1.7">
<img src="image/tweet-icon.svg" alt="tweet" />
<p>Tweet</p>
</button>
</div>
</form>
</div>
</section>
<div class="gitcoin-brand">
<a href="https://gitcoindao.com">
<img src="./image/gitcoindao_sign.svg" alt="gitcoinDAO" />
</a> | <a href="https://t.me/+g9TM8i7GpxAzMGUx">Join the Telegram</a>
</div>
</footer>
</body>
</html>
<script>
document.addEventListener('DOMContentLoaded', function () {
const params = {
"debug": false,
"spring": {
"tension": 8,
"friction": 10,
"randomTension": 50,
"randomFriction": -18,
"extendedRestDelay": 50
},
"canvas": {
"handlePosition": true
},
"particles": {
"count": 24,
"sides": {
"min": 3,
"max": 5
},
"sizes": {
"min": 1,
"max": 1
},
"rotate": {
"speed": 1,
"direction": null
},
"mode": {
"type": "wind-from-left",
"speed": 0,
"boundery": "endless"
},
"parallex": {
"layers": 3,
"speed": 0.15
},
"attract": {
"chance": 0.5,
"force": 1,
"grow": 2,
"size": null,
"type": "static",
"speed": 1.5,
"direction": -1,
"radius": 1
},
"fill": {
"colors": ["#f7ce46", "#67dfaf"],
"toColors": ["#f7ce46", "#67dfaf"],
"opacity": 1
},
"stroke": {
"colors": [],
"toColors": [],
"width": [],
"opacity": 1
},
}
};
const kinetics = new Kinetics(params).interactionHook();
});
</script>
<script src="https://unpkg.com/@drum-n-bass/kinetics"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-DPDC59RT5Y"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'G-DPDC59RT5Y');
</script>
<!-- menu builder -->
<script>
const navLinks = [{
"greenpill": [{
title: "Book",
link: "#book-section",
},
{
title: "Podcast",
link: "#podcast-section",
},
{
title: "pledge",
link: "#pledge-section",
}
]
}];
let navRender = '';
navLinks.forEach(function (element) {
let nav = element.greenpill
nav.forEach(function (route) {
navRender += `
<li class="nav-item">
<a class="link-landing" href="${route.link}"
data-kinetics-attraction=""
data-kinetics-attraction-chance=".99"
data-kinetics-attraction-grow="20"
data-kinetics-attraction-type="drone"
data-kinetics-attraction-radius="1.7"
>${route.title}</a>
</li>
`
})
navRender += '<br />'
})
document.getElementById('nav-green-pill').innerHTML = navRender;
</script>
<script>
function classToggle() {
const navs = document.querySelectorAll('.nav-item')
navs.forEach(nav => nav.classList.toggle('navbar__ToggleShow'));
console.log(navs.length)
}
document.querySelector('.nav-toggle')
.addEventListener('click', classToggle);
</script>
<script>
document.getElementById('target').onclick = function(e){
var X = document.getElementById('percentage').value;
var cause = document.getElementById('cause').value;
var text = `💚 I took the #GreenPill and pledged ${X} of my net worth to the cause of ${cause}!
🤖❤️ If you join me we can build a #SolarPunk future together.
👉 Make the pledge here:`
var url = 'https://GreenPill.Party/'
window.open("https://twitter.com/intent/tweet?text=" +encodeURIComponent(text)+ "&url=" + encodeURI(url),"_blank");
}
document.getElementById('hardcover').onclick = function(e){
window.open("https://www.blurb.com/bookstore/invited/9477673/0e3bf497ee09bcbc86c73f367b12bb6fa5fa0ebd", "_blank");
}
document.getElementById('epub').onclick = function(e){
window.open("https://store.gitcoin.co/products/green-pill-book-digital-edition", "_blank");
}
document.getElementById('telegram').onclick = function(e) {
window.open("https://t.me/+g9TM8i7GpxAzMGUx", "_blank");
}
document.getElementById('podcast').onclick = function(e) {
window.open("https://podcasts.apple.com/us/podcast/greenpill/id1609313639", "_blank");
}
document.getElementById('greenpill').onclick = function(e) {
document.location.href = '#pledge-section'
}
</script>