Skip to content

Commit bcce14e

Browse files
Merge pull request #2 from AtlasAnalyticsLab/fix/gallery-yaml-front-matter
Fix/gallery yaml front matter
2 parents ff66e37 + b628876 commit bcce14e

9 files changed

Lines changed: 46 additions & 55 deletions

File tree

_layouts/gallerylay.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,12 @@
6767
padding-left: 0 !important;
6868
padding-right: 0 !important;
6969
}
70+
71+
/* Add bottom spacing to prevent footer overlap */
72+
.gallery-page {
73+
padding-bottom: 3rem;
74+
min-height: calc(100vh - 200px);
75+
}
7076
</style>
7177
<div id="galleryid" class="col-sm-12 gallery-page">
7278
{{ content }}

_layouts/homelay.html

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,6 @@
3131
-->
3232
<div class="row g-4">
3333
<div id="homeid" class="col-lg-8">
34-
<!-- Lab branding: logo + title -->
35-
<div class="text-center d-flex align-items-center justify-content-center gap-3">
36-
<img src="{{ site.baseurl }}/images/logopic/group_logo_medium.svg" height="120" width="auto" alt="Atlas Analytics Lab logo">
37-
<h2 class="mb-0" style="font-family: 'Georgia', 'Palatino', serif; font-weight: 600; font-size: 2.5rem; letter-spacing: 1px; color: #951D33;">Atlas Analytics Lab</h2>
38-
</div>
39-
<h1>Welcome our website!</h1>
40-
4134
<!-- Main homepage content from home.md -->
4235
{{ content }}
4336
</div>

_pages/gallery.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ layout: gallerylay
44
excerpt: "Atlas Analytics Lab at Concordia University."
55
sitemap: false
66
permalink: /gallery/
7-
----
7+
---
8+
<!--
89
Lab Life Gallery Page (gallery.md)
910
1011
Purpose:

_pages/home.md

Lines changed: 32 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -9,60 +9,56 @@ permalink: /
99
Home Page (home.md)
1010
1111
Purpose:
12-
Main landing page with vision statement, hero carousel, and research highlights.
13-
Provides first impression of the lab's mission and visual identity.
12+
Main landing page with vision statement, institutional logos, and research highlights.
13+
Provides first impression of the lab's mission and affiliations.
1414
1515
Layout: homelay (two-column with news sidebar)
1616
1717
Sections:
1818
- Vision statement (top paragraph)
19-
- Hero carousel (auto-generated from /images/homepic/)
19+
- Institutional affiliation logos (Concordia, McGill, Mila)
2020
- Research highlights (key areas)
21-
- Funding and partner logos
21+
- Funding and partner information
2222
2323
Features:
24-
- Dynamic carousel loading all images from /images/homepic/
25-
- Bootstrap carousel with 4-second intervals
26-
- Responsive image sizing via CSS clamp()
24+
- Responsive institutional logo display
25+
- Bootstrap grid for logo alignment
26+
- Maximum logo height: 120px
2727
2828
Customization:
2929
- Update vision statement in main paragraph
30-
- Add images to /images/homepic/ for carousel
3130
- Modify research highlights in markdown
32-
- Update partner logos at bottom
31+
- Update partner information at bottom
3332
-->
3433

