Skip to content

Commit edd0773

Browse files
authored
Merge pull request #4 from shendurelab/website-updates-April-23-2026
Website updates April 23, 2026
2 parents 6917c1b + 19366c4 commit edd0773

11 files changed

Lines changed: 91 additions & 102 deletions

‎src/components/layout/Footer.astro‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ const currentYear = new Date().getFullYear();
88

99
<div class="max-w-[1200px] mx-auto px-4 py-4 md:py-8">
1010
<!-- Footer content - single row with logo, toggle centered, and copyright -->
11-
<div class="flex flex-col lg:flex-row justify-between items-center gap-2 lg:gap-4">
11+
<div class="flex flex-col lg:grid lg:grid-cols-3 items-center gap-2 lg:gap-4">
1212
<!-- Left: Logo and links -->
13-
<div class="flex flex-col sm:flex-row items-center gap-2 sm:gap-4">
13+
<div class="flex flex-col sm:flex-row items-center gap-2 sm:gap-4 lg:justify-self-start">
1414
<a href="/" class="inline-block py-2">
1515
<img src="/images/shendurelab.png" alt="Shendure Lab" class="h-6 md:h-8 bg-white px-2 py-1 rounded" />
1616
</a>
@@ -22,7 +22,7 @@ const currentYear = new Date().getFullYear();
2222
<!-- Center: Theme Toggle -->
2323
<button
2424
id="theme-toggle"
25-
class="flex items-center gap-3 text-base footer-text hover:text-uw-purple transition-colors order-first lg:order-none mb-2 lg:mb-0 px-6 py-3 rounded-lg"
25+
class="flex items-center gap-3 text-base footer-text hover:text-uw-purple transition-colors order-first lg:order-none mb-2 lg:mb-0 px-6 py-3 rounded-lg lg:justify-self-center"
2626
aria-label="Toggle dark mode"
2727
>
2828
<svg id="theme-icon-light" class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24" aria-hidden="true">
@@ -35,7 +35,7 @@ const currentYear = new Date().getFullYear();
3535
</button>
3636

3737
<!-- Right: Copyright -->
38-
<div class="text-sm footer-text-muted text-center lg:text-right">
38+
<div class="text-sm footer-text-muted text-center lg:text-right lg:justify-self-end">
3939
<p>&copy; {currentYear} Shendure Lab</p>
4040
<p class="text-xs footer-text-extra-muted">Designed by Olga Oseth with Charlie Lee, Andrew Hill, Jay Shendure; built with Claude</p>
4141
</div>

