Skip to content

Commit 4157bd9

Browse files
authored
Build ai4ai-survey.github.io as a short English page, not a copy (#25)
The second domain now serves an English-only "What is AI4AI?" read built from the article: its own definition of the field, one takeaway per section, the figures, the closure table and the conclusion, linking to the full article for the rest.
1 parent 995e97b commit 4157bd9

4 files changed

Lines changed: 377 additions & 133 deletions

File tree

‎ai4ai/index.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,8 +360,8 @@ <h1>AI4AI Survey: From Long-Horizon Agents to Recursive Self-Improvement</h1>
360360
<b aria-hidden="true">↗</b>
361361
</a>
362362
<a class="project-page-link" href="https://ai4ai-survey.github.io/" target="_blank" rel="noreferrer">
363-
<span class="lang-en" lang="en">Project page</span>
364-
<span class="lang-zh" lang="zh-CN">项目主页</span>
363+
<span class="lang-en" lang="en">Short version (English)</span>
364+
<span class="lang-zh" lang="zh-CN">英文短版</span>
365365
<b aria-hidden="true">↗</b>
366366
</a>
367367
</div>

‎assets/styles.css‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,10 @@ footer a:hover { color: var(--fg); }
371371
.project-page .glance ol { margin: 0 0 0 1.25rem; }
372372
.project-page .glance li { margin-bottom: .55rem; color: var(--soft); font-size: 15px; line-height: 1.55; }
373373
.project-page .glance li a { color: var(--fg); font-weight: 600; }
374+
/* "Read this section in full" links on the short version of the survey. */
375+
.project-page .full-link { margin: -.6rem 0 1.8rem; font: 500 14px/1.4 var(--sans); }
376+
.project-page .full-link a { color: var(--soft); }
377+
.project-page .full-link a:hover { color: var(--fg); }
374378

375379
/* Wide viewports get a sticky contents rail in the left gutter while the article
376380
column stays centered. Below 1200px there is no room, so the rail is dropped. */

0 commit comments

Comments
 (0)