-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
116 lines (109 loc) · 6.18 KB
/
Copy pathindex.html
File metadata and controls
116 lines (109 loc) · 6.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<!DOCTYPE html>
<html lang="zh-TW">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GitHub 熱門開源專案時間線 - 繁中精選</title>
<!-- SVG Emoji Favicon -->
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🚀</text></svg>">
<!-- Google Fonts: Outfit (English headings) & Noto Sans TC (Traditional Chinese body) -->
<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=Noto+Sans+TC:wght@300;400;500;700&family=Outfit:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<!-- Link Stylesheet -->
<link rel="stylesheet" href="/src/css/style.css">
</head>
<body>
<!-- Decorative background elements -->
<div class="bg-glow bg-glow-1"></div>
<div class="bg-glow bg-glow-2"></div>
<div class="container">
<header class="app-header">
<div class="header-top">
<div class="logo-area">
<svg class="github-icon animate-pulse" viewBox="0 0 16 16" version="1.1" width="32" height="32" aria-hidden="true">
<path fill="currentColor" d="M8 0c4.42 0 8 3.58 8 8a8.013 8.013 0 0 1-5.45 7.59c-.4.08-.55-.17-.55-.38 0-.27.01-1.13.01-2.2 0-.75-.25-1.23-.54-1.48 1.78-.2 3.65-.88 3.65-3.95 0-.88-.31-1.59-.82-2.15.08-.2.36-1.02-.08-2.12 0 0-.67-.22-2.2.82-.64-.18-1.32-.27-2-.27-.68 0-1.36.09-2 .27-1.53-1.03-2.2-.82-2.2-.82-.44 1.1-.16 1.92-.08 2.12-.51.56-.82 1.28-.82 2.15 0 3.06 1.86 3.75 3.64 3.95-.23.2-.44.55-.51 1.07-.46.21-1.61.55-2.33-.66-.15-.24-.6-.83-1.23-.82-.67.01-.27.38.01.53.34.19.73.9.82 1.13.16.45.68 1.35 3.12.88.01.47.01.84.01.93 0 .22-.15.47-.55.38A7.995 7.995 0 0 1 0 8c0-4.42 3.58-8 8-8Z"></path>
</svg>
<span class="logo-text">GitTrend</span>
</div>
<div class="header-controls">
<div class="lang-select-wrapper">
<select id="lang-select" aria-label="切換語言" class="lang-select">
<option value="zh-TW">繁體中文</option>
<option value="zh-CN">简体中文</option>
<option value="en">English</option>
<option value="ja">日本語</option>
<option value="ko">한국어</option>
<option value="fr">Français</option>
<option value="de">Deutsch</option>
</select>
</div>
<button id="theme-toggle" class="theme-toggle-btn" aria-label="切換深淺色主題" title="切換深淺色主題" data-i18n-attr="title:theme-toggle-title|aria-label:theme-toggle-title">
<svg class="theme-icon sun-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="12" cy="12" r="5"></circle>
<line x1="12" y1="1" x2="12" y2="3"></line>
<line x1="12" y1="21" x2="12" y2="23"></line>
<line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line>
<line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line>
<line x1="1" y1="12" x2="3" y2="12"></line>
<line x1="21" y1="12" x2="23" y2="12"></line>
<line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line>
<line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line>
</svg>
<svg class="theme-icon moon-icon hidden" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path>
</svg>
</button>
</div>
</div>
<h1 data-i18n="title">GitHub 熱門開源專案時間線</h1>
<p class="subtitle" data-i18n="subtitle">每週六定期更新,使用 AI 繁體中文深度精煉,發掘最近崛起的最強開源能量</p>
<!-- Last updated badge -->
<div id="last-updated" class="last-updated-badge">
載入中...
</div>
</header>
<!-- Navigation Tabs -->
<nav class="tab-navigation">
<button class="tab-btn active" data-period="week" id="tab-week">
<span class="tab-btn-title" data-i18n="tab-week-title">最近一週</span>
<span class="tab-btn-sub" data-i18n="tab-week-sub">New Stars</span>
</button>
<button class="tab-btn" data-period="month" id="tab-month">
<span class="tab-btn-title" data-i18n="tab-month-title">最近一個月</span>
<span class="tab-btn-sub" data-i18n="tab-month-sub">Monthly Popular</span>
</button>
<button class="tab-btn" data-period="three_months" id="tab-three-months">
<span class="tab-btn-title" data-i18n="tab-three-months-title">最近三個月</span>
<span class="tab-btn-sub" data-i18n="tab-three-months-sub">Quarterly Top</span>
</button>
<button class="tab-btn" data-period="year" id="tab-year">
<span class="tab-btn-title" data-i18n="tab-year-title">最近一年</span>
<span class="tab-btn-sub" data-i18n="tab-year-sub">Annual Top</span>
</button>
<button class="tab-btn" data-period="audio_video" id="tab-audio-video">
<span class="tab-btn-title" data-i18n="tab-audio-video-title">影音與聲音 AI</span>
<span class="tab-btn-sub" data-i18n="tab-audio-video-sub">Audio & Video AI</span>
</button>
</nav>
<!-- Main Content Grid -->
<main>
<!-- Loading Indicator -->
<div id="loading" class="loading-container">
<div class="spinner"></div>
<p data-i18n="loading-text">正在拉取最新開源數據與 AI 翻譯內容...</p>
</div>
<!-- Project Cards List -->
<div id="projects-grid" class="projects-grid hidden">
<!-- Rendered dynamically via JavaScript -->
</div>
</main>
<!-- Footer -->
<footer class="app-footer">
<p>© 2026 <a href="https://github.com/begin0808" target="_blank" rel="noopener noreferrer">Studio0808 智造實驗室</a>. All rights reserved.</p>
</footer>
</div>
<!-- Main JavaScript File -->
<script type="module" src="/src/js/main.js"></script>
</body>
</html>