Spaces:
Running
Running
Download 731ai/_tmp_slide_4.html from u11310019/interactive-multi-web: direct link, hf CLI and curl.
- Browser
- Download file 19.5 kB
-
https://huggingface.co/spaces/u11310019/interactive-multi-web/resolve/main/731ai/_tmp_slide_4.html
- Command line
-
hf download hf://spaces/u11310019/interactive-multi-web/731ai/_tmp_slide_4.html
-
curl -L -o _tmp_slide_4.html https://huggingface.co/spaces/u11310019/interactive-multi-web/resolve/main/731ai/_tmp_slide_4.html
19.5 kB
| <html lang="zh-TW"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Noto+Sans+TC:wght@400;500;700&family=Noto+Serif+TC:wght@400;600&display=swap" rel="stylesheet"> | |
| <style> | |
| /* ================================================================ | |
| DESIGN-claude.md — Design System Tokens | |
| ================================================================ */ | |
| :root { | |
| --primary: #cc785c; | |
| --primary-active: #a9583e; | |
| --primary-disabled: #e6dfd8; | |
| --ink: #141413; | |
| --body: #3d3d3a; | |
| --body-strong: #252523; | |
| --muted: #6c6a64; | |
| --muted-soft: #8e8b82; | |
| --hairline: #e6dfd8; | |
| --hairline-soft: #ebe6df; | |
| --canvas: #faf9f5; | |
| --surface-soft: #f5f0e8; | |
| --surface-card: #efe9de; | |
| --surface-cream-strong: #e8e0d2; | |
| --surface-dark: #181715; | |
| --surface-dark-elevated:#252320; | |
| --surface-dark-soft: #1f1e1b; | |
| --on-primary: #ffffff; | |
| --on-dark: #faf9f5; | |
| --on-dark-soft: #a09d96; | |
| --accent-teal: #5db8a6; | |
| --accent-amber: #e8a55a; | |
| --success: #5db872; | |
| --font-display: "Noto Serif TC", "Georgia", serif; | |
| --font-body: "Noto Sans TC", "Inter", sans-serif; | |
| --font-code: "JetBrains Mono", monospace; | |
| } | |
| * { box-sizing: border-box; margin: 0; padding: 0; } | |
| /* ================================================================ | |
| PDF 列印精確尺寸設定 (16:9 = 1280×720px @ 96dpi) | |
| 1280px / 96 = 13.3333 inches | |
| 720px / 96 = 7.5 inches | |
| ================================================================ */ | |
| @page { | |
| size: 13.3333in 7.5in; | |
| margin: 0; | |
| } | |
| @media print { | |
| html, body { | |
| width: 1280px; | |
| height: 720px; | |
| margin: 0; | |
| padding: 0; | |
| background: #0e0d0c; | |
| overflow: hidden; | |
| } | |
| body { | |
| display: block; | |
| } | |
| .slide { | |
| width: 1280px ; | |
| height: 720px ; | |
| border-radius: 0 ; | |
| box-shadow: none ; | |
| page-break-after: always; | |
| break-after: page; | |
| page-break-inside: avoid; | |
| break-inside: avoid; | |
| margin: 0 ; | |
| flex-shrink: 0; | |
| } | |
| } | |
| body { | |
| background: #0e0d0c; | |
| font-family: var(--font-body); | |
| color: var(--ink); | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| padding: 40px 20px; | |
| gap: 48px; | |
| } | |
| /* ================================================================ | |
| Slide Frame — 16:9 @ 1280×720 | |
| ================================================================ */ | |
| .slide { | |
| width: 1280px; | |
| height: 720px; | |
| background: var(--canvas); | |
| border-radius: 16px; | |
| box-shadow: 0 24px 64px rgba(0,0,0,.5); | |
| padding: 48px 72px; | |
| display: flex; | |
| flex-direction: column; | |
| justify-content: space-between; | |
| overflow: hidden; | |
| position: relative; | |
| flex-shrink: 0; | |
| } | |
| .slide-dark { background: var(--surface-dark); } | |
| .slide-coral { background: var(--primary); } | |
| /* ================================================================ | |
| Shared Header / Footer | |
| ================================================================ */ | |
| .slide-header { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| padding-bottom: 14px; | |
| border-bottom: 1px solid var(--hairline); | |
| flex-shrink: 0; | |
| } | |
| .slide-dark .slide-header { border-color: rgba(255,255,255,.12); } | |
| .slide-coral .slide-header { border-color: rgba(255,255,255,.3); } | |
| .brand-logo { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| font-size: 15px; | |
| font-weight: 700; | |
| color: var(--ink); | |
| } | |
| .slide-dark .brand-logo { color: var(--on-dark); } | |
| .slide-coral .brand-logo { color: var(--on-primary); } | |
| .brand-icon { | |
| width: 18px; height: 18px; | |
| background: var(--ink); | |
| clip-path: polygon(50% 0%,65% 35%,100% 50%,65% 65%,50% 100%,35% 65%,0% 50%,35% 35%); | |
| flex-shrink: 0; | |
| } | |
| .slide-dark .brand-icon { background: var(--primary); } | |
| .slide-coral .brand-icon { background: var(--on-primary); } | |
| .slide-tag { | |
| font-size: 11px; font-weight: 600; | |
| letter-spacing: 1.4px; text-transform: uppercase; | |
| background: var(--surface-card); | |
| color: var(--ink); | |
| padding: 5px 13px; | |
| border-radius: 9999px; | |
| } | |
| .slide-dark .slide-tag { background: var(--surface-dark-elevated); color: var(--on-dark); } | |
| .slide-coral .slide-tag { background: rgba(255,255,255,.22); color: var(--on-primary); } | |
| .tag-coral { background: var(--primary) ; color: var(--on-primary) ; } | |
| .slide-footer { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| padding-top: 12px; | |
| border-top: 1px solid var(--hairline); | |
| font-size: 12px; | |
| color: var(--muted); | |
| flex-shrink: 0; | |
| } | |
| .slide-dark .slide-footer { border-color: rgba(255,255,255,.12); color: var(--on-dark-soft); } | |
| .slide-coral .slide-footer { border-color: rgba(255,255,255,.3); color: rgba(255,255,255,.75); } | |
| /* ================================================================ | |
| Typography | |
| ================================================================ */ | |
| .display-xl { | |
| font-family: var(--font-display); | |
| font-size: 58px; font-weight: 600; | |
| line-height: 1.1; letter-spacing: -1.5px; | |
| color: var(--ink); | |
| } | |
| .display-lg { | |
| font-family: var(--font-display); | |
| font-size: 44px; font-weight: 600; | |
| line-height: 1.15; letter-spacing: -1px; | |
| color: var(--ink); | |
| } | |
| .display-md { | |
| font-family: var(--font-display); | |
| font-size: 34px; font-weight: 600; | |
| line-height: 1.2; letter-spacing: -0.5px; | |
| color: var(--ink); | |
| } | |
| .display-sm { | |
| font-family: var(--font-display); | |
| font-size: 26px; font-weight: 600; | |
| line-height: 1.25; letter-spacing: -0.3px; | |
| color: var(--ink); | |
| } | |
| .title-lg { font-size: 20px; font-weight: 700; line-height: 1.3; } | |
| .title-md { font-size: 17px; font-weight: 700; line-height: 1.4; } | |
| .title-sm { font-size: 15px; font-weight: 700; line-height: 1.4; } | |
| .body-md { font-size: 15px; font-weight: 400; line-height: 1.6; color: var(--body); } | |
| .body-sm { font-size: 13px; font-weight: 400; line-height: 1.6; color: var(--body); } | |
| .caption { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0.5px; } | |
| .caption-up{ font-size: 11px; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase; color: var(--primary); } | |
| .slide-dark .display-xl, | |
| .slide-dark .display-lg, | |
| .slide-dark .display-md, | |
| .slide-dark .display-sm { color: var(--on-dark); } | |
| .slide-coral .display-xl, | |
| .slide-coral .display-lg, | |
| .slide-coral .display-sm { color: var(--on-primary); } | |
| .on-dark { color: var(--on-dark); } | |
| .on-dark-s { color: var(--on-dark-soft); } | |
| .text-coral{ color: var(--primary); } | |
| .text-teal { color: var(--accent-teal); } | |
| .text-amber{ color: var(--accent-amber); } | |
| /* ================================================================ | |
| Layout helpers | |
| ================================================================ */ | |
| .content-area { | |
| flex: 1; | |
| display: flex; | |
| flex-direction: column; | |
| justify-content: center; | |
| gap: 20px; | |
| min-height: 0; | |
| } | |
| .row { display: flex; gap: 20px; } | |
| .col { display: flex; flex-direction: column; gap: 16px; } | |
| .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } | |
| .grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; } | |
| .grid-4 { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 16px; } | |
| /* ================================================================ | |
| Cards | |
| ================================================================ */ | |
| .feature-card { | |
| background: var(--surface-card); | |
| border-radius: 12px; | |
| padding: 28px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 10px; | |
| border: 1px solid var(--hairline); | |
| } | |
| .connector-tile { | |
| background: var(--canvas); | |
| border-radius: 12px; | |
| padding: 20px 24px; | |
| border: 1px solid var(--hairline); | |
| display: flex; | |
| flex-direction: column; | |
| gap: 8px; | |
| } | |
| .dark-card { | |
| background: var(--surface-dark-elevated); | |
| border-radius: 12px; | |
| padding: 24px 28px; | |
| border: 1px solid rgba(255,255,255,.08); | |
| display: flex; | |
| flex-direction: column; | |
| gap: 10px; | |
| } | |
| .coral-card { | |
| background: var(--primary); | |
| border-radius: 12px; | |
| padding: 28px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 10px; | |
| color: var(--on-primary); | |
| } | |
| .number-badge { | |
| font-family: var(--font-display); | |
| font-size: 28px; | |
| font-weight: 600; | |
| color: var(--primary); | |
| letter-spacing: -0.5px; | |
| } | |
| .icon-circle { | |
| width: 40px; height: 40px; | |
| border-radius: 9999px; | |
| display: flex; align-items: center; justify-content: center; | |
| font-size: 20px; | |
| background: var(--surface-cream-strong); | |
| flex-shrink: 0; | |
| } | |
| .icon-circle.teal { background: rgba(93,184,166,.15); } | |
| .icon-circle.coral { background: rgba(204,120,92,.12); } | |
| .icon-circle.amber { background: rgba(232,165,90,.12); } | |
| .icon-circle.dark { background: var(--surface-dark-elevated); } | |
| /* ================================================================ | |
| Table | |
| ================================================================ */ | |
| .design-table { | |
| width: 100%; | |
| border-collapse: collapse; | |
| font-size: 13px; | |
| border-radius: 12px; | |
| overflow: hidden; | |
| } | |
| .design-table thead th { | |
| background: var(--surface-card); | |
| color: var(--ink); | |
| font-weight: 700; | |
| font-size: 12px; | |
| letter-spacing: 0.5px; | |
| padding: 10px 14px; | |
| text-align: left; | |
| border-bottom: 2px solid var(--hairline); | |
| } | |
| .design-table tbody td { | |
| padding: 9px 14px; | |
| color: var(--body); | |
| border-bottom: 1px solid var(--hairline-soft); | |
| vertical-align: top; | |
| line-height: 1.45; | |
| } | |
| .design-table tbody tr:last-child td { border-bottom: none; } | |
| .design-table tbody tr:nth-child(odd) td { background: rgba(239,233,222,.35); } | |
| .col-head { | |
| font-weight: 700; color: var(--ink); | |
| font-size: 13px; | |
| } | |
| /* ================================================================ | |
| Timeline | |
| ================================================================ */ | |
| .timeline { | |
| display: flex; | |
| align-items: flex-start; | |
| gap: 0; | |
| position: relative; | |
| padding: 20px 0; | |
| } | |
| .timeline::before { | |
| content: ''; | |
| position: absolute; | |
| top: 34px; left: 40px; right: 40px; | |
| height: 2px; | |
| background: var(--hairline); | |
| } | |
| .tl-item { | |
| flex: 1; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| gap: 10px; | |
| padding: 0 8px; | |
| position: relative; | |
| } | |
| .tl-dot { | |
| width: 14px; height: 14px; | |
| border-radius: 9999px; | |
| background: var(--primary); | |
| border: 3px solid var(--canvas); | |
| box-shadow: 0 0 0 2px var(--primary); | |
| flex-shrink: 0; | |
| z-index: 1; | |
| } | |
| .tl-dot.amber { background: var(--accent-amber); box-shadow: 0 0 0 2px var(--accent-amber); } | |
| .tl-dot.teal { background: var(--accent-teal); box-shadow: 0 0 0 2px var(--accent-teal); } | |
| .tl-dot.ink { background: var(--ink); box-shadow: 0 0 0 2px var(--ink); } | |
| .tl-year { | |
| font-family: var(--font-display); | |
| font-size: 15px; font-weight: 600; | |
| color: var(--ink); | |
| letter-spacing: -0.2px; | |
| } | |
| .tl-label { | |
| font-size: 12px; color: var(--muted); | |
| text-align: center; | |
| line-height: 1.4; | |
| } | |
| .tl-you { | |
| font-size: 12px; font-weight: 700; | |
| color: var(--primary); | |
| text-align: center; | |
| } | |
| /* ================================================================ | |
| Architecture Layers (P9) | |
| ================================================================ */ | |
| .arch-layer { | |
| display: flex; | |
| align-items: center; | |
| gap: 16px; | |
| padding: 12px 20px; | |
| border-radius: 10px; | |
| border-left: 4px solid transparent; | |
| } | |
| .arch-layer .layer-icon { | |
| font-size: 22px; | |
| width: 36px; | |
| text-align: center; | |
| flex-shrink: 0; | |
| } | |
| .arch-layer .layer-name { | |
| font-family: var(--font-body); | |
| font-size: 13px; font-weight: 700; | |
| letter-spacing: 0.8px; | |
| text-transform: uppercase; | |
| width: 80px; | |
| flex-shrink: 0; | |
| color: var(--on-dark-soft); | |
| } | |
| .arch-layer .layer-title { | |
| font-size: 15px; font-weight: 700; | |
| color: var(--on-dark); | |
| flex-shrink: 0; | |
| width: 260px; | |
| } | |
| .arch-layer .layer-desc { | |
| font-size: 13px; | |
| color: var(--on-dark-soft); | |
| line-height: 1.5; | |
| } | |
| /* ================================================================ | |
| Flowchart | |
| ================================================================ */ | |
| .flow-node { | |
| background: var(--surface-card); | |
| border: 2px solid var(--hairline); | |
| border-radius: 10px; | |
| padding: 12px 20px; | |
| text-align: center; | |
| font-size: 14px; | |
| font-weight: 700; | |
| color: var(--ink); | |
| } | |
| .flow-node.coral { | |
| background: var(--primary); | |
| border-color: var(--primary); | |
| color: var(--on-primary); | |
| } | |
| .flow-node.dark { | |
| background: var(--surface-dark); | |
| border-color: var(--surface-dark); | |
| color: var(--on-dark); | |
| } | |
| .flow-node.diamond { | |
| transform: rotate(45deg); | |
| width: 100px; height: 100px; | |
| display: flex; align-items: center; justify-content: center; | |
| } | |
| .flow-node.diamond span { transform: rotate(-45deg); font-size: 12px; display: block; } | |
| .flow-arrow { | |
| font-size: 20px; | |
| color: var(--primary); | |
| font-weight: 900; | |
| text-align: center; | |
| } | |
| /* ================================================================ | |
| Spectrum Diagram (P3) | |
| ================================================================ */ | |
| .spectrum-bar { | |
| height: 8px; | |
| border-radius: 9999px; | |
| background: linear-gradient(to right, var(--accent-amber), var(--primary), var(--ink)); | |
| position: relative; | |
| } | |
| /* ================================================================ | |
| Check / Cross marks | |
| ================================================================ */ | |
| .check { color: var(--success); font-weight: 700; } | |
| .cross { color: var(--muted-soft); } | |
| /* ================================================================ | |
| Button | |
| ================================================================ */ | |
| .btn-cream { | |
| display: inline-block; | |
| background: var(--canvas); | |
| color: var(--ink); | |
| padding: 11px 22px; | |
| border-radius: 8px; | |
| font-size: 14px; font-weight: 700; | |
| text-decoration: none; | |
| align-self: flex-start; | |
| } | |
| .btn-coral { | |
| display: inline-block; | |
| background: var(--primary); | |
| color: var(--on-primary); | |
| padding: 11px 22px; | |
| border-radius: 8px; | |
| font-size: 14px; font-weight: 700; | |
| text-decoration: none; | |
| align-self: flex-start; | |
| } | |
| /* ================================================================ | |
| Divider line | |
| ================================================================ */ | |
| hr.divider { | |
| border: none; | |
| border-top: 1px solid var(--hairline); | |
| margin: 4px 0; | |
| } | |
| /* ================================================================ | |
| Link badge | |
| ================================================================ */ | |
| .link-badge { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 5px; | |
| font-size: 11px; | |
| font-weight: 600; | |
| color: var(--primary); | |
| background: rgba(204,120,92,.08); | |
| padding: 3px 10px; | |
| border-radius: 9999px; | |
| text-decoration: none; | |
| border: 1px solid rgba(204,120,92,.2); | |
| } | |
| /* ================================================================ | |
| Placeholder tile | |
| ================================================================ */ | |
| .placeholder-tile { | |
| background: transparent; | |
| border: 2px dashed var(--hairline); | |
| border-radius: 12px; | |
| padding: 28px; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 8px; | |
| color: var(--muted-soft); | |
| font-size: 13px; | |
| } | |
| html, body { margin:0; padding:0; width:1280px; height:720px; overflow:hidden; background:#faf9f5; } | |
| .slide { border-radius:0 ; box-shadow:none ; } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="slide" id="slide-4"> | |
| <div class="slide-header"> | |
| <div class="brand-logo"><div class="brand-icon"></div>731ai 分享</div> | |
| <div class="slide-tag">01 · 三方比較表</div> | |
| </div> | |
| <div class="content-area" style="gap:14px;"> | |
| <h2 class="display-md">App / IDE / CLI 比較</h2> | |
| <table class="design-table"> | |
| <thead> | |
| <tr> | |
| <th style="width:14%;">面向</th> | |
| <th style="width:28%; color:var(--accent-amber);">🟠 App 端</th> | |
| <th style="width:30%; color:var(--primary);">🔴 IDE 端</th> | |
| <th style="width:28%; color:var(--ink);">⚫ CLI 端</th> | |
| </tr> | |
| </thead> | |
| <tbody> | |
| <tr> | |
| <td class="col-head">定位</td> | |
| <td>對話式、即開即用</td> | |
| <td>嵌入編輯器、伴隨開發</td> | |
| <td>腳本化、無介面常駐</td> | |
| </tr> | |
| <tr> | |
| <td class="col-head">代表工具</td> | |
| <td>ChatGPT App、Claude App、OpenClaw 聊天平台整合(LINE / Discord / Telegram)</td> | |
| <td>Antigravity、Cursor、Windsurf、VS Code + Copilot</td> | |
| <td>Claude Code CLI、Gemini CLI、OpenClaw Gateway(VPS / 樹莓派自架)</td> | |
| </tr> | |
| <tr> | |
| <td class="col-head">使用情境</td> | |
| <td>日常提問、行動場景、非技術使用者</td> | |
| <td>寫程式、除錯、跨檔案重構</td> | |
| <td>自動化流程、CI/CD、24 小時背景任務</td> | |
| </tr> | |
| <tr> | |
| <td class="col-head">優點</td> | |
| <td>門檻低、跨裝置、免設定</td> | |
| <td>直讀專案上下文、可視化 Diff</td> | |
| <td>可編排、資源佔用低、易部署雲端</td> | |
| </tr> | |
| <tr> | |
| <td class="col-head">限制</td> | |
| <td>客製化與工具串接有限</td> | |
| <td>需安裝環境、學習曲線較高</td> | |
| <td>無圖形介面、對新手不友善</td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| <div class="slide-footer"> | |
| <div>731ai 學習分享 · AI Agent 工具全解析</div> | |
| <div>P4 / 16 · 三方比較表</div> | |
| </div> | |
| </div> | |
| </body> | |
| </html> |