‎src/components/layout/Header.astro‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ const navItems = [
5050
{ label: 'Centers', href: '/resources/centers' },
5151
{ label: 'Software', href: '/resources/software' },
5252
{ label: 'Cell Atlas', href: 'https://atlas.brotmanbaty.org/', external: true },
53+
{ label: 'Ontogeny of Mouse, Graphed (OMG)', href: 'https://atlas.gs.washington.edu/jax/public/about.html', external: true },
5354
{ label: 'CADD Scores', href: 'https://cadd.gs.washington.edu/', external: true },
5455
{ label: 'BRCA1 Scores', href: 'https://sge.gs.washington.edu/BRCA1/', external: true },
5556
{ label: 'Xpresso', href: 'https://xpresso.gs.washington.edu/', external: true },

‎src/components/special/CatEasterEgg.astro‎

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,21 @@
44
// Communicates with SequenceRain via window.__sequenceRain global reference.
55
---
66

7-
<div class="secret-cat" id="secretCat" role="button" tabindex="0" aria-label="Secret cat easter egg">😻</div>
8-
<div class="cat-mode-label" id="catModeLabel" aria-live="polite"></div>
7+
<div class="cat-easter-egg-wrap">
8+
<div class="secret-cat" id="secretCat" role="button" tabindex="0" aria-label="Secret cat easter egg">😻</div>
9+
<div class="cat-mode-label" id="catModeLabel" aria-live="polite"></div>
10+
</div>
911
<div class="flying-cat" id="flyingCat" aria-hidden="true"></div>
1012

1113
<style>
14+
.cat-easter-egg-wrap {
15+
display: flex;
16+
flex-direction: column;
17+
align-items: center;
18+
gap: 0.25rem;
19+
}
20+
1221
.secret-cat {
13-
position: fixed;
14-
bottom: 1.5rem;
15-
right: 1.5rem;
16-
z-index: 100;
1722
font-size: 1.2rem;
1823
cursor: pointer;
1924
opacity: 0.3;
@@ -25,6 +30,7 @@
2530
border: none;
2631
padding: 0;
2732
line-height: 1;
33+
display: inline-block;
2834
}
2935

3036
.secret-cat:hover {
@@ -82,28 +88,21 @@
8288
}
8389

8490
.cat-mode-label {
85-
position: fixed;
86-
bottom: 1.5rem;
87-
right: 4rem;
8891
font-family: 'JetBrains Mono', monospace;
8992
font-size: 0.7rem;
9093
color: rgba(255, 255, 255, 0);
91-
transition: all 0.3s ease;
94+
transition: color 0.3s ease;
9295
pointer-events: none;
9396
text-transform: uppercase;
9497
letter-spacing: 0.1em;
95-
z-index: 100;
98+
min-height: 1em;
9699
}
97100

98101
.cat-mode-label.visible {
99102
color: rgba(255, 255, 255, 0.5);
100103
}
101104

102105
@media (max-width: 600px) {
103-
.secret-cat {
104-
bottom: 1rem;
105-
right: 1rem;
106-
}
107106
.flying-cat :global(img) {
108107
height: 100px;
109108
}

‎src/content/people/chase-suiter.json‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
"name": "Chase Suiter",
33
"slug": "chase-suiter",
44
"photo": "/images/lab/suiter1.jpg",
5-
"title": "Graduate Student (MCB)",
6-
"role": "graduate-student",
5+
"title": "Postdoctoral Fellow",
6+
"role": "postdoc",
77
"email": "ccsuiter@uw.edu",
8-
"status": "current"
9-
}
8+
"status": "current",
9+
"jointLab": "Baker Lab",
10+
"jointLabUrl": "https://www.bakerlab.org/"
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"category": "preprint",
3+
"articleUrl": "https://www.biorxiv.org/content/10.64898/2026.04.20.719625v1",
4+
"year": 2026,
5+
"citation": "Lalanne et al. Multi-scale dissection, compaction and derivatization of mammalian developmental enhancers. bioRxiv 2026.04.20.719625 (2026)",
6+
"journal": "bioRxiv",
7+
"doi": "2026.04.20.719625",
8+
"postedDate": "April 21, 2026",
9+
"slug": "lalanne-2026-multi-scale-dissection-compaction-an",
10+
"sortOrder": 139
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"category": "preprint",
3+
"articleUrl": "https://www.biorxiv.org/content/10.64898/2026.04.20.719714v1",
4+
"year": 2026,
5+
"citation": "Li et al. Retracing and rewriting the evolutionary trajectories of mammalian developmental enhancers. bioRxiv 2026.04.20.719714 (2026)",
6+
"journal": "bioRxiv",
7+
"doi": "2026.04.20.719714",
8+
"postedDate": "April 21, 2026",
9+
"slug": "li-2026-retracing-and-rewriting-the-evolutionar",
10+
"sortOrder": 138
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"category": "preprint",
3+
"articleUrl": "https://www.biorxiv.org/content/10.64898/2026.04.07.717039v1",
4+
"year": 2026,
5+
"citation": "Qiu, Daza, Welsh et al. Evolutionary transfer learning enables organism-wide inference of mammalian enhancer landscapes. bioRxiv 2026.04.07.717039 (2026)",
6+
"journal": "bioRxiv",
7+
"doi": "2026.04.07.717039",
8+
"postedDate": "April 8, 2026",
9+
"slug": "qiu-2026-evolutionary-transfer-learning-enables-o",
10+
"sortOrder": 140
11+
}

‎src/layouts/HomeLayout.astro‎

