-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·365 lines (301 loc) · 17.5 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
352
353
354
355
356
357
358
359
360
361
362
363
364
365
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta property="og:type" content="website" />
<meta name="twitter:card" content="summary_large_image">
<meta property="og:url" content="https://blog.thegovlab.com/"/>
<meta property="og:title" content=" THE GOVLAB BLOG"/>
<meta property="og:image" content="https://github.com/GovLab/new-govlab-blog/blob/master/img/govlab-sm.png"/>
<meta property="og:description" content="Deepening Our Understanding of How to Govern More Effectively and Legitimately Through Technology." />
<meta name="twitter:card" content="summary_large_image">
<title>The Governance Lab</title>
<link href="/img/favicon-transparent.png" rel="shortcut icon">
<link rel="stylesheet" href="https://use.typekit.net/kad3hcl.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link type="text/css" rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-vue@latest/dist/bootstrap-vue.min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="css/styles.css">
<script src="https://cdn.jsdelivr.net/npm/fuse.js/dist/fuse.js"></script>
<script src="https://momentjs.com/downloads/moment.js"></script>
<script src="https://momentjs.com/downloads/moment-timezone-with-data.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lodash.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@directus/[email protected]/dist/directus-sdk.umd.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-40012093-4"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-40012093-4');
</script>
</head>
<body class="homepage" onwheel="scroll_dismiss()">
<!-- Top Navigation Menu -->
<div class="topnav">
<div class="menu-bars">
<div class="bar-wrap">
<a href="javascript:void(0);" class="icon" onclick="myFunction()">
<i class="fa fa-bars"></i>
</a>
</div>
</div>
<a class="top_logo" href="index.html"><img src="img/[email protected]"
alt="The GovLab Blog"></a>
<!-- Navigation links (hidden by default) -->
<div class='lang-select'>
</div>
</div>
<div id="myLinks">
<div class="menu-items">
<div class="menu-sub"><a href="https://www.thegovlab.org/index.html">Home</a></div>
<div class="menu-sub"><a href="https://www.thegovlab.org/about.html">About</a></div>
<div class="menu-sub"><a href="https://www.thegovlab.org/projects.html">Projects</a></div>
<div class="menu-sub"><a href="https://www.thegovlab.org/events.html">Events</a></div>
<div class="menu-sub"><a href="https://www.thegovlab.org/publications.html">Publications</a></div>
<div class="menu-sub"><a href="https://www.thegovlab.org/team.html">Team</a></div>
<div class="menu-sub"><a href="https://www.thegovlab.org/global-advisory-council.html">Global Advisory Council</a></div>
<div class="menu-sub"><a href="https://www.thegovlab.org/our-transparency.html">Our Transparency</a></div>
<div class="menu-sub"><a href="https://www.thegovlab.org/job-board.html">Job Board</a></div>
<div class="menu-sub"><a href="https://www.thegovlab.org/contact.html">Contact</a></div>
</div>
</div>
<div id="app" v-cloak>
<div class="hero">
<img style="padding-top: 20px;" v-if="!searchactive" src="img/govlab-logo-wp.png">
<div v-if="searchactive" class="pulsating-circle"></div>
<h2>THE GOVLAB BLOG</h2>
</div>
<div class="search-section">
<h3>Explore our knowledge base</h3>
<input class="search-bar" v-model="searchTerm" v-on:input="searchAll" id="credit-limit-input" type="text" placeholder="SEARCH HERE">
<div style="width:200px; position:absolute; margin-left:40%; margin-bottom:5%">
</div>
<p class="search-desc">The GovLab’s resources includes results from this blog, The Living Library and the Open
Governance Research Exchange</p>
</div>
<div v-if="listHP.length > 0" class="" style=" display: flex;
flex-direction: row;
justify-content: center;
align-items: center;width:100%; height: 6vh;">
<!-- <b >Total Results:</b><br> -->
<div class="source-tag" style="width:34%; padding-top: 15px; height: 6vh;"><p><a :href="'list.html?q='+searchTerm" target="_blank" style="color:#fff; text-decoration:none; font-size: 1.5em;">The Govlab Blog: <span v-if="listBlog.meta" > {{listBlog.meta.filter_count}}</span></a> <br></p></div>
<div class="source-tag-ttl" style="width:34%; padding-top: 15px; height: 6vh;"><p><a :href="'https://thelivinglib.org/?s='+searchTerm" target="_blank" style="color:#fff; text-decoration:none; font-size: 1.5em;x"> The Living Library: <span v-if="listWP.headers"> {{listWPresults}}</span></a> <br></p></div>
<div class="source-tag-ogrx" style="width:34%; padding-top: 15px; height: 6vh;"><p><a :href="'https://ogrx.org/search.html?q='+searchTerm" target="_blank" style="color:#fff; text-decoration:none; font-size: 1.5em; "> OGRX: <span v-if="listOGRX.data"> {{listOGRX.data.total}}</span></a> <br></p></div>
</div>
<div class="b-events">
<div class="page-wrapper">
<div class="e-wrap">
<!-- <div v-if="listHP.length>0" v-for="(result,index) in listHP"> -->
<div v-if="listHP.length>0 && result.api=='blog'" class="blog-item" v-for="(result,index) in listHP">
<div class="text-col full-width">
<div class="source-tag">
<p>The GovLab Blog</p>
</div>
<a class="post-title" :href="'post/'+result.slug" target='_blank'>
<h3 v-html="result.title"></h3></a>
<div class="post-date">
<!-- <p class="material-icons">insert_invitation</p> -->
<i>
<h4 v-if="result.original_date" v-html="dateShow(result.original_date)"></h4>
<h4 v-if="!result.original_date"v-html="dateShow(result.created_on)"></h4>
</i>
</div>
<div class="post-content" v-html="result.excerpt"></div>
<div class="more-button main-color">
<a class="b-button" :href="'post/'+result.slug" target="_blank"> Continue Reading <i
class="material-icons">keyboard_arrow_down</i></a>
</div>
</div>
</div>
<div v-if="listHP.length>0 && result.api=='ogrx' || result.api=='ttl'" class="blog-item" v-for="(result,index) in listHP">
<div class="text-col full-width">
<div :class="[result.api=='ttl' ? 'source-tag-ttl' : 'source-tag-ogrx']">
<p v-if="result.api=='ogrx'">OGRX</p>
<p v-if="result.api=='ttl'">The Living Library</p>
</div>
<a v-if="result.api=='ttl'" class="post-title" :href="'https://thelivinglib.org/'+result.slug" target='_blank'>
<h3 v-if="result.api=='ttl'" v-html="result.title"></h3></a>
<a v-if="result.api=='ogrx'" class="post-title" :href="'https://ogrx.org/paper.html?n='+result.fields.publicationName" target='_blank'>
<h3 v-if="result.api=='ogrx'" v-html="result.fields.publicationName"></h3></a>
<div class="post-date">
<!-- <p class="material-icons">insert_invitation</p> -->
<i><h4 v-if="result.api=='ogrx'" v-html="dateShow(result.fields.publicationDate)"></h4></i>
<i><h4 v-if="result.api=='ttl'" v-html="dateShow(result.date)"></h4></i>
</div>
<div v-if="result.api=='ogrx'" class="post-content" v-html="cutExcerpt(result.fields.abstract)"></div>
<div v-if="result.api=='ttl'" class="post-content" v-html="cutExcerpt(result.excerpt.rendered)"></div>
<div :class="[result.api=='ttl' ? 'ttl-color' : 'ogrx-color']" class="more-button gl-color">
<a v-if="result.api=='ogrx'" class="b-button" :href="'https://ogrx.org/paper.html?n='+result.fields.publicationName" target="_blank"> Continue Reading <i class="material-icons">keyboard_arrow_down</i></a>
<a v-if="result.api=='ttl'" class="b-button" :href="'https://thelivinglib.org/'+result.slug" target="_blank"> Continue Reading <i class="material-icons">keyboard_arrow_down</i></a>
</div>
</div>
</div>
</div>
</div>
<!-- SEE MORE FROM THE NETWORKS -->
<div v-if="listHP.length >0 ">
<div class="section-title"><h3>SEE MORE RESULTS FROM</h3></div>
<div class="more-results"><div class="more-button main-color"><a :href="'list.html?q='+searchTerm" target="_blank" class="b-button">THE GOVLAB BLOG</a></div>
<div class="more-button ttl-color"><a :href="'https://thelivinglib.org/?s='+searchTerm" target="_blank" class="b-button">THE
LIVING LIBRARY</a></div>
<div class="more-button ogrx-color"><a :href="'https://ogrx.org/search.html?q='+searchTerm" target="_blank" class="b-button">OGRX</a></div></div>
<div class="more-results" v-if="listArchive.length >0">
<div class="more-button archive-color"><a :href="'/archive/list.html?q='+searchTerm" target="_blank" class="b-button">THE GOVLAB ARCHIVE</a></div></div>
</div>
<div v-if="!searchactive && searchTerm && listHP.length <=0 ">
<div class="section-title"><h3>NO RESULTS FOUND</h3></div>
</div>
</div>
<h2 v-if="featuredPost" class="section-title">FEATURED POSTS</h2>
<!-- <div class="b-events" id="blog" v-cloak> -->
<div v-if="featuredPost" class="b-events">
<div class="page-wrapper">
<div class="blog-col">
<!-- {{fposts.length}} -->
<div v-for="(post,index) in fposts" v-if="fposts && index<3" class="blog-col-item">
<!-- <div style="color:black">{{post.scheduled <= currentDateTime()}}</div> -->
<div>
<a :href="'./post/'+post.slug"><div class="img-col" v-if="post.image" :style="{ backgroundImage: 'url(' + post.image.data.full_url+ ')' }"></div>
<div v-if="post.image == null" class="img-col default-image"></div></a>
<div class="text-col">
<a class="post-title" :href="'./post/'+post.slug">
<h3 v-html="post.title"></h3>
</a>
<div class="post-author">
<!-- <p>By <span v-for="(author,index) in post.authors"><span v-if="index != post.authors.length-1">{{author.team_id.name}}, </span><span v-if="index == post.authors.length-1">{{author.team_id.name}}</span></span</p></p> -->
</div>
<div class="post-date">
<!-- <p class="material-icons">insert_invitation</p> -->
<h4>
<i v-if="post.original_date" v-html="dateShow(post.original_date)"></i>
<i v-if="!post.original_date"v-html="dateShow(post.created_on)"></i>
</h4>
</div>
<div class="post-content" v-html="post.excerpt"></div>
<div class="more-button main-color">
<a class="b-button" :href="'./post/'+post.slug" target="_blank"> Continue Reading<i
class="material-icons">keyboard_arrow_down</i></a>
</div>
</div>
</div>
</div>
</div>
<div class="b-subscribe">
<div class="e-wrap">
<div>
<h4><strong>Subscribe</strong>
To The Digest</h4>
<p>A weekly curation of new findings and developments on innovation in governance</p>
</div>
<form method="post" action="//thegovlab.us6.list-manage.com/subscribe/post?u=1a990feb5c&id=d90a01c7ff" target="_blank" >
<div style="position: absolute; left: -5000px;"><input type="text" name="b_1a990feb5c_d90a01c7ff" tabindex="-1" value=""></div>
<input type="email" name="EMAIL" placeholder="Email">
<button type="submit">Subscribe</button>
</form>
</div>
<div class="e-wrap">
<p><a href="https://thelivinglib.org/" target="_blank" class="b-button m-naked">Go to Digest<i class="material-icons">arrow_forward</i></a></p>
</div>
</div>
<h2 class="section-title">LATEST POSTS FROM THE GOVLAB</h2>
<div class="blog-col">
<div v-for="(post, index) in posts" class="blog-col-item" v-if="posts && post.status == 'published' && post.scheduled <= currentDateTime()">
<div>
<div class="text-col">
<a class="post-title" :href="'./post/'+post.slug">
<h3>{{post.title}}</h3>
</a>
<div class="post-author">
<p>By <span v-for="(author,index) in post.authors"><span v-if="index != post.authors.length-1 && author.team_id != null && author.team_id != 0">{{author.team_id.name}}, </span><span v-if="index == post.authors.length-1 && author.team_id != null && author.team_id != 0">{{author.team_id.name}}</span></span</p></p>
</div>
<div class="post-date">
<!-- <p class="material-icons">insert_invitation</p> -->
<h4>
<i v-if="post.original_date" v-html="dateShow(post.original_date)"></i>
<i v-if="!post.original_date"v-html="dateShow(post.created_on)"></i>
</h4>
</div>
<div class="post-content" v-html="post.excerpt"></div>
<div class="more-button main-color">
<a class="b-button" :href="'./post/'+post.slug" target="_blank"> Continue Reading<i
class="material-icons">keyboard_arrow_down</i></a>
</div>
</div>
</div>
</div>
</div>
<div class="more-results"><div class="more-button main-color"><a @click="fetchPosts()" target="_blank" class="b-button">SEE MORE RESULTS</a></div></div>
</div>
</div>
</div>
</div>
<footer class='b-footer'>
<div class="e-wrap">
<div class="e-content m-sections">
<h4>Sections</h4>
<a href="https://www.thegovlab.org/">Home</a>
<a href="https://www.thegovlab.org/about.html">About</a>
<a href="https://www.thegovlab.org/projects.html">Projects</a>
<!-- <a href="https://www.thegovlab.org/events.html">Events</a> -->
<a href="https://www.thegovlab.org/events.html" >Events</a>
<a href="https://www.thegovlab.org/publications.html">Publications</a>
<a href="https://www.thegovlab.org/team.html">Team</a>
<a href="https://www.thegovlab.org/global-advisory-council.html">Advisory Council</a>
<a href="https://www.thegovlab.org/our-transparency.html">Our Transparency</a>
<a href="https://www.thegovlab.org/job-board.html">Job Board</a>
<a href="https://www.thegovlab.org/contact.html">Contact</a>
<a href="https://www.thegovlab.org/brand.html">Brand Assets</a>
</div>
<div class="e-content">
</div>
<div class="e-content">
<h4>Affiliated With</h4>
<a class="e-partner-logo burnes-logo" href="http://northeastern.edu" target="_blank"><img src="img/NU_Wordmark_Wv.png" alt="Northeastern University"></a>
<h4>Founded At</h4>
<a class="e-partner-logo" href="http://engineering.nyu.edu/tandon" target="_blank"><img
src="img/nyu.png"
alt="NYU Tandon School of Engineering - New York University"></a>
</div>
</div>
</footer>
<div class="b-copyright">
<div class="e-wrap">
<a class="e-cc-badge" rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" /></a>
This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a><br><br>
</div>
</div>
</body>
<script>
/* Toggle between showing and hiding the navigation menu links when the user clicks on the hamburger menu / bar icon */
function myFunction() {
var x = document.getElementById("myLinks");
if (x.style.display === "block") {
x.style.display = "none";
} else {
x.style.display = "block";
}
}
</script>
<script>
/* Toggle between showing and hiding the navigation menu links when the user clicks on the hamburger menu / bar icon */
function scroll_dismiss() {
if (document.body.scrollTop > 10 || document.documentElement.scrollTop > 10) {
var x = document.getElementById("myLinks");
if (x.style.display === "block") {
x.style.display = "none";
}
}
}
</script>
<script src="https://cdn.jsdelivr.net/npm/vue-router/dist/vue-router.js"></script>
<script src='https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.js'></script>
<script src="https://cdn.jsdelivr.net/npm/vue-meta/dist/vue-meta.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap-vue@latest/dist/bootstrap-vue.js"></script>
<script src="/js/assets/vue-gtag.umd.min.js"></script>
<script src="js/search.js"></script>
</body>
</html>