Skip to content

Commit 8abbba2

Browse files
committed
(1) UI fixes (2) Publications are categorized by years instead of type (3) Added Naisha to alumni
1 parent 9e11cf1 commit 8abbba2

40 files changed

Lines changed: 349 additions & 130 deletions

.DS_Store

-10 KB
Binary file not shown.

_data/alumni.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -756,3 +756,11 @@
756756
img: sumit.webp
757757
category: team
758758
ide: sumit
759+
-
760+
title: Naisha Kamboji
761+
designation: Researcher
762+
email: sumit@fieldsofview.in
763+
description: Sumit claims to have found his game at Fields of View as a Communications Manager after chancing through mechanical engineering at IIT Madras, documentary photography for The Wire, the Maharashtra government, and IIHS Bengaluru, and photo editing for Hindustan Times and The Caravan. He plans and designs our social media presence and outreach campaigns at FoV. He is also frequently seen rolling his dice and sleeves up as a lens-based visual artist to to converge the personal and the political.
764+
img: naisha.webp
765+
category: team
766+
ide: sumit

_includes/nav.html

Lines changed: 69 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,38 @@
2525
<li class="{% if page.url == '/about/' %}active{% endif %}">
2626
<a href="{{ site.baseurl }}/about/">about</a>
2727
</li>
28+
<ul class="inner-nav">
29+
<!-- <li><a href="{{ site.baseurl }}/about/#about">about</a></li> -->
30+
<li><a href="{{ site.baseurl }}/about/#partners">partners</a></li>
31+
<li><a href="{{ site.baseurl }}/about/#team">team</a></li>
32+
<li><a href="{{ site.baseurl }}/about/#board">board</a></li>
33+
<li><a href="{{ site.baseurl }}/about/#alumni">alumni</a></li>
34+
</ul>
2835
<li class="{% if page.url contains '/tools/' %}active{% endif %}">
2936
<a href="{{ site.baseurl }}/tools/">tools</a>
3037
</li>
38+
<ul class="inner-nav">
39+
{% for post in site.categories['tool'] %}
40+
<li><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></li>
41+
{% endfor %}
42+
</ul>
3143
<li class="group {% if page.url == '/resources/' %}active{% endif %}">
3244
<a href="{{ site.baseurl }}/resources/" aria-haspopup="true" aria-expanded="false">
3345
resources
3446
</a>
3547
<ul class="dropdown" aria-label="submenu">
3648
<li><a href="{{ site.baseurl }}/resources/#publications">publications</a></li>
37-
<li><a href="{{ site.baseurl }}/resources/#newsletter">newsletter</a></li>
49+
<li><a href="{{ site.baseurl }}/resources/#newsletter">newsletters</a></li>
3850
<li><a href="{{ site.baseurl }}/resources/#financials">financials</a></li>
3951
<li><a href="{{ site.baseurl }}/projects">archive</a></li>
4052
</ul>
4153
</li>
54+
<ul class="inner-nav">
55+
<li><a href="{{ site.baseurl }}/resources/#publications">publications</a></li>
56+
<li><a href="{{ site.baseurl }}/resources/#newsletter">newsletters</a></li>
57+
<li><a href="{{ site.baseurl }}/resources/#financials">financials</a></li>
58+
<li><a href="{{ site.baseurl }}/projects">archive</a></li>
59+
</ul>
4260
<li class="{% if page.url == '/get-involved/' %}active{% endif %}">
4361
<a href="{{ site.baseurl }}/get-involved/">get involved</a>
4462
</li>
@@ -61,7 +79,7 @@
6179
align-items: center;
6280
z-index: 10;
6381
background-color: white;
64-
padding: var(--p2-rem) var(--p4-rem);
82+
padding: var(--p2-rem) var(--p1-rem) var(--p2-rem) var(--p4-rem);
6583
/* margin-bottom: var(--p8-rem); */
6684
transition: box-shadow 1s ease-in-out;
6785

@@ -81,14 +99,18 @@
8199
margin-right: var(--p2-rem);
82100
}
83101

102+
.inner-nav {
103+
display: none;
104+
}
105+
84106
nav>ul>li {
85107
padding: var(--p1-rem);
86108
cursor: pointer;
87109
position: relative;
88110
}
89111

