Skip to content

Commit 9d66af5

Browse files
committed
feat: 場景8加入三個連結按鈕
- 📚 教學:查看教學指南 - 💻 GitHub:查看 repository 和 issues/PR - 🎯 Demo:查看待辦事項應用 新增 btn-repo 樣式和 scenario-links-3 布局支援三個按鈕
1 parent e227aab commit 9d66af5

1 file changed

Lines changed: 29 additions & 3 deletions

File tree

index.html

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,31 @@
174174
box-shadow: 0 3px 10px rgba(0,0,0,0.2);
175175
}
176176

177+
.btn-repo {
178+
background: rgba(128, 90, 213, 0.9);
179+
color: white;
180+
font-weight: 600;
181+
}
182+
183+
.btn-repo:hover {
184+
background: rgba(107, 70, 193, 0.9);
185+
box-shadow: 0 3px 10px rgba(0,0,0,0.2);
186+
}
187+
188+
/* 三個按鈕的特殊布局 */
189+
.scenario-links-3 {
190+
flex-wrap: wrap;
191+
justify-content: center;
192+
}
193+
194+
.scenario-links-3 .btn {
195+
font-size: 0.85rem;
196+
padding: 6px 12px;
197+
flex: 1;
198+
min-width: 70px;
199+
text-align: center;
200+
}
201+
177202
.btn-primary {
178203
background: #667eea !important;
179204
color: white !important;
@@ -514,9 +539,10 @@ <h2>📚 8 個學習場景</h2>
514539
<div class="scenario-title">GitHub 自動化 Agent</div>
515540
<div class="scenario-description">從 Issue 到 PR 的完整自動化流程</div>
516541
<span class="agent-indicator agent-90">Agent 90%</span>
517-
<div class="scenario-links">
518-
<a href="#" onclick="loadMarkdown('./08-comprehensive-project/TEACHING_GUIDE.md', '場景 8:GitHub 自動化 Agent'); return false;" class="btn btn-doc">📚 查看教學</a>
519-
<a href="https://yulin0629.github.io/copilot-agent-demo-todo/" target="_blank" class="btn btn-demo">🎯 實際應用</a>
542+
<div class="scenario-links scenario-links-3">
543+
<a href="#" onclick="loadMarkdown('./08-comprehensive-project/TEACHING_GUIDE.md', '場景 8:GitHub 自動化 Agent'); return false;" class="btn btn-doc">📚 教學</a>
544+
<a href="https://github.com/yulin0629/copilot-agent-demo-todo" target="_blank" class="btn btn-repo">💻 GitHub</a>
545+
<a href="https://yulin0629.github.io/copilot-agent-demo-todo/" target="_blank" class="btn btn-demo">🎯 Demo</a>
520546
</div>
521547
</div>
522548
</div>

0 commit comments

Comments
 (0)