Skip to content

Commit 46fac3e

Browse files
authored
Update welcome page with new image and adjust scroll behavior (#1736)
1 parent bd2134b commit 46fac3e

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

scripts/build-docs.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,8 @@ ${htmlContent}</main>
714714
const isPage = target.matches('.markdown-body > details');
715715
history.pushState(null, '', link.getAttribute('href'));
716716
showWorkshopPage(target, isPage);
717-
if (!isPage) target.scrollIntoView({ block: 'start' });
717+
if (isPage) window.scrollTo({ top: 0, left: 0 });
718+
else target.scrollIntoView({ block: 'start' });
718719
}
719720
});
720721

workshop/00-welcome.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
# Welcome to our Agent Factory Tour
66

7+
![Mona's Agent Factory](images/00-welcome-mona-agent-factory.png)
8+
9+
710
By the end of this workshop, a real AI agent will create an issue with a summary of the activity in your repository over the latest 24h, every day, without you writing shell-script workflow code.
811

912
![Sample daily repository status report generated by the finished workflow](images/00-daily-repo-status-output.svg)
2.05 MB
Loading

0 commit comments

Comments
 (0)