interactive-multi-web / index.html
u11310019's picture
Upload folder using huggingface_hub
3c778ff verified
Raw History Blame Contribute Delete
6.13 kB
<!DOCTYPE html>
<html lang="zh-TW">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>極致體驗網頁展示中心 - Apple | Spotify | Discord</title>
<meta name="description" content="整合 Apple、Spotify 與 Discord 三大頂級設計系統之展示平台,提供動態 Pill 滑動頁籤與左右全螢幕無縫切換體驗。">
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+TC:wght@400;500;700&display=swap" rel="stylesheet">
</head>
<body>
<!-- 主視圖容器 (Iframe 載入層) -->
<main class="view-container">
<div class="iframe-wrapper active" id="view-0">
<iframe src="731aimd/index.html" title="Apple 展示頁面" loading="eager"></iframe>
</div>
<div class="iframe-wrapper" id="view-1">
<iframe src="731aimd2/index.html" title="Spotify 展示頁面" loading="lazy"></iframe>
</div>
<div class="iframe-wrapper" id="view-2">
<iframe src="731aimd3/index.html" title="Discord 展示頁面" loading="lazy"></iframe>
</div>
</main>
<!-- 可拖動式懸浮控制列與切換按鈕 -->
<nav class="floating-controls" id="floatingControls" aria-label="網頁主題切換導覽">
<div class="controls-card">
<!-- 拖動手把 (Grip Handle) -->
<div class="drag-handle" id="dragHandle" title="按住可任意拖動位置" aria-label="拖動導覽列">
<svg viewBox="0 0 24 24" width="14" height="14" fill="currentColor">
<circle cx="8.5" cy="5.5" r="1.5"/>
<circle cx="15.5" cy="5.5" r="1.5"/>
<circle cx="8.5" cy="12" r="1.5"/>
<circle cx="15.5" cy="12" r="1.5"/>
<circle cx="8.5" cy="18.5" r="1.5"/>
<circle cx="15.5" cy="18.5" r="1.5"/>
</svg>
</div>
<!-- 品牌標籤 / 狀態指示器 -->
<div class="brand-tag">
<span class="status-dot"></span>
<span class="page-indicator" id="pageIndicator">1 / 3</span>
</div>
<!-- 主題切換頁籤 (含 Pill 動態底色板) -->
<div class="tab-group" id="tabGroup">
<div class="pill" id="pill"></div>
<button class="tab-btn active" data-index="0" id="tab-0">
<svg class="tab-icon" viewBox="0 0 24 24" width="16" height="16" fill="currentColor">
<path d="M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.81-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M15.97 4.03c.66-.8 1.11-1.92.99-3.03-.96.04-2.12.64-2.8 1.44-.61.71-1.14 1.86-1 2.96 1.08.08 2.16-.57 2.81-1.37z"/>
</svg>
<span>Apple 簡約</span>
</button>
<button class="tab-btn" data-index="1" id="tab-1">
<svg class="tab-icon" viewBox="0 0 24 24" width="16" height="16" fill="currentColor">
<path d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zm5.521 17.34c-.24.359-.66.48-1.021.24-2.82-1.74-6.36-2.101-10.561-1.141-.418.122-.779-.179-.899-.539-.12-.421.18-.78.54-.9 4.56-1.021 8.52-.6 11.64 1.32.42.18.479.659.301 1.02zm1.44-3.3c-.301.42-.841.6-1.262.3-3.239-1.98-8.159-2.58-11.939-1.38-.479.12-1.02-.12-1.14-.6-.12-.48.12-1.021.6-1.141 C9.6 9.9 15 10.561 18.72 12.84c.361.181.54.78.241 1.2zm.12-3.36C15.24 8.4 8.82 8.16 5.16 9.301c-.6.18-1.2-.18-1.38-.72-.18-.6.18-1.2.72-1.38 4.26-1.26 11.28-1.02 15.72 1.62.54.3.72 1.02.42 1.56-.3.42-1.02.6-1.56.3z"/>
</svg>
<span>Spotify 音樂</span>
</button>
<button class="tab-btn" data-index="2" id="tab-2">
<svg class="tab-icon" viewBox="0 0 24 24" width="16" height="16" fill="currentColor">
<path d="M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028 14.09 14.09 0 0 0 1.226-1.994.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128c.126-.093.252-.19.372-.287a.075.075 0 0 1 .078-.01c3.927 1.793 8.18 1.793 12.061 0a.074.074 0 0 1 .079.009c.12.098.245.195.372.288a.077.077 0 0 1-.006.128 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.028zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418z"/>
</svg>
<span>Discord 社群</span>
</button>
</div>
<!-- 最右側:左右切換按鈕 (Prev / Next) -->
<div class="nav-arrows">
<button class="arrow-btn" id="prevBtn" aria-label="上一頁" title="切換至上一頁 (←)">
<svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round">
<polyline points="15 18 9 12 15 6"></polyline>
</svg>
</button>
<button class="arrow-btn" id="nextBtn" aria-label="下一頁" title="切換至下一頁 (→)">
<svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round">
<polyline points="9 18 15 12 9 6"></polyline>
</svg>
</button>
</div>
</div>
</nav>
<script src="app.js"></script>
</body>
</html>