Lines changed: 3 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ const navItems = [
9797
rel={item.external ? 'noopener noreferrer' : undefined}
9898
class="home-nav-link"
9999
>
100-
{item.label.toLowerCase()}
100+
{item.label}
101101
{item.external && <span class="sr-only">(opens in new tab)</span>}
102102
</a>
103103
))}
@@ -112,27 +112,12 @@ const navItems = [
112112
<!-- Minimal footer -->
113113
<footer class="home-footer" role="contentinfo">
114114
<div class="home-footer-inner">
115-
<button
116-
id="theme-toggle"
117-
class="home-theme-toggle"
118-
aria-label="Toggle dark mode"
119-
>
120-
<svg id="theme-icon-light" class="w-4 h-4 hidden" fill="none" stroke="currentColor" viewBox="0 0 24 24" aria-hidden="true">
121-
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z" />
122-
</svg>
123-
<svg id="theme-icon-dark" class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24" aria-hidden="true">
124-
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z" />
125-
</svg>
126-
<span id="theme-label">Light</span>
127-
</button>
128115
<span class="home-footer-copyright">&copy; {currentYear} Shendure Lab</span>
116+
<CatEasterEgg />
129117
</div>
130118
</footer>
131119
</div>
132120

133-
<!-- Cat Easter Egg -->
134-
<CatEasterEgg />
135-
136121
<!-- Decode obfuscated emails after page load -->
137122
<script is:inline>
138123
(function() {
@@ -228,28 +213,10 @@ const navItems = [
228213

229214
.home-footer-inner {
230215
display: flex;
216+
flex-direction: column;
231217
justify-content: center;
232218
align-items: center;
233-
gap: 2rem;
234-
}
235-
236-
.home-theme-toggle {
237-
display: flex;
238-
align-items: center;
239219
gap: 0.5rem;
240-
color: rgba(255, 255, 255, 0.4);
241-
font-size: 0.8rem;
242-
background: none;
243-
border: none;
244-
cursor: pointer;
245-
padding: 0.5rem 0.75rem;
246-
border-radius: 6px;
247-
transition: all 0.2s ease;
248-
}
249-
250-
.home-theme-toggle:hover {
251-
color: rgba(255, 255, 255, 0.7);
252-
background: rgba(255, 255, 255, 0.05);
253220
}
254221

255222
.home-footer-copyright {
@@ -278,44 +245,3 @@ const navItems = [
278245
}
279246
</style>
280247

281-
<script>
282-
// Theme toggle for homepage
283-
function initHomeTheme() {
284-
const toggle = document.getElementById('theme-toggle');
285-
const iconLight = document.getElementById('theme-icon-light');
286-
const iconDark = document.getElementById('theme-icon-dark');
287-
const label = document.getElementById('theme-label');
288-
289-
function updateIcons(isDark: boolean) {
290-
if (isDark) {
291-
iconLight?.classList.remove('hidden');
292-
iconDark?.classList.add('hidden');
293-
if (label) label.textContent = 'Light';
294-
} else {
295-
iconLight?.classList.add('hidden');
296-
iconDark?.classList.remove('hidden');
297-
if (label) label.textContent = 'Dark';
298-
}
299-
}
300-
301-
// Homepage always starts dark
302-
const isDark = document.documentElement.classList.contains('dark');
303-
updateIcons(isDark);
304-
305-
toggle?.addEventListener('click', () => {
306-
const currentlyDark = document.documentElement.classList.contains('dark');
307-
if (currentlyDark) {
308-
document.documentElement.classList.remove('dark');
309-
localStorage.setItem('theme', 'light');
310-
updateIcons(false);
311-
} else {
312-
document.documentElement.classList.add('dark');
313-
localStorage.setItem('theme', 'dark');
314-
updateIcons(true);
315-
}
316-
});
317-
}
318-
319-
initHomeTheme();
320-
document.addEventListener('astro:page-load', initHomeTheme);
321-
</script>

‎src/pages/contact.astro‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ import ObfuscatedEmail from '../components/shared/ObfuscatedEmail.astro';
5555
University of Washington<br />
5656
Foege Building S-250, Box 355065<br />
5757
3720 15th Ave NE<br />
58-
Seattle, WA 98195-5065
58+
Seattle, WA 98105-5065
5959
</address>
6060
</div>
6161

@@ -77,7 +77,7 @@ import ObfuscatedEmail from '../components/shared/ObfuscatedEmail.astro';
7777
University of Washington<br />
7878
Foege Building S-210<br />
7979
3720 15th Ave NE<br />
80-
Seattle, WA 98195-5065
80+
Seattle, WA 98105-5065
8181
</address>
8282
</div>
8383
</div>

‎src/pages/people/index.astro‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,33 @@ const sortedRotation = rotationStudents.sort((a, b) => {
4343
<div class="w-full max-w-[1000px] mx-auto px-4 py-12">
4444
<h1 class="w-full text-2xl md:text-3xl font-bold text-lab-orange mb-8 text-center">Current Lab Members</h1>
4545

46+
<!-- Lab Members - Responsive Grid (PI first, then alphabetical) -->
47+
<div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-4 md:gap-6 justify-items-center items-start">
48+
{pi && (
49+
<div class="w-full max-w-[152px] flex flex-col">
50+
<PersonCard {...pi} />
51+
<div class="px-2 mt-1 text-left">
52+
{pi.profileUrl && (
53+
<p style="font-size: 11px; margin: 0;">
54+
<a href={pi.profileUrl} target="_blank" rel="noopener noreferrer" class="text-lab-blue hover:underline">Faculty Page<span class="sr-only"> (opens in new tab)</span></a>
55+
</p>
56+
)}
57+
{pi.admin && (
58+
<p class="pi-meta" style="font-size: 11px; margin: 0;">
59+
Admin: <ObfuscatedEmail email={pi.admin.email} class="text-lab-blue hover:underline" /> ({pi.admin.name})
60+
</p>
61+
)}
62+
{pi.links && (
63+
<p style="font-size: 11px; margin: 0;">
64+
<a href={pi.links.hhmi} target="_blank" rel="noopener noreferrer" class="text-lab-blue hover:underline">HHMI Page<span class="sr-only"> (opens in new tab)</span></a>,{" "}
65+
<a href={pi.links.briefBio} target="_blank" rel="noopener noreferrer" class="text-lab-blue hover:underline">Brief Bio<span class="sr-only"> (opens in new tab)</span></a>,{" "}
66+
<a href={pi.links.nihBiosketch} target="_blank" rel="noopener noreferrer" class="text-lab-blue hover:underline">NIH Biosketch<span class="sr-only"> (opens in new tab)</span></a>,{" "}
67+
<a href={pi.links.cv} target="_blank" rel="noopener noreferrer" class="text-lab-blue hover:underline">CV<span class="sr-only"> (opens in new tab)</span></a>
68+
</p>
69+
)}
70+
</div>
71+
</div>
72+
)}
4673
<!-- Lab Members - Responsive Grid (PI pinned to top-left) -->
4774
<div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-4 md:gap-6 justify-items-center items-start">
4875
{sortedLabMembers.map(person => (

0 commit comments

Comments
 (0)