Skip to content

Commit e183163

Browse files
committed
news - Marta & Alessandro
1 parent 6ab6249 commit e183163

6 files changed

Lines changed: 58 additions & 2 deletions

File tree

1.34 MB
Loading
146 KB
Loading

‎css/styles.css‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2910,6 +2910,16 @@ details[open] .research-pub-panel-chevron { transform: rotate(180deg); }
29102910
transform: scale(1.04);
29112911
}
29122912

2913+
/* Two-photo split thumbnail (e.g. farewell/welcome pairs) */
2914+
.lab-news-card-img-split {
2915+
display: flex;
2916+
gap: 2px;
2917+
}
2918+
.lab-news-card-img-split img {
2919+
flex: 1 1 50%;
2920+
width: 50%;
2921+
}
2922+
29132923
/* Content column */
29142924
.lab-news-card-body {
29152925
padding: 1.5rem 1.75rem;

‎js/main.js‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -830,7 +830,12 @@ function loadLabNews(max) {
830830
const hasMore = max && allItems.length > max;
831831

832832
grid.innerHTML = items.map((item, i) => {
833-
const imgHtml = item.image
833+
const cardImgs = item.images && item.images.length > 1 ? item.images : null;
834+
const imgHtml = cardImgs
835+
? `<div class="lab-news-card-img lab-news-card-img-split">
836+
${cardImgs.slice(0, 2).map(im => `<img src="${escHtml(im.src)}" alt="${escHtml(im.alt || '')}" loading="lazy" />`).join('')}
837+
</div>`
838+
: item.image
834839
? `<div class="lab-news-card-img">
835840
<img src="${escHtml(item.image)}" alt="${escHtml(item.imageAlt || '')}" loading="lazy" />
836841
</div>`

‎js/news-data.js‎

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,42 @@ const LAB_NEWS = [
2222

2323
/* ── 2026 ─────────────────────────────────────────────────── */
2424

25+
{
26+
date: "6 August 2026",
27+
title: "Farewell Marta, welcome Alessandro!",
28+
summary: "We say goodbye to Marta Bica after eight years as she moves to the Botton-Champalimaud Pancreatic Cancer Centre, and welcome Alessandro Minguzzi as he joins the lab and the EvoMG MSCA-Doctoral Network.",
29+
image: "assets/news/marta-bica-farewell.jpg",
30+
imageAlt: "Marta Bica",
31+
images: [
32+
{ src: "assets/news/marta-bica-farewell.jpg", alt: "Marta Bica" },
33+
{ src: "assets/news/alessandro-minguzzi-welcome.jpg", alt: "Alessandro Minguzzi" },
34+
],
35+
content: `
36+
<p>
37+
As one chapter closes, another begins for the Disease Transcriptomics Lab ⏳
38+
</p>
39+
<p>
40+
After eight years with us (2018-2026), we say goodbye to
41+
<a href="https://www.linkedin.com/in/martabica/" target="_blank" rel="noopener">Marta Bica</a> 🇵🇹,
42+
who moves on to the Botton-Champalimaud Pancreatic Cancer Centre as a single-cell
43+
and spatial transcriptomics expert. We are proud to see her take the expertise
44+
she developed during her MSc and PhD into pancreatic cancer research, a field of
45+
pressing clinical importance given the disease's poor prognosis and low survival
46+
rate, and we wish her every success in this next chapter 🧬
47+
</p>
48+
<p>
49+
At the same time, we are excited to welcome
50+
<a href="https://www.linkedin.com/in/alessandro-minguzzi-b817a4377/" target="_blank" rel="noopener">Alessandro Minguzzi</a> 🇮🇹,
51+
who starts in the lab today and will officially become a PhD student in the
52+
<a href="https://www.linkedin.com/in/evomg-msca-doctoral-network-35b513382/" target="_blank" rel="noopener">EvoMG MSCA-Doctoral Network</a> 🎓
53+
in September. Alessandro holds a Master's degree in Molecular Biology and Genetics
54+
from the University of Pavia, Italy. His doctoral research will investigate the
55+
dual-coding gene CDKN2A and its roles in development, physiology and cancer, using
56+
computational approaches that integrate genomics, transcriptomics and epigenomics.
57+
</p>
58+
`,
59+
},
60+
2561
{
2662
date: "8 June 2026",
2763
title: "markeR published in NAR Genomics & Bioinformatics",

‎news.html‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,12 @@ <h3 id="lab-news-modal-title" class="lab-news-modal-title"></h3>
175175
}
176176

177177
grid.innerHTML = items.map((item, i) => {
178-
const imgHtml = item.image
178+
const cardImgs = item.images && item.images.length > 1 ? item.images : null;
179+
const imgHtml = cardImgs
180+
? `<div class="lab-news-card-img lab-news-card-img-split">
181+
${cardImgs.slice(0, 2).map(im => `<img src="${escHtml(im.src)}" alt="${escHtml(im.alt || '')}" loading="lazy" />`).join('')}
182+
</div>`
183+
: item.image
179184
? `<div class="lab-news-card-img">
180185
<img src="${escHtml(item.image)}" alt="${escHtml(item.imageAlt || '')}" loading="lazy" />
181186
</div>`

0 commit comments

Comments
 (0)