interactive-multi-web / 731ai /_tmp_slide_5.html
u11310019's picture
Upload folder using huggingface_hub
3c778ff verified
Raw History Blame Contribute Delete
23.1 kB
<!DOCTYPE html>
<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 !important;
height: 720px !important;
border-radius: 0 !important;
box-shadow: none !important;
page-break-after: always;
break-after: page;
page-break-inside: avoid;
break-inside: avoid;
margin: 0 !important;
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) !important; color: var(--on-primary) !important; }
.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 !important; box-shadow:none !important; }
</style>
</head>
<body>
<div class="slide" id="slide-5">
<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="flex-direction:row; gap:48px; align-items:center;">
<div style="flex:0 0 260px; display:flex; flex-direction:column; gap:12px;">
<h2 class="display-md">我該用<br>哪一種?</h2>
<p class="body-md" style="font-size:15px;">依你的任務類型往右走,找到最適合的 AI 進入方式。</p>
<div style="margin-top:16px; padding:16px; background:rgba(204,120,92,.08); border-radius:10px; border:1px solid rgba(204,120,92,.2);">
<div class="title-sm" style="color:var(--primary);">💡 小提示</div>
<div class="body-sm" style="margin-top:6px;">OpenClaw 同時支援三種模式,可根據情境自由切換。</div>
</div>
</div>
<!-- 流程圖主體 SVG -->
<div style="flex:1; display:flex; justify-content:center;">
<svg width="800" height="420" viewBox="0 0 800 420" fill="none" xmlns="http://www.w3.org/2000/svg" font-family="Noto Sans TC, Inter, sans-serif">
<!-- Start node -->
<rect x="300" y="10" width="200" height="44" rx="8" fill="#efe9de" stroke="#e6dfd8" stroke-width="2"/>
<text x="400" y="37" text-anchor="middle" fill="#141413" font-size="14" font-weight="700">任務是什麼類型?</text>
<!-- Arrow down -->
<line x1="400" y1="54" x2="400" y2="90" stroke="#cc785c" stroke-width="2" marker-end="url(#tri)"/>
<!-- Diamond -->
<rect x="340" y="90" width="120" height="64" rx="8" fill="#faf9f5" stroke="#cc785c" stroke-width="2.5" transform="rotate(45 400 122)"/>
<text x="400" y="116" text-anchor="middle" fill="#141413" font-size="12" font-weight="700">快速</text>
<text x="400" y="132" text-anchor="middle" fill="#141413" font-size="12" font-weight="700">問答?</text>
<!-- Yes → App -->
<line x1="355" y1="122" x2="120" y2="122" stroke="#cc785c" stroke-width="2"/>
<line x1="120" y1="122" x2="120" y2="210" stroke="#cc785c" stroke-width="2" marker-end="url(#tri)"/>
<text x="238" y="112" text-anchor="middle" fill="#e8a55a" font-size="12" font-weight="700">是</text>
<!-- No → diamond 2 -->
<line x1="400" y1="168" x2="400" y2="215" stroke="#cc785c" stroke-width="2" marker-end="url(#tri)"/>
<text x="415" y="195" fill="#6c6a64" font-size="12">否</text>
<!-- Diamond 2 -->
<rect x="340" y="215" width="120" height="64" rx="8" fill="#faf9f5" stroke="#cc785c" stroke-width="2.5" transform="rotate(45 400 247)"/>
<text x="400" y="241" text-anchor="middle" fill="#141413" font-size="12" font-weight="700">寫程式</text>
<text x="400" y="257" text-anchor="middle" fill="#141413" font-size="12" font-weight="700">除錯?</text>
<!-- Yes → IDE -->
<line x1="355" y1="247" x2="120" y2="247" stroke="#cc785c" stroke-width="2"/>
<line x1="120" y1="247" x2="120" y2="310" stroke="#cc785c" stroke-width="2" marker-end="url(#tri)"/>
<text x="238" y="237" text-anchor="middle" fill="#e8a55a" font-size="12" font-weight="700">是</text>
<!-- No → CLI -->
<line x1="400" y1="293" x2="400" y2="320" stroke="#cc785c" stroke-width="2"/>
<line x1="400" y1="320" x2="680" y2="320" stroke="#cc785c" stroke-width="2"/>
<line x1="680" y1="320" x2="680" y2="310" stroke="#cc785c" stroke-width="2" marker-end="url(#tri)"/>
<text x="415" y="310" fill="#6c6a64" font-size="12">否 (排程/自動化)</text>
<!-- Result boxes -->
<!-- App -->
<rect x="36" y="210" width="168" height="80" rx="10" fill="#e8a55a" />
<text x="120" y="243" text-anchor="middle" fill="white" font-size="20">🖥️</text>
<text x="120" y="265" text-anchor="middle" fill="white" font-size="14" font-weight="700">App 端</text>
<text x="120" y="281" text-anchor="middle" fill="rgba(255,255,255,.85)" font-size="11">ChatGPT App / Claude App</text>
<!-- IDE -->
<rect x="36" y="310" width="168" height="80" rx="10" fill="#cc785c"/>
<text x="120" y="343" text-anchor="middle" fill="white" font-size="20">💻</text>
<text x="120" y="365" text-anchor="middle" fill="white" font-size="14" font-weight="700">IDE 端</text>
<text x="120" y="381" text-anchor="middle" fill="rgba(255,255,255,.85)" font-size="11">Cursor / Antigravity / VS Code</text>
<!-- CLI -->
<rect x="596" y="270" width="168" height="80" rx="10" fill="#181715"/>
<text x="680" y="303" text-anchor="middle" fill="#faf9f5" font-size="20">⌨️</text>
<text x="680" y="325" text-anchor="middle" fill="#faf9f5" font-size="14" font-weight="700">CLI 端</text>
<text x="680" y="341" text-anchor="middle" fill="#a09d96" font-size="11">Claude Code / OpenClaw GW</text>
<!-- OpenClaw banner -->
<rect x="220" y="385" width="360" height="30" rx="8" fill="rgba(204,120,92,.1)" stroke="rgba(204,120,92,.3)" stroke-width="1.5"/>
<text x="400" y="405" text-anchor="middle" fill="#cc785c" font-size="13" font-weight="700">🦞 OpenClaw 三種入口皆支援 → 銜接 Part 2</text>
<!-- Arrow markers -->
<defs>
<marker id="tri" markerWidth="8" markerHeight="8" refX="6" refY="3" orient="auto">
<path d="M0,0 L0,6 L7,3 z" fill="#cc785c"/>
</marker>
</defs>
</svg>
</div>
</div>
<div class="slide-footer">
<div>731ai 學習分享 · AI Agent 工具全解析</div>
<div>P5 / 16 · 決策流程圖</div>
</div>
</div>
</body>
</html>