fix(dev-landing): use relative paths for book and tinytorch links

Absolute paths like /book/ resolve incorrectly on GitHub Pages subpath
deployments (cs249r_book_dev). Using relative paths (./book/) ensures
the links work regardless of the hosting location.
This commit is contained in:
Vijay Janapa Reddi
2025-12-06 05:11:43 -08:00
parent c024bca32f
commit 10eb85fcf6

View File

@@ -132,14 +132,14 @@
<p class="subtitle">Machine Learning Systems • Development Environment</p>
<div class="cards">
<a href="/book/" class="card">
<a href="./book/" class="card">
<div class="card-icon">📖</div>
<h2>Textbook</h2>
<p>Machine Learning Systems: Principles and Practices of Engineering Artificially Intelligent Systems</p>
<span class="card-link">Open Book Preview →</span>
</a>
<a href="/tinytorch/" class="card">
<a href="./tinytorch/" class="card">
<div class="card-icon">🔥</div>
<h2>Tiny🔥Torch</h2>
<p>Build ML Systems from Scratch: An interactive course for implementing your own PyTorch-style framework</p>