35-
The Atlas Analytics Lab conducts research across computer vision, deep learning, optimization, and natural language processing, with a strong application focus in digital and computational pathology.
36-
37-
<!-- Hero carousel cycling through lab imagery. -->
38-
<div markdown="0" id="carousel" class="carousel slide" data-bs-ride="carousel" data-bs-interval="4000" data-bs-pause="hover">
39-
{% assign homepic_files = site.static_files | where_exp: "file", "file.path contains '/images/homepic/'" | sort: "path" %}
40-
41-
<div class="carousel-indicators">
42-
{% for image in homepic_files %}
43-
<button type="button" data-bs-target="#carousel" data-bs-slide-to="{{ forloop.index0 }}" {% if forloop.first %}class="active" aria-current="true"{% endif %} aria-label="Slide {{ forloop.index }}"></button>
44-
{% endfor %}
34+
<!-- Institutional affiliations logos -->
35+
<div markdown="0" class="institutional-logos text-center py-4">
36+
<div class="row justify-content-center align-items-center g-4">
37+
<div class="col-md-4 col-sm-6">
38+
<img src="{{ site.url }}{{ site.baseurl }}/images/logopic/Concordia_University.png"
39+
alt="Concordia University"
40+
class="img-fluid"
41+
style="max-height: 120px; width: auto;">
4542
</div>
46-
47-
<div class="carousel-inner" markdown="0">
48-
{% for image in homepic_files %}
49-
<div class="carousel-item {% if forloop.first %}active{% endif %}">
50-
<img src="{{ site.url }}{{ site.baseurl }}{{ image.path }}" class="d-block w-100" alt="Lab image {{ forloop.index }}" />
51-
</div>
52-
{% endfor %}
43+
<div class="col-md-4 col-sm-6">
44+
<img src="{{ site.url }}{{ site.baseurl }}/images/logopic/Mcgill_University.jpg"
45+
alt="McGill University"
46+
class="img-fluid"
47+
style="max-height: 120px; width: auto;">
48+
</div>
49+
<div class="col-md-4 col-sm-6">
50+
<img src="{{ site.url }}{{ site.baseurl }}/images/logopic/MILA.png"
51+
alt="Mila - Quebec AI Institute"
52+
class="img-fluid"
53+
style="max-height: 120px; width: auto;">
5354
</div>
54-
<button class="carousel-control-prev" type="button" data-bs-target="#carousel" data-bs-slide="prev">
55-
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
56-
<span class="visually-hidden">Previous</span>
57-
</button>
58-
<button class="carousel-control-next" type="button" data-bs-target="#carousel" data-bs-slide="next">
59-
<span class="carousel-control-next-icon" aria-hidden="true"></span>
60-
<span class="visually-hidden">Next</span>
61-
</button>
55+
</div>
6256
</div>
57+
<!--
58+
The Atlas Analytics Lab conducts research across computer vision, deep learning, optimization, and natural language processing, with a strong application focus in digital and computational pathology. -->
6359

64-
65-
### Research
60+
# **Atlas Analytics Lab**
61+
---
6662
Our lab primarily develops new deep learning and computer vision methods, with computational pathology serving as a key domain for grounding, validation, and downstream impact. Our research focuses on:
6763
- **Deep Learning**: Representation Learning and Engineering, Efficient Training, Optimization
6864
- **Computer Vision**: Self-Supervised Learning (SSL), Hardware-Aware Architecture Design

_sass/_gallery.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105

106106
// For browsers without masonry, row span set by JavaScript
107107
@supports not (grid-template-rows: masonry) {
108-
grid-row-end: span auto;
108+
grid-row-end: span 1;
109109
}
110110

111111
&:hover {

css/main.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,27 +45,27 @@ img {
4545
}
4646

4747
.navbar-brand img {
48-
height: 40px;
48+
height: 60px;
4949
}
5050

5151
html {
52-
scroll-padding-top: calc(var(--atlas-nav-height, 5.5rem) + 1rem);
52+
scroll-padding-top: calc(var(--atlas-nav-height, 2.75rem) + 1rem);
5353
}
5454

5555
body {
56-
padding-top: calc(var(--atlas-nav-height, 5.5rem) + env(safe-area-inset-top, 0px) + 1rem);
56+
padding-top: calc(var(--atlas-nav-height, 2.75rem) + env(safe-area-inset-top, 0px) + 1rem);
5757
background-color: var(--atlas-body-bg);
5858
color: var(--atlas-body-text);
5959
transition: background-color 0.3s ease, color 0.3s ease;
6060
}
6161

6262
@media (max-width: 991.98px) {
6363
:root {
64-
--atlas-nav-height: 4.75rem;
64+
--atlas-nav-height: 2.375rem;
6565
}
6666

6767
body {
68-
padding-top: calc(var(--atlas-nav-height, 4.75rem) + env(safe-area-inset-top, 0px) + 0.75rem);
68+
padding-top: calc(var(--atlas-nav-height, 2.375rem) + env(safe-area-inset-top, 0px) + 0.75rem);
6969
}
7070
}
7171

images/logopic/MILA.png

6.16 KB
Loading
53.5 KB
Loading

js/gallery-masonry.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,3 @@
106106
initMasonry();
107107
}
108108
})();
109-
110-
} else {
111-
initMasonry();
112-
}
113-
})();

0 commit comments

Comments
 (0)