forked from pramodiisc/ppalcx.github.io
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·232 lines (219 loc) · 9.44 KB
/
Copy pathindex.html
File metadata and controls
executable file
·232 lines (219 loc) · 9.44 KB
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
---
layout: default
title: Home
notitle: true
# groups of columns of {roles: list, width: num, image: bool}
role-tables:
- - roles: [faculty, collaborator]
width: 3
image: true
- roles: [phd]
width: 3
image: true
- roles: [masters, ug]
width: 3
image: true
- roles: [staff]
width: 3
image: true
---
<section class="hero-video" id="home-hero">
<div class="hero-media" aria-hidden="true">
<video class="hero-slide is-active" autoplay muted loop playsinline preload="auto">
<source src="img/Safety_video_Manan.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<video class="hero-slide" autoplay muted loop playsinline preload="auto">
<source src="https://www.stochlab.com/PEPC/images/results/Gravel%202%20Idr.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<video class="hero-slide" autoplay muted loop playsinline preload="auto">
<source src="https://www.stochlab.com/MULE/images/videos/slope_up1_cut.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
</div>
<div class="hero-overlay"></div>
<div class="hero-content">
<span class="hero-role">Robotics & Control @ IISc Bengaluru</span>
<h1 class="hero-title">Stoch Lab</h1>
<p class="hero-subtitle">
The <strong>Stochastic Robotics Lab</strong> designs robust, learning-based and
safety-critical controllers for legged robots and cyber-physical systems.
</p>
<div class="interest-chips">
<span class="interest-chip">Legged Locomotion</span>
<span class="interest-chip">Learning-Based Control</span>
<span class="interest-chip">Safety-Critical Control</span>
<span class="interest-chip">Optimal Control</span>
<span class="interest-chip">Co-Design Optimization</span>
</div>
<div class="hero-actions">
<a class="btn btn-primary" href="{{ site.base }}/people.html">Meet the Team</a>
<a class="btn btn-outline-secondary" href="{{ site.base }}/research.html">Explore Research</a>
</div>
</div>
<button type="button" class="hero-scroll" aria-label="Scroll down" data-hero-scroll>
<i class="fa-solid fa-chevron-down" aria-hidden="true"></i>
</button>
</section>
<section class="news-section reveal">
<h2>News</h2>
<div class="news-roll" data-news-roll>
<div class="news-track">
{% for post in site.posts limit: site.front_page_news %}
{% assign icon = post.icon | default: 'newspaper' %}
{% if icon == 'newspaper-o' %}
{% assign icon = 'newspaper' %}
{% endif %}
<article class="news-block">
<div class="news-block-head">
<span class="fa fa-fw fa-{{ icon }}"></span>
<span class="date">{{ post.date | date: '%B %d, %Y' }}</span>
</div>
{% if post.shortnews %}
<p>{{ post.content | markdownify | remove: '<p>' | remove: '</p>' }}</p>
{% else %}
<h5><a href="{{ site.base }}{{ post.url }}">{{ post.title }}</a></h5>
<p>{{ post.excerpt | markdownify | remove: '<p>' | remove: '</p>' }}</p>
<a class="news-readmore" href="{{ site.base }}{{ post.url }}">Read more »</a>
{% endif %}
</article>
{% endfor %}
</div>
<button type="button" class="news-arrow prev" aria-label="Previous news" data-news-prev>
<i class="fa-solid fa-chevron-left" aria-hidden="true"></i>
</button>
<button type="button" class="news-arrow next" aria-label="Next news" data-news-next>
<i class="fa-solid fa-chevron-right" aria-hidden="true"></i>
</button>
</div>
{% assign numposts = site.posts | size %}
{% if numposts >= 1 %}
<p>
<span class="fa fa-fw fa-clock-rotate-left"></span>
<a href="{{ site.base }}/blog.html">Older posts…</a>
</p>
{% endif %}
</section>
<section class="reveal">
<h2>Research Areas</h2>
<div class="area-grid">
{% for area in site.data.areas %}
<article class="area-card reveal">
<div class="area-img">
{% if area.video %}
<video autoplay muted loop playsinline preload="metadata">
<source src="{{ area.video }}" type="video/mp4">
</video>
{% else %}
<img src="{{ area.image }}" alt="{{ area.name }}" loading="lazy">
{% endif %}
</div>
<div class="area-text">
<h3><a href="{{ site.base }}/research.html#{{ area.key }}">{{ area.name }}</a></h3>
<p>{{ area.tagline }}</p>
</div>
</article>
{% endfor %}
</div>
</section>
<div id="people" class="reveal">
<h2>People</h2>
{% for role-table in page.role-tables %}
<section class="people row justify-content-between">
{% for role-column in role-table %}
<div class="col-md-{{ role-column.width }}">
{% for role in role-column.roles %}
{% include role-people.html role=role image=role-column.image %}
{% endfor %}
</div>
{% endfor %}
</section>
{% endfor %}
</div>
<section class="funding reveal">
<h2>Funding & Support</h2>
<div class="funding-band">
<div class="funding-marquee">
<div class="funding-track">
<div class="funding-set">
{% for sponsor in site.data.sponsors %}
<div class="funding-logo">
<img src="{{ site.base }}{{ sponsor.image }}" alt="{{ sponsor.name }}" loading="lazy">
</div>
{% endfor %}
</div>
<div class="funding-set" aria-hidden="true">
{% for sponsor in site.data.sponsors %}
<div class="funding-logo">
<img src="{{ site.base }}{{ sponsor.image }}" alt="">
</div>
{% endfor %}
</div>
</div>
</div>
</div>
</section>
<script>
(function () {
var slides = Array.prototype.slice.call(document.querySelectorAll('.hero-slide'));
var scrollBtn = document.querySelector('[data-hero-scroll]');
var idx = 0;
if (slides.length > 1) {
slides[0].classList.add('is-active');
try { slides[0].play(); } catch (e) {}
setInterval(function () {
var prev = slides[idx];
var next = slides[(idx + 1) % slides.length];
prev.classList.remove('is-active');
try { prev.pause(); } catch (e) {}
next.classList.add('is-active');
try { next.play(); } catch (e) {}
idx = (idx + 1) % slides.length;
}, 6000);
}
if (scrollBtn) {
scrollBtn.addEventListener('click', function () {
var hero = document.getElementById('home-hero');
var next = hero ? hero.nextElementSibling : null;
if (next && next.scrollIntoView) {
next.scrollIntoView({ behavior: 'smooth', block: 'start' });
} else {
window.scrollTo({ top: window.innerHeight, behavior: 'smooth' });
}
});
}
var track = document.querySelector('[data-news-roll] .news-track');
if (track) {
var step = function (dir) {
var max = track.scrollWidth - track.clientWidth;
var left = track.scrollLeft;
if (dir > 0 && left >= max - 2) {
track.scrollTo({ left: 0, behavior: 'smooth' });
} else if (dir < 0 && left <= 2) {
track.scrollTo({ left: max, behavior: 'smooth' });
} else {
track.scrollBy({ left: dir * track.clientWidth * 0.8, behavior: 'smooth' });
}
};
document.querySelectorAll('[data-news-prev]').forEach(function (b) {
b.addEventListener('click', function () { step(-1); });
});
document.querySelectorAll('[data-news-next]').forEach(function (b) {
b.addEventListener('click', function () { step(1); });
});
var timer = setInterval(function () {
if (track.matches(':hover') || track.scrollWidth <= track.clientWidth + 4) return;
var max = track.scrollWidth - track.clientWidth;
if (track.scrollLeft >= max - 2) {
track.scrollTo({ left: 0, behavior: 'smooth' });
} else {
track.scrollBy({ left: track.clientWidth * 0.8, behavior: 'smooth' });
}
}, 3500);
var pause = function () { clearInterval(timer); };
track.addEventListener('pointerdown', pause);
track.addEventListener('wheel', pause);
}
})();
</script>