90112
nav>ul>li::before {
91-
content: "";
113+
/* content: "";
92114
position: absolute;
93115
top: 0;
94116
left: 0;
@@ -99,7 +121,20 @@
99121
filter: opacity(0);
100122
transition: filter 0.3s ease-in-out;
101123
mix-blend-mode: multiply;
102-
pointer-events: none;
124+
pointer-events: none; */
125+
content: "";
126+
position: absolute;
127+
top: var(--p1-rem);
128+
left: calc(var(--p1-rem) * 0.5);
129+
right: calc(var(--p1-rem) * 0.5);
130+
bottom: var(--p1-rem);
131+
background-position: center;
132+
background-repeat: no-repeat;
133+
background-size: cover;
134+
filter: opacity(0);
135+
transition: filter 0.3s ease-in-out;
136+
mix-blend-mode: multiply;
137+
z-index: -1;
103138
}
104139

105140
nav>ul>li:hover::before {
@@ -114,15 +149,15 @@
114149
background-image: url("/img/hover/about-nav.svg");
115150
}
116151

117-
nav>ul>li:nth-child(3)::before {
152+
nav>ul>li:nth-child(4)::before {
118153
background-image: url("/img/hover/tools-nav.svg");
119154
}
120155

121-
nav>ul>li:nth-child(4)::before {
156+
nav>ul>li:nth-child(6)::before {
122157
background-image: url("/img/hover/resources-bg.svg");
123158
}
124159

125-
nav>ul>li:nth-child(5)::before {
160+
nav>ul>li:nth-child(8)::before {
126161
background-image: url("/img/hover/get-involved-bg.svg");
127162
}
128163

@@ -194,13 +229,12 @@
194229
}
195230

196231
.nav-close {
197-
width: 100%;
198-
display: flex;
199-
justify-content: flex-start;
232+
width: 0;
200233
padding: 0;
201-
display: none;
234+
visibility: hidden;
202235
}
203236

237+
204238
.nav-close-btn {
205239
background: none;
206240
border: none;
@@ -235,24 +269,34 @@
235269
display: flex;
236270
}
237271

272+
.inner-nav {
273+
display: block;
274+
margin-left: var(--p2-rem);
275+
padding-left: var(--p1-rem);
276+
border-left: 1px solid var(--grey-4);
277+
margin-bottom: var(--p2-rem);
278+
font-size: var(--fs20);
279+
}
280+
238281
nav>ul {
239282
position: fixed;
240283
top: 0;
241284
right: 0;
285+
margin: auto;
242286
height: 100vh;
243-
width: 70vw;
244-
max-width: 320px;
287+
width: 100vw;
288+
/* max-width: 320px; */
245289
background: #fff;
246290
flex-direction: column;
247291
align-items: flex-start;
248-
padding: var(--p4-rem) var(--p2-rem) var(--p2-rem) var(--p2-rem);
292+
padding: var(--p4-rem) var(--p3-rem) var(--p2-rem) var(--p2-rem);
249293
box-shadow: -2px 0 16px rgba(0, 0, 0, 0.08);
250294
transform: translateX(120%);
251295
z-index: 99;
252296
}
253297

254298
nav>ul.open {
255-
transform: translateX(10%);
299+
transform: translateX(0);
256300
}
257301

258302
nav {
@@ -264,7 +308,10 @@
264308
}
265309

266310
.nav-close {
267-
display: block;
311+
width: 100%;
312+
display: flex;
313+
justify-content: flex-end;
314+
visibility: visible;
268315
}
269316

270317

@@ -274,7 +321,6 @@
274321
<script>
275322
const navToggle = document.querySelector('.nav-toggle');
276323
const navMenu = document.querySelector('header>div>nav>ul');
277-
const resourcesLink = document.querySelector('.group > a');
278324

279325
// Sticky header shadow
280326
document.addEventListener('scroll', function () {
@@ -300,13 +346,12 @@
300346
navToggle.setAttribute('aria-expanded', false);
301347
});
302348

303-
// Resources submenu (keyboard + toggle support)
304-
resourcesLink.addEventListener('click', function (e) {
305-
const expanded = this.getAttribute('aria-expanded') === 'true';
306-
this.setAttribute('aria-expanded', !expanded);
307-
const dropdown = this.nextElementSibling;
308-
dropdown.style.opacity = expanded ? '0' : '1';
309-
dropdown.style.visibility = expanded ? 'hidden' : 'visible';
349+
const links = document.querySelectorAll('header nav a');
350+
links.forEach(link => {
351+
link.addEventListener('click', function () {
352+
navMenu.classList.remove('open');
353+
navToggle.setAttribute('aria-expanded', false);
354+
});
310355
});
311356

312357
</script>

_layouts/tool-layout.html

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
<a class="{% if post.title == page.title %}active{% endif %}" href="{{site.baseurl}}{{post.url}}">{{post.title}}</a>
88
{% endfor %}
99
</nav>
10+
<a class="back-link" href="{{ site.baseurl }}/tools/">
11+
<img src="/img/icons/arrow-green-left.svg" alt="" style="height: 12px; width: 15px; display: inline;">&nbsp;&nbsp;&nbsp;Back
12+
to all tools</a>
1013
<section class="content">
1114
<div class="tool-container">
1215
<div class="tool-overview">
@@ -61,6 +64,11 @@
6164
</section>
6265

6366
<style>
67+
.back-link {
68+
display: none;
69+
color: var(--green);
70+
}
71+
6472
.tools-nav {
6573
position: sticky;
6674
z-index: 9;
@@ -99,11 +107,6 @@
99107
color: var(--green);
100108
}
101109

102-
.back-link {
103-
font-size: var(--fs16);
104-
color: var(--grey-2);
105-
}
106-
107110
.tool-container {
108111
display: grid;
109112
/* grid-template-columns: 2fr 3fr; */
@@ -263,6 +266,14 @@
263266
.tool-overview {
264267
max-width: 90vw;
265268
}
269+
270+
.tools-nav {
271+
display: none;
272+
}
273+
274+
.back-link {
275+
display: block;
276+
}
266277
}
267278
</style>
268279
<script>

_posts/resources/publications/peer-reviewed/2012-01-01-cpgame.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ layout: publication-layout
33
title: Discovering communication protocols for inter-agency collaboration for emergency response.
44
subtitle: Bharath M. Palavalli, Harsha K, Onkar Hoysala and Eswaran Subrahmanian
55
category: publications
6-
subcategory: Peer Reviewed
6+
subcategory: 2012
7+
# subcategory: Peer Reviewed
78
event_date: Jan 2012
89
permalink: /publications/cpgame/
910

_posts/resources/publications/peer-reviewed/2013-04-19-cognitiveartifacts.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ layout: publication-layout
33
title: Context, collaboration and complexity in designing - The pivotal role of cognitive artifacts.
44
subtitle: Subrahmanian Eswaran, Reich Yoram, Sruthi Krishnan
55
category: publications
6-
subcategory: Peer Reviewed
6+
subcategory: 2013
7+
# subcategory: Peer Reviewed
78
event_date: Apr 2013
89
permalink: /publications/cognitiveartifacts/
910

_posts/resources/publications/peer-reviewed/2013-06-20-ieg.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout: publication-layout
33
title: Designing Energy Policy through the Indian Energy Game.
44
subtitle: Onkar Hoysala, Aditi Murthy, Bharath M. Palavalli, Eswaran Subrahmanian and Sebastiaan Meijer
55
category: publications
6-
subcategory: Peer Reviewed
6+
subcategory: 2013
77
event_date: Jun 2013
88
permalink: /publications/energy-game/
99

_posts/resources/publications/peer-reviewed/2014-05-01-emergenceslums.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ layout: publication-layout
33
title: Designing Energy Policy through the Indian Energy Game.
44
subtitle: Debraj Roy, Michael Harold Lees, Bharath M. Palavalli, Karin Pfeffer, M.A.Peter Sloot
55
category: publications
6-
subcategory: Peer Reviewed
6+
subcategory: 2014
7+
# subcategory: Peer Reviewed
78
event_date: May 2014
89
permalink: /publications/emergenceslums/
910

_posts/resources/publications/peer-reviewed/2014-10-01-converstation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout: publication-layout
33
title: An Interdisciplinary, Dialogic Approach to Develop an Electronic Device to Enhance Freedom and Mobility of Women in Public Spaces in the Indian Context - Illustrated by the Case of Convers[t]ation.
44
subtitle: Yashvanth M. Kondi, Daksh V., Sruthi Krishnan, Madhav Rao
55
category: publications
6-
subcategory: Peer Reviewed
6+
subcategory: 2014
77
event_date: Oct 2014
88
permalink: /publications/converstation/
99

_posts/resources/publications/peer-reviewed/2014-10-01-smartcampus.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout: publication-layout
33
title: Modelling technology, policy and behaviour to manage electricity consumption.
44
subtitle: Harsha Krishna, Onkar Hoysala, Murali Krishna G., Bharath M. Palavalli and Eswaran Subrahmanian
55
category: publications
6-
subcategory: Peer Reviewed
6+
subcategory: 2014
77
event_date: Oct 2014
88
permalink: /publications/smart-campus/
99

0 commit comments

Comments
 (0)