Skip to content

Commit 807a46a

Browse files
robertoglclaude
andcommitted
Make entire card clickable, move topic tags above tool tags
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 08cb51f commit 807a46a

1 file changed

Lines changed: 5 additions & 10 deletions

File tree

index.html

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -220,15 +220,7 @@
220220
font-size: 1.1rem;
221221
font-weight: 700;
222222
margin-bottom: 0.5rem;
223-
}
224-
225-
.card-title a {
226223
color: var(--accent-orange);
227-
text-decoration: none;
228-
}
229-
230-
.card-title a:hover {
231-
text-decoration: underline;
232224
}
233225

234226
.card-summary {
@@ -424,13 +416,16 @@ <h2 class="section-heading" id="examples-heading">Examples</h2>
424416
<img src="${project.image}" alt="${project.name}" loading="lazy">
425417
</div>
426418
<div class="card-body">
427-
<h3 class="card-title"><a href="${link}" target="_blank" rel="noopener">${project.name}</a></h3>
428-
${topics}
419+
<h3 class="card-title">${project.name}</h3>
429420
<p class="card-summary">${project.summary}</p>
421+
${topics}
430422
${tools}
431423
</div>
432424
`;
433425

426+
card.style.cursor = "pointer";
427+
card.addEventListener("click", () => window.open(link, "_blank"));
428+
434429
return card;
435430
}
436431

0 commit comments

Comments
 (0)