mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-03-11 17:49:25 -05:00
- Update dev landing to link to /book/ volume chooser instead of old single-volume path - Add book-index.html as volume picker page deployed at /book/ (Vol I + Vol II cards) - Fix preview workflow to checkout from dev branch (ref: dev) so landing pages always come from dev - Add book-index.html to sparse checkout and deploy step
138 lines
4.2 KiB
HTML
138 lines
4.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>MLSysBook — Choose Volume</title>
|
|
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>📚</text></svg>">
|
|
<style>
|
|
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
|
|
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #e4e4e4;
|
|
padding: 2rem;
|
|
}
|
|
|
|
.container { max-width: 750px; text-align: center; }
|
|
|
|
.badge {
|
|
display: inline-block;
|
|
background: #e94560;
|
|
color: white;
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 20px;
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
margin-bottom: 1.5rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2.2rem;
|
|
margin-bottom: 0.5rem;
|
|
background: linear-gradient(90deg, #fff, #e4e4e4);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
.subtitle {
|
|
color: #a4a4a4;
|
|
margin-bottom: 2.5rem;
|
|
font-size: 1.05rem;
|
|
}
|
|
|
|
.cards {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 1.5rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.card {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 16px;
|
|
padding: 2rem 1.5rem;
|
|
text-decoration: none;
|
|
color: inherit;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.card:hover {
|
|
transform: translateY(-5px);
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-color: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.card-icon { font-size: 3rem; margin-bottom: 1rem; }
|
|
|
|
.card h2 { font-size: 1.4rem; margin-bottom: 0.5rem; }
|
|
|
|
.card .vol-subtitle {
|
|
color: #ccc;
|
|
font-size: 0.8rem;
|
|
font-weight: 500;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.card p { color: #a4a4a4; font-size: 0.9rem; margin-bottom: 1rem; line-height: 1.5; }
|
|
|
|
.card-link { color: #e94560; font-size: 0.9rem; font-weight: 500; }
|
|
|
|
.footer {
|
|
color: #666;
|
|
font-size: 0.85rem;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.footer a { color: #888; text-decoration: none; }
|
|
.footer a:hover { color: #e94560; }
|
|
|
|
@media (max-width: 600px) {
|
|
.cards { grid-template-columns: 1fr; }
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<div class="badge">Development Preview</div>
|
|
|
|
<h1>Machine Learning Systems</h1>
|
|
<p class="subtitle">Select a volume to begin reading</p>
|
|
|
|
<div class="cards">
|
|
<a href="./vol1/" class="card">
|
|
<div class="card-icon">📖</div>
|
|
<h2>Volume I</h2>
|
|
<div class="vol-subtitle">Foundations</div>
|
|
<p>Introduction to Machine Learning Systems — single-machine foundations, optimization, and deployment</p>
|
|
<span class="card-link">Open Volume I →</span>
|
|
</a>
|
|
|
|
<a href="./vol2/" class="card">
|
|
<div class="card-icon">📘</div>
|
|
<h2>Volume II</h2>
|
|
<div class="vol-subtitle">At Scale</div>
|
|
<p>Machine Learning Systems at Scale — distributed training, infrastructure, and production systems</p>
|
|
<span class="card-link">Open Volume II →</span>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="footer">
|
|
<a href="../">← Back to Dev Home</a>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|