Music Creation Page: - Vinyl 3D flip to view lyrics, tonearm animation, glow rotation effect - Circular SVG progress ring, speech bubble feedback, confirm dialog - Playlist modal, free creation input, lyrics formatting optimization - MiniMax API real music generation with SSE streaming progress Backend: - FastAPI proxy server.py for MiniMax API calls - Music + lyrics file persistence to Capybara music/ directory - GET /api/playlist endpoint for auto-building playlist from files UI/UX Refinements: - frontend-design skill compliance across all pages - Glassmorphism effects, modal interactions, scroll tap prevention - iPhone 12 Pro responsive layout (390x844) Flutter Development Preparation: - Installed flutter-expert skill with 6 reference docs - Added 5 Cursor Rules: official Flutter, clean architecture, UI performance, testing, Dart standards Assets: - 9 Capybara music MP3 files + lyrics TXT files - MiniMax API documentation Co-authored-by: Cursor <cursoragent@cursor.com>
57 lines
2.0 KiB
HTML
57 lines
2.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
<title>Airhub</title>
|
|
<meta name="description" content="Airhub - 智能硬件连接中心">
|
|
<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=Outfit:wght@300;400;500;600;700&family=DM+Sans:wght@300;400;500;600;700&family=Press+Start+2P&display=swap"
|
|
rel="stylesheet">
|
|
<link rel="stylesheet" href="styles.css">
|
|
</head>
|
|
|
|
<body>
|
|
<div class="app-container">
|
|
<!-- 动态渐变背景 -->
|
|
<div class="gradient-bg">
|
|
<div class="gradient-layer layer-1"></div>
|
|
<div class="gradient-layer layer-2"></div>
|
|
<div class="gradient-layer layer-3"></div>
|
|
</div>
|
|
|
|
<!-- 首页 -->
|
|
<div class="page home-page active" id="page-home">
|
|
<!-- 顶部 Logo - 像素风格 -->
|
|
<header class="home-header">
|
|
<div class="pixel-logo" id="airhub-logo">
|
|
<span class="pixel-text">Airhub</span>
|
|
<div class="pixel-glow"></div>
|
|
</div>
|
|
</header>
|
|
|
|
<!-- 中心吉祥物 -->
|
|
<main class="home-content">
|
|
<div class="mascot-container">
|
|
<img src="首页吉祥物.png" alt="Airhub Spirit" class="mascot" id="mascot">
|
|
<div class="mascot-glow"></div>
|
|
</div>
|
|
</main>
|
|
|
|
<!-- 底部按钮 -->
|
|
<footer class="home-footer">
|
|
<button class="connect-btn" id="connect-btn" onclick="handleConnect()">
|
|
<span class="btn-text">立即连接</span>
|
|
<span class="btn-shine"></span>
|
|
</button>
|
|
</footer>
|
|
</div>
|
|
</div>
|
|
|
|
<script src="app.js"></script>
|
|
</body>
|
|
|
|
</html> |