Skip to content

Commit d86c4f7

Browse files
committed
Fix banner (add iamges to the left)
1 parent 1e103db commit d86c4f7

File tree

15 files changed

+61
-345
lines changed

15 files changed

+61
-345
lines changed

_includes/page__hero_particles.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,28 @@
1+
{% if page.header.overlay_color or page.header.overlay_image %}
2+
{% capture overlay_style %}
3+
{% if page.header.overlay_image %}
4+
background-image: {% if page.header.overlay_filter %}
5+
{{ page.header.overlay_filter }},
6+
{% endif %}url('{{
7+
page.header.overlay_image | relative_url }}');
8+
background-position: center;
9+
background-size: cover;
10+
{% if page.header.overlay_css %}
11+
{{ page.header.overlay_css }}
12+
{% endif %}
13+
{% endif %}
14+
{% if page.header.overlay_color %}
15+
background-color: {{ page.header.overlay_color }};
16+
{% endif %}
17+
{% endcapture %}
18+
{% endif %}
19+
120
<div class="page__hero--overlay">
221
<div id="particles-js"></div>
322

423
<div class="wrapper">
24+
<div class="page_overlay_image" style="{{ overlay_style | strip }}">
25+
</div>
526
<div class="page__title-container">
627
{% if page.title %}
728
<h1 class="page__title" itemprop="headline">

_pages/about.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
title: About the Lab
33
layout: splash_v2
44
header:
5-
overlay_image: /assets/images/trottier.webp
5+
overlay_image: /assets/images/logo/logo.png
6+
overlay_css: "background-size&#58; contain; background-repeat&#58; no-repeat;"
67
excerpt: "Showcasing our tools and resources that bridge research innovations with real-world applications"
78

89
taxonomy: About the Lab

_pages/home.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,8 @@ permalink: /
33
title: Complex Data Lab
44
layout: splash
55
header:
6-
overlay_image: /assets/images/trottier.webp
7-
actions:
8-
- label: "GitHub"
9-
url: "https://github.com/ComplexData-MILA"
10-
- label: "Twitter"
11-
url: "https://x.com/complexDataLab"
12-
- label: "LinkedIn"
13-
url: "https://www.linkedin.com/company/complex-data-lab-mcgill-mila"
14-
6+
overlay_image: /assets/images/logo/logo.png
7+
overlay_css: "background-size&#58; contain; background-repeat&#58; no-repeat;"
158
excerpt: "A research group focusing on developing techniques for analyzing complex data from online societies, with applications to enhance the health and safety of online spaces."
169

1710
row_research:

_pages/news.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ permalink: /news/
33
title: News
44
layout: splash_v2
55
header:
6-
overlay_image: /assets/images/trottier.webp
6+
overlay_image: /assets/images/logo/logo.png
7+
overlay_css: "background-size&#58; contain; background-repeat&#58; no-repeat;"
78
excerpt: Latest news and annoucements
89
classes:
910
- no-sidebar

_pages/people.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ permalink: /people/
33
title: "People"
44
layout: splash_v2
55
header:
6-
overlay_image: /assets/images/trottier.webp
6+
overlay_image: /assets/images/logo/logo.png
7+
overlay_css: "background-size&#58; contain; background-repeat&#58; no-repeat;"
78
---
89

910
## Faculty & Staff & Postdoc

_pages/publications.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
title: Publications
33
layout: splash_v2
44
header:
5-
overlay_image: /assets/images/trottier.webp
5+
overlay_image: /assets/images/logo/logo.png
6+
overlay_css: "background-size&#58; contain; background-repeat&#58; no-repeat;"
67
excerpt: ""
78
classes:
89
- no-sidebar

_pages/teaching.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ permalink: /teaching/
33
title: Teaching
44
layout: splash_v2
55
header:
6-
overlay_image: /assets/images/trottier.webp
6+
overlay_image: /assets/images/logo/logo.png
7+
overlay_css: "background-size&#58; contain; background-repeat&#58; no-repeat;"
78
classes:
89
- wide
910
- no-sidebar

_pages/tools-and-resources.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ permalink: /tools-and-resources/
33
title: "Tools and Resources"
44
layout: splash_v2
55
header:
6-
overlay_image: /assets/images/trottier.webp
6+
overlay_image: /assets/images/logo/logo.png
7+
overlay_css: "background-size&#58; contain; background-repeat&#58; no-repeat;"
78

89
excerpt: "Showcasing our tools and resources that bridge research innovations with real-world applications"
910

_research_directions/online-crime.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ category: research-directions
55
order: 2
66
header:
77
overlay_image: /assets/images/research_directions/online_crime.png
8-
overlay_css: "background-position&#58; center; background-repeat&#58; no-repeat; background-size&#58; 40% 100%"
8+
overlay_css: "background-position&#58; center; background-repeat&#58; no-repeat; background-size&#58; contain"
99
excerpt: "Our team combines AI and criminology expertise to develop ethical, human-centered tools that detect and counteract sex trafficking. Driven by a commitment to responsible research, we aim to bridge technology gaps and support victims in Canada and beyond."
1010
one-liner: "How to analyze large online markets and build victim-centered tools for countering sex-trafficking?"
1111

_research_directions/online-toxicity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ category: research-directions
55
order: 4
66
header:
77
overlay_image: /assets/images/research_directions/online_toxicity.png
8-
overlay_css: "background-position&#58; center; background-repeat&#58; no-repeat; background-size&#58; 40% 100%"
8+
overlay_css: "background-position&#58; center; background-repeat&#58; no-repeat; background-size&#58; contain"
99
excerpt: "Our team collaborates with game companies like Ubisoft to develop responsible, real-time, human-in-the-loop AI systems for chat toxicity detection, creating safer online gaming communities."
1010
one-liner: How can we build systems to foster healthier gaming communities?
1111

0 commit comments

Comments
 (0)