|
164 | 164 |
|
165 | 165 | .scenario-wrapper { |
166 | 166 | position: relative; |
167 | | - margin: 0 -20px; |
168 | | - padding: 0 20px; |
| 167 | + margin: 0; |
| 168 | + padding: 0; |
169 | 169 | } |
170 | 170 |
|
171 | 171 | .scenario-list { |
|
176 | 176 | scroll-behavior: smooth; |
177 | 177 | -webkit-overflow-scrolling: touch; |
178 | 178 | padding: 20px 0; |
179 | | - margin: -20px 0; |
| 179 | + margin: 0; |
180 | 180 | cursor: grab; |
181 | 181 | } |
182 | 182 |
|
|
191 | 191 | } |
192 | 192 | } |
193 | 193 |
|
| 194 | + /* 確保第一個和最後一個項目有足夠的空間 */ |
| 195 | + .scenario-item:first-child { |
| 196 | + margin-left: 20px; |
| 197 | + } |
| 198 | + |
| 199 | + .scenario-item:last-child { |
| 200 | + margin-right: 20px; |
| 201 | + } |
| 202 | + |
| 203 | + @media (min-width: 769px) { |
| 204 | + .scenario-item:first-child { |
| 205 | + margin-left: 0; |
| 206 | + } |
| 207 | + |
| 208 | + .scenario-item:last-child { |
| 209 | + margin-right: 0; |
| 210 | + } |
| 211 | + } |
| 212 | + |
194 | 213 | .scenario-item { |
195 | 214 | background: #ffffff; |
196 | 215 | color: #1d1d1f; |
|
469 | 488 | top: 20px; |
470 | 489 | right: 0; |
471 | 490 | bottom: 20px; |
472 | | - width: 100px; |
| 491 | + width: 60px; |
473 | 492 | background: linear-gradient(to left, #ffffff 0%, transparent 100%); |
474 | 493 | pointer-events: none; |
475 | 494 | z-index: 1; |
|
483 | 502 | top: 20px; |
484 | 503 | left: 0; |
485 | 504 | bottom: 20px; |
486 | | - width: 100px; |
| 505 | + width: 60px; |
487 | 506 | background: linear-gradient(to right, #ffffff 0%, transparent 100%); |
488 | 507 | pointer-events: none; |
489 | 508 | z-index: 1; |
490 | 509 | opacity: 0; |
491 | 510 | transition: opacity 0.3s ease; |
492 | 511 | } |
493 | 512 |
|
| 513 | + @media (min-width: 769px) { |
| 514 | + .scenario-wrapper::after, |
| 515 | + .scenario-wrapper::before { |
| 516 | + width: 100px; |
| 517 | + } |
| 518 | + } |
| 519 | + |
494 | 520 | .scenario-wrapper.scrolled::before { |
495 | 521 | opacity: 1; |
496 | 522 | } |
|
512 | 538 | grid-template-columns: 1fr; |
513 | 539 | } |
514 | 540 |
|
515 | | - .scenario-wrapper::after { |
516 | | - width: 50px; |
517 | | - } |
518 | 541 | } |
519 | 542 | </style> |
520 | 543 | <script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script> |
@@ -758,32 +781,63 @@ <h1>GitHub Copilot 教學專案</h1> |
758 | 781 | <h2 style="font-size: 3.5rem; font-weight: 700; margin-bottom: 48px; text-align: center; letter-spacing: -0.03em;">專案簡介</h2> |
759 | 782 | <p style="text-align: center; font-size: 1.25rem; color: #6e6e73; max-width: 800px; margin: 0 auto 80px; line-height: 1.6;">這是一個 <strong style="color: #1d1d1f;">2小時精華版</strong> GitHub Copilot 教學專案,專注於 <strong style="color: #1d1d1f;">Agent 模式</strong>的實際應用。<br>透過由淺入深的 8 個場景,讓您快速掌握 AI 驅動的開發流程。</p> |
760 | 783 |
|
| 784 | + <div style="text-align: center; margin: 0 auto 80px; max-width: 900px;"> |
| 785 | + <p style="font-size: 1.125rem; color: #515154; line-height: 1.8; margin-bottom: 24px;"> |
| 786 | + 我們將從基礎的對話功能開始,逐步深入到讓 AI Agent 完全主導開發流程。每個場景都包含實際的程式碼範例、詳細的操作步驟,以及立即可見的成果展示。 |
| 787 | + </p> |
| 788 | + <p style="font-size: 1rem; color: #6e6e73; line-height: 1.7;"> |
| 789 | + 無論您是 <strong>產品經理(PM)</strong>想了解 AI 如何加速產品迭代、<strong>系統分析師(SA)</strong>希望掌握 AI 輔助系統設計,還是<strong>程式設計師(PG)</strong>想要提升編碼效率,這個課程都能為您帶來實質的幫助。 |
| 790 | + </p> |
| 791 | + </div> |
| 792 | + |
761 | 793 | <div class="features"> |
762 | 794 | <div class="feature-card"> |
763 | | - <h3>Agent 模式核心</h3> |
764 | | - <p>學習讓 AI 自主完成複雜開發任務,採用漸進式學習路徑</p> |
| 795 | + <h3>🤖 Agent 模式核心</h3> |
| 796 | + <p>學習讓 AI 自主完成複雜開發任務,從簡單的程式碼補全到完整的系統架構設計。採用漸進式學習路徑,讓您一步步掌握 Agent 的強大能力。</p> |
| 797 | + <ul style="margin-top: 16px; font-size: 0.875rem; color: #6e6e73; list-style: none; padding: 0;"> |
| 798 | + <li style="margin-bottom: 8px;">✓ 自主分析與決策</li> |
| 799 | + <li style="margin-bottom: 8px;">✓ 多檔案協調修改</li> |
| 800 | + <li>✓ 完整專案重構</li> |
| 801 | + </ul> |
765 | 802 | </div> |
766 | 803 |
|
767 | 804 | <div class="feature-card"> |
768 | | - <h3>目標聽眾</h3> |
769 | | - <p>適合 PM、SA、PG 三種角色,了解 AI 如何提升各自工作效率</p> |
| 805 | + <h3>👥 目標聽眾</h3> |
| 806 | + <p>適合各種角色的專業人士,每個人都能找到適合自己的應用場景,大幅提升工作效率。</p> |
| 807 | + <ul style="margin-top: 16px; font-size: 0.875rem; color: #6e6e73; list-style: none; padding: 0;"> |
| 808 | + <li style="margin-bottom: 8px;">📊 <strong>PM</strong>:快速原型開發、需求驗證</li> |
| 809 | + <li style="margin-bottom: 8px;">🔍 <strong>SA</strong>:系統分析、文檔生成</li> |
| 810 | + <li>💻 <strong>PG</strong>:編碼加速、測試自動化</li> |
| 811 | + </ul> |
770 | 812 | </div> |
771 | 813 |
|
772 | 814 | <div class="feature-card"> |
773 | | - <h3>2025 最新功能</h3> |
774 | | - <p>涵蓋 Next Edit Suggestions、多指令檔案系統、Prompt Files 等最新特色</p> |
| 815 | + <h3>🚀 2025 最新功能</h3> |
| 816 | + <p>涵蓋 GitHub Copilot 最新發布的強大功能,讓您站在 AI 輔助開發的最前沿。</p> |
| 817 | + <ul style="margin-top: 16px; font-size: 0.875rem; color: #6e6e73; list-style: none; padding: 0;"> |
| 818 | + <li style="margin-bottom: 8px;">⚡ Next Edit Suggestions</li> |
| 819 | + <li style="margin-bottom: 8px;">📁 多指令檔案系統</li> |
| 820 | + <li>📝 Prompt Files 模板化</li> |
| 821 | + </ul> |
775 | 822 | </div> |
776 | 823 | </div> |
777 | 824 |
|
778 | 825 | <div class="quick-start"> |
779 | | - <h3 style="font-size: 1.125rem; font-weight: 600; color: #1d1d1f;">快速開始</h3> |
780 | | - <p>1. 安裝 VS Code 和 GitHub Copilot 擴充套件<br> |
781 | | - 2. 登入 GitHub 帳號並選擇適合的訂閱方案<br> |
782 | | - 3. 設定繁體中文語言環境<br> |
783 | | - 4. 開始第一個場景的學習</p> |
| 826 | + <h3 style="font-size: 1.25rem; font-weight: 600; color: #1d1d1f; margin-bottom: 20px;">🚀 快速開始</h3> |
| 827 | + <p style="font-size: 1rem; line-height: 1.8; margin-bottom: 20px;">準備好開始您的 AI 輔助開發之旅了嗎?只需要簡單幾個步驟:</p> |
| 828 | + <ol style="font-size: 0.9375rem; line-height: 1.8; color: #515154; margin-left: 20px;"> |
| 829 | + <li style="margin-bottom: 12px;"><strong>安裝必要工具</strong><br> |
| 830 | + 下載並安裝 VS Code,然後從擴充套件市場安裝 GitHub Copilot</li> |
| 831 | + <li style="margin-bottom: 12px;"><strong>設定您的帳號</strong><br> |
| 832 | + 使用 GitHub 帳號登入,選擇個人版($10/月)或商業版($19/月)</li> |
| 833 | + <li style="margin-bottom: 12px;"><strong>語言環境設定</strong><br> |
| 834 | + 將 VS Code 設定為繁體中文,獲得更好的學習體驗</li> |
| 835 | + <li><strong>開始學習旅程</strong><br> |
| 836 | + 從場景 1 開始,循序漸進掌握每個功能</li> |
| 837 | + </ol> |
784 | 838 |
|
785 | | - <details style="margin-top: 20px; background: #f5f5f7; padding: 24px; border-radius: 16px; border: none;"> |
786 | | - <summary style="cursor: pointer; font-weight: 600; color: #007aff;">Agent 快速設置指令(點擊展開)</summary> |
| 839 | + <details style="margin-top: 28px; background: #f5f5f7; padding: 24px; border-radius: 16px; border: none;"> |
| 840 | + <summary style="cursor: pointer; font-weight: 600; color: #007aff; font-size: 1rem;">🎯 Agent 快速設置指令(點擊展開)</summary> |
787 | 841 | <div style="position: relative;"> |
788 | 842 | <button onclick="copyAgentPrompt()" style="position: absolute; top: 15px; right: 15px; padding: 5px 10px; background: #007aff; color: white; border: none; border-radius: 20px; font-size: 12px; cursor: pointer; z-index: 10;"> |
789 | 843 | 複製 |
@@ -825,13 +879,19 @@ <h3 style="font-size: 1.125rem; font-weight: 600; color: #1d1d1f;">快速開始< |
825 | 879 | </div> |
826 | 880 |
|
827 | 881 | <div class="qr-code-section"> |
828 | | - <h3 style="font-size: 1.25rem; font-weight: 600; color: #1d1d1f;">手機掃描 QR Code 快速存取</h3> |
| 882 | + <h3 style="font-size: 1.375rem; font-weight: 600; color: #1d1d1f; margin-bottom: 16px;">📱 手機掃描 QR Code 快速存取</h3> |
| 883 | + <p style="font-size: 1rem; color: #6e6e73; margin-bottom: 24px; line-height: 1.6;"> |
| 884 | + 想要隨時隨地查看教學內容?掃描下方 QR Code,即可在手機或平板上瀏覽完整的教學資源。 |
| 885 | + </p> |
829 | 886 | <div id="qrcode"></div> |
830 | | - <p class="qr-note">掃描 QR Code 即可在手機上瀏覽完整教學內容</p> |
| 887 | + <p class="qr-note" style="margin-top: 20px;">支援所有主流瀏覽器,建議使用 Safari 或 Chrome 獲得最佳體驗</p> |
831 | 888 | </div> |
832 | 889 |
|
833 | 890 | <div class="scenarios"> |
834 | 891 | <h2>8 個學習場景</h2> |
| 892 | + <p style="text-align: center; font-size: 1.125rem; color: #6e6e73; max-width: 800px; margin: -8px auto 40px; line-height: 1.6;"> |
| 893 | + 從基礎到進階,每個場景都精心設計,讓您在實作中學習。左右滑動探索所有場景。 |
| 894 | + </p> |
835 | 895 | <div class="scenario-wrapper"> |
836 | 896 | <div class="scenario-list"> |
837 | 897 | <div class="scenario-item"> |
@@ -940,7 +1000,32 @@ <h2>8 個學習場景</h2> |
940 | 1000 | </div> |
941 | 1001 |
|
942 | 1002 | <div class="footer"> |
943 | | - <p>預期成果:完成課程後提升 30-50% 開發效率,建立團隊級 AI 輔助開發流程</p> |
| 1003 | + <h3 style="font-size: 1.5rem; font-weight: 600; color: #1d1d1f; margin-bottom: 20px;">🎯 預期成果</h3> |
| 1004 | + <p style="font-size: 1.125rem; line-height: 1.8; max-width: 800px; margin: 0 auto 20px;"> |
| 1005 | + 完成這 2 小時的精華課程後,您將能夠: |
| 1006 | + </p> |
| 1007 | + <div style="display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin: 32px 0;"> |
| 1008 | + <div style="text-align: center;"> |
| 1009 | + <div style="font-size: 2.5rem; font-weight: 700; color: #007aff; margin-bottom: 8px;">30-50%</div> |
| 1010 | + <div style="font-size: 0.875rem; color: #6e6e73;">開發效率提升</div> |
| 1011 | + </div> |
| 1012 | + <div style="text-align: center;"> |
| 1013 | + <div style="font-size: 2.5rem; font-weight: 700; color: #007aff; margin-bottom: 8px;">80%</div> |
| 1014 | + <div style="font-size: 0.875rem; color: #6e6e73;">重複工作減少</div> |
| 1015 | + </div> |
| 1016 | + <div style="text-align: center;"> |
| 1017 | + <div style="font-size: 2.5rem; font-weight: 700; color: #007aff; margin-bottom: 8px;">10x</div> |
| 1018 | + <div style="font-size: 0.875rem; color: #6e6e73;">文檔生成速度</div> |
| 1019 | + </div> |
| 1020 | + </div> |
| 1021 | + <p style="font-size: 1rem; color: #6e6e73; max-width: 700px; margin: 0 auto;"> |
| 1022 | + 更重要的是,您將建立起團隊級的 AI 輔助開發流程,讓整個團隊都能受益於這項革命性的技術。 |
| 1023 | + </p> |
| 1024 | + <div style="margin-top: 40px; padding-top: 32px; border-top: 1px solid #d1d9e0;"> |
| 1025 | + <p style="font-size: 0.875rem; color: #86868b;"> |
| 1026 | + Created with ❤️ by Yulin Wang • Powered by GitHub Copilot |
| 1027 | + </p> |
| 1028 | + </div> |
944 | 1029 | </div> |
945 | 1030 | </div> |
946 | 1031 |
|
|
0 commit comments