Skip to content

Commit df5e9ad

Browse files
Move Hackathon Guide and Presentation Slides to top of Quick Path as Event cards
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent a1b8ee6 commit df5e9ad

2 files changed

Lines changed: 50 additions & 18 deletions

File tree

docs/index.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,24 @@ description: Build AI-powered bioinformatics skills at Imperial College London.
1717

1818
<div class="tutorial-cards">
1919

20+
<a class="tutorial-card" href="hackathon/">
21+
<div class="tutorial-card__header">
22+
<span class="difficulty-badge difficulty-badge--event">Event</span>
23+
<span class="time-estimate">5 min</span>
24+
</div>
25+
<h3 class="tutorial-card__title">Hackathon Guide</h3>
26+
<p class="tutorial-card__desc">Full timetable, tracks, judging criteria, and project ideas.</p>
27+
</a>
28+
29+
<a class="tutorial-card" href="hackathon/presentation/">
30+
<div class="tutorial-card__header">
31+
<span class="difficulty-badge difficulty-badge--event">Event</span>
32+
<span class="time-estimate">10 min</span>
33+
</div>
34+
<h3 class="tutorial-card__title">Presentation Slides</h3>
35+
<p class="tutorial-card__desc">Intro slides covering ClawBio, SKILL.md, and what to build today.</p>
36+
</a>
37+
2038
<a class="tutorial-card" href="hackathon/setup/">
2139
<div class="tutorial-card__header">
2240
<span class="difficulty-badge difficulty-badge--beginner">Beginner</span>
@@ -68,24 +86,6 @@ description: Build AI-powered bioinformatics skills at Imperial College London.
6886
<p class="tutorial-card__desc">Use Claude Code and AI coding assistants to build skills faster.</p>
6987
</a>
7088

71-
<a class="tutorial-card" href="hackathon/">
72-
<div class="tutorial-card__header">
73-
<span class="difficulty-badge difficulty-badge--beginner">Beginner</span>
74-
<span class="time-estimate">5 min</span>
75-
</div>
76-
<h3 class="tutorial-card__title">Hackathon Guide</h3>
77-
<p class="tutorial-card__desc">Full timetable, tracks, judging criteria, and project ideas.</p>
78-
</a>
79-
80-
<a class="tutorial-card" href="hackathon/presentation/">
81-
<div class="tutorial-card__header">
82-
<span class="difficulty-badge difficulty-badge--beginner">Beginner</span>
83-
<span class="time-estimate">10 min</span>
84-
</div>
85-
<h3 class="tutorial-card__title">Presentation Slides</h3>
86-
<p class="tutorial-card__desc">Intro slides covering ClawBio, SKILL.md, and what to build today.</p>
87-
</a>
88-
8989
</div>
9090

9191
---

docs/stylesheets/clawbio.css

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,11 @@
632632
background: rgba(248, 81, 73, 0.15);
633633
}
634634

635+
.difficulty-badge--event {
636+
color: #a5d6ff;
637+
background: rgba(165, 214, 255, 0.15);
638+
}
639+
635640
/* Light theme badge overrides */
636641
[data-md-color-scheme="default"] .difficulty-badge--beginner {
637642
color: #16a34a;
@@ -648,6 +653,11 @@
648653
background: #fee2e2;
649654
}
650655

656+
[data-md-color-scheme="default"] .difficulty-badge--event {
657+
color: #2563eb;
658+
background: #dbeafe;
659+
}
660+
651661
/* ============================================================
652662
Time Estimate
653663
============================================================ */
@@ -659,6 +669,28 @@
659669
margin-left: 0.5rem;
660670
}
661671

672+
/* ============================================================
673+
Video Embeds (responsive 16:9)
674+
============================================================ */
675+
676+
.video-embed {
677+
position: relative;
678+
padding-bottom: 56.25%; /* 16:9 */
679+
height: 0;
680+
overflow: hidden;
681+
margin-bottom: 1.5rem;
682+
border-radius: 8px;
683+
}
684+
685+
.video-embed iframe {
686+
position: absolute;
687+
top: 0;
688+
left: 0;
689+
width: 100%;
690+
height: 100%;
691+
border-radius: 8px;
692+
}
693+
662694
/* ============================================================
663695
Responsive: single column below 480px
664696
============================================================ */

0 commit comments

Comments
 (0)