Skip to content

Commit 0d97593

Browse files
xpqiuclaude
andcommitted
Team/alumni roster updates; add Alumni nav; drop Research page
- Add "校友网络" (Alumni) to top nav - Alumni: entry-year labels + 3-column row layout (name | year | destination), language-aware name-column width, space between unit and title - Roster moves: 汪燠欣 → faculty (last) + PhD alumnus; 彭润宇 → alumni; 蒋子恒 masters→undergrad; dedupe 戴宁; mark 6 PhD students graduated; remove 何慷/李沐宸 - 专任副研究员 → 副研究员 - Many destination updates (李孝男/陈俊坤/施展/王少敬/张栋/张鑫/朱秦/张硕/杨小珪/王丹青/王阳刚/印张悦/程沁源/颜航 etc.) - Sort current students + alumni by entry year (ascending) then surname - Remove the standalone Research page (research directions stay on the home page); strip the publication list - Bump cache version Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent b738f05 commit 0d97593

4 files changed

Lines changed: 52 additions & 97 deletions

File tree

assets/js/spa.js

Lines changed: 5 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
(function () {
22
const routes = {
33
home: renderHome,
4-
research: renderResearch,
54
people: renderPeople,
65
alumni: renderAlumni,
76
resources: renderResources,
@@ -60,8 +59,8 @@
6059

6160
const navItems = [
6261
{ id: 'home', key: 'nav.home' },
63-
{ id: 'research', key: 'nav.research' },
6462
{ id: 'people', key: 'nav.people' },
63+
{ id: 'alumni', key: 'nav.alumni' },
6564
{ id: 'resources', key: 'nav.resources' },
6665
{ id: 'positions', key: 'nav.positions' }
6766
];
@@ -259,19 +258,14 @@
259258
}
260259

261260
// 渲染研究方向卡片网格;navigate=true 时先跳转到研究页再滚动到对应论文区块
262-
function renderPillarsGrid(navigate) {
261+
function renderPillarsGrid() {
263262
return `
264263
<div class="pillars-grid">
265-
${PILLARS.map(p => {
266-
const onclick = navigate
267-
? `navigateAndScroll('research', 'pub-${p.key}')`
268-
: `scrollToId('pub-${p.key}')`;
269-
return `
270-
<article class="pillar-card pillar-card-clickable" onclick="${onclick}">
264+
${PILLARS.map(p => `
265+
<article class="pillar-card">
271266
<h3>${t(p.titleKey)}</h3>
272267
<p>${t(p.descKey)}</p>
273-
</article>`;
274-
}).join('')}
268+
</article>`).join('')}
275269
</div>`;
276270
}
277271

@@ -492,44 +486,6 @@
492486
`).join('')}
493487
</div>
494488
</section>
495-
496-
<section class="container sec">
497-
<h2>${t('research.publications.title')}</h2>
498-
${PILLARS.map(p => {
499-
const pubs = SPA_DATA.publications[p.key] || [];
500-
return `
501-
<div id="pub-${p.key}" class="publication-section">
502-
<h3 class="publication-category">${t(p.titleKey)}</h3>
503-
<ul class="publication-list">
504-
${pubs.length > 0 ? pubs.map(pub => {
505-
// 处理链接显示
506-
const processedLinks = pub.links.map(link => {
507-
if (link.type === 'ArXiv') {
508-
const pdfUrl = link.url.replace('/abs/', '/pdf/');
509-
return `<a href="${link.url}" target="_blank" class="pub-link">[Abstract]</a> <a href="${pdfUrl}" target="_blank" class="pub-link">[PDF]</a>`;
510-
} else if (link.type === 'GitHub') {
511-
return `<a href="${link.url}" target="_blank" class="pub-link">[Resource]</a>`;
512-
} else {
513-
return `<a href="${link.url}" target="_blank" class="pub-link">[${link.type}]</a>`;
514-
}
515-
}).join(' ');
516-
517-
return `
518-
<li class="publication-item">
519-
<div class="pub-main-line">
520-
${pub.support ? '<span class="pub-support">[SUPPORT]</span> ' : ''}<span class="pub-title">${pub.title}</span>${pub.venue ? `, <em>${pub.venue}</em>` : ''}, ${pub.year}.
521-
${processedLinks}
522-
</div>
523-
<div class="pub-authors">${pub.alphabetical ? '<span class="pub-alphabetical">*</span> ' : ''}${pub.authors}</div>
524-
</li>
525-
`;
526-
}).join('') : '<p style="color: var(--text-light); font-style: italic;">代表工作持续更新中...</p>'}
527-
</ul>
528-
</div>
529-
`;
530-
}).join('')}
531-
<p class="pub-note">* Authors of projects are listed in alphabetical order.</p>
532-
</section>
533489
`;
534490
}
535491

0 commit comments

Comments
 (0)