Skip to content

Commit 6c36fe2

Browse files
committed
MNikhil Muralidharerge branch 'master' of https://github.com/KGML-lab/KGML-lab.github.io
updating pictures
2 parents 3bd8203 + e520f87 commit 6c36fe2

File tree

3 files changed

+42
-34
lines changed

3 files changed

+42
-34
lines changed

_layouts/profiles.liquid

Lines changed: 35 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -7,37 +7,41 @@ layout: page
77

88
<!-- Faculty Header -->
99
<h2>Faculty</h2>
10-
{% for profile in page.profiles %}
11-
{% if profile.type == 'faculty' %}
12-
<hr>
13-
<div class="shadow-box">
14-
<div class="profile float-{% if profile.align == 'left' %}left{% else %}right{% endif %}">
15-
{% if profile.image %}
16-
{% assign profile_image_path = profile.image | prepend: 'assets/img/' %}
17-
{% if profile.image_circular %}
18-
{% assign profile_image_class = 'img-fluid z-depth-1 rounded-circle' %}
19-
{% else %}
20-
{% assign profile_image_class = 'img-fluid z-depth-1 rounded' %}
21-
{% endif %}
22-
{% capture sizes %}(min-width: {{site.max_width}}) {{ site.max_width | minus: 30 | times: 0.3}}px, (min-width: 576px) 20vw, 50vw"{% endcapture %}
23-
{% include figure.liquid loading="eager" path=profile_image_path class=profile_image_class sizes=sizes alt=profile.image %}
24-
{% endif %}
25-
{% if profile.more_info %}
26-
<div class="more-info">{{ profile.more_info }}</div>
27-
{% endif %}
28-
</div>
29-
30-
<div class="clearfix">
31-
{% if profile.content %}
32-
{% capture profile_content %}{% include_relative {{ profile.content }} %}{% endcapture %}
33-
{{ profile_content | markdownify }}
34-
{% else %}
35-
{{ content }}
36-
{% endif %}
10+
<div class="row">
11+
{% for profile in page.profiles %}
12+
{% if profile.type == 'faculty' %}
13+
<div class="col-md-12"> <!-- Full-width for each faculty member -->
14+
<div class="row shadow-box">
15+
<div class="col-md-4 text-center"> <!-- Profile image on the left -->
16+
{% if profile.image %}
17+
{% assign profile_image_path = profile.image | prepend: 'assets/img/' %}
18+
{% if profile.image_circular %}
19+
{% assign profile_image_class = 'img-fluid z-depth-1 rounded-circle' %}
20+
{% else %}
21+
{% assign profile_image_class = 'img-fluid z-depth-1 rounded' %}
22+
{% endif %}
23+
{% capture sizes %}(min-width: {{site.max_width}}) {{ site.max_width | minus: 30 | times: 0.3}}px, (min-width: 576px) 20vw, 50vw"{% endcapture %}
24+
{% include figure.liquid loading="eager" path=profile_image_path class=profile_image_class sizes=sizes alt=profile.image %}
25+
{% endif %}
26+
{% if profile.more_info %}
27+
<div class="more-info">{{ profile.more_info }}</div>
28+
{% endif %}
29+
</div>
30+
<div class="col-md-8"> <!-- Description on the right -->
31+
<div class="clearfix">
32+
{% if profile.content %}
33+
{% capture profile_content %}{% include_relative {{ profile.content }} %}{% endcapture %}
34+
{{ profile_content | markdownify }}
35+
{% else %}
36+
{{ content }}
37+
{% endif %}
38+
</div>
39+
</div>
40+
</div>
3741
</div>
38-
</div>
39-
{% endif %}
40-
{% endfor %}
42+
{% endif %}
43+
{% endfor %}
44+
</div>
4145

4246
<!-- Students Header -->
4347
<h2>Students</h2>
@@ -46,6 +50,7 @@ layout: page
4650
{% if profile.type == 'student' %}
4751
<div class="col-md-4">
4852
<div class="shadow-box text-center">
53+
4954
{% if profile.image %}
5055
{% assign profile_image_path = profile.image | prepend: 'assets/img/' %}
5156
{% if profile.image_circular %}

_pages/Anuj_Karpatne.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
Anuj Karpatne is an Associate Professor in the Department of Computer Science at Virginia Tech, where he develops data mining and machine learning methods to solve scientific and socially relevant problems. A key focus of Dr. Karpatne’s research is to advance the field of science-guided machine learning for applications in several domains including climate science, hydrology, ecology, geophysics, trait-based biology, mechanobiology, quantum mechanics, and fluid dynamics. He has received the Outstanding New Assistant Award by the College of Engineering at VT in 2022, the Rising Star Faculty Award by the Department of Computer Science at VT in 2021 and was named the Inaugural Research Fellow by the IS-GEO (Intelligent Systems for Geosciences) Research Coordination Network for 2019. Dr. Karpatne currently serves as the editor-in-chief of the quarterly newsletter SIGAI AI Matters. Dr. Karpatne is also a co-author of the second edition of the textbook, Introduction to Data Mining.
1+
**Anuj Karpatne**
2+
3+
Dr. Anuj Karpatne is an Associate Professor in the Department of Computer Science at Virginia Tech, where he develops data mining and machine learning methods to solve scientific and socially relevant problems. A key focus of Dr. Karpatne’s research is to advance the field of science-guided machine learning for applications in several domains including climate science, hydrology, ecology, geophysics, trait-based biology, mechanobiology, quantum mechanics, and fluid dynamics. He received the Outstanding New Assistant Award by the College of Engineering at VT in 2022, the Rising Star Faculty Award by the Department of Computer Science at VT in 2021, was named the Inaugural Research Fellow by the IS-GEO Research Coordination Network in 2019, and currently serves as the editor-in-chief of the SIGAI AI Matters newsletter. Dr. Karpatne is also a co-author of the second edition of the textbook, "Introduction to Data Mining".

assets/css/main.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,19 @@ $max-content-width: {{ site.max_width }};
3838
}
3939

4040
.profile img {
41-
width: 200px !important; /* Force the width for all profile pictures */
41+
width: 220px !important; /* Force the width for all profile pictures */
4242
height: auto !important; /* Maintain aspect ratio */
43-
display: block;
43+
display: flex;
4444
margin: 0 auto; /* Center the image */
4545
max-width: none; /* Disable max-width to ensure fixed width */
4646
}
4747

4848
.profile-name {
4949
width: 100%;
50-
background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
50+
background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
5151
color: white;
5252
text-align: center;
53+
margin-bottom: 10px; /* Add margin to create space between the name and the image */
5354
}
5455

5556
.more-info {

0 commit comments

Comments
 (0)