|
1 | 1 | // @ai-context |
2 | | -// 下载页:应用窗口 Mockup、下载入口、版本轨迹与开源信息。Download page: app mockup, download CTA, changelog. |
| 2 | +// 下载页:应用窗口 Mockup、下载入口(DownloadCta 服务器直链 + GitHub 备用)、版本轨迹与开源信息。 |
| 3 | +// Download page: app mockup, download CTA (server-hosted with GitHub fallback), changelog. |
3 | 4 | // Why: Mockup 为纯 CSS 风格化示意而非截图,避免版本迭代后截图过期。 |
4 | 5 | "use client"; |
5 | 6 |
|
6 | 7 | import { motion } from "framer-motion"; |
| 8 | +import { DownloadCta } from "@/components/DownloadCta"; |
7 | 9 | import { GlowOrb } from "@/components/GlowOrb"; |
8 | 10 | import { SectionReveal } from "@/components/SectionReveal"; |
9 | 11 |
|
@@ -46,13 +48,6 @@ const CHANGELOG = [ |
46 | 48 | }, |
47 | 49 | ]; |
48 | 50 |
|
49 | | -const SYSTEM_REQ = [ |
50 | | - { label: "操作系统", value: "Windows 10 / 11 (64位)" }, |
51 | | - { label: "处理器", value: "Intel i5 / AMD Ryzen 5 或更高" }, |
52 | | - { label: "内存", value: "8 GB RAM 以上" }, |
53 | | - { label: "存储空间", value: "500 MB 可用空间" }, |
54 | | -]; |
55 | | - |
56 | 51 | /* ---------- 应用窗口 Mockup ---------- */ |
57 | 52 |
|
58 | 53 | function AppMockup() { |
@@ -182,57 +177,10 @@ export default function DownloadPage() { |
182 | 177 | </SectionReveal> |
183 | 178 | </section> |
184 | 179 |
|
185 | | - {/* 下载区 */} |
| 180 | + {/* 下载区(服务器直链 + 动态版本 + GitHub 备用源) */} |
186 | 181 | <section className="max-w-3xl mx-auto px-6 mb-24"> |
187 | 182 | <SectionReveal> |
188 | | - <div |
189 | | - className="rounded-3xl p-10 text-center" |
190 | | - style={{ |
191 | | - background: "var(--kb-bg-elevated)", |
192 | | - border: "1px solid var(--kb-glass-border)", |
193 | | - boxShadow: "var(--kb-shadow-brand)", |
194 | | - }} |
195 | | - > |
196 | | - <div className="flex items-center justify-center gap-3 mb-6"> |
197 | | - <span |
198 | | - className="w-12 h-12 rounded-2xl flex items-center justify-center text-lg font-bold text-white" |
199 | | - style={{ background: "linear-gradient(135deg, var(--kb-brand-400), var(--kb-accent-500))" }} |
200 | | - > |
201 | | - 熵 |
202 | | - </span> |
203 | | - <div className="text-left"> |
204 | | - <h2 className="font-serif text-xl font-bold text-kb-text">熵减 Entropydecrease</h2> |
205 | | - <p className="text-xs text-kb-text3">v0.15.0 正式版 · 2026-07</p> |
206 | | - </div> |
207 | | - </div> |
208 | | - |
209 | | - <a |
210 | | - href="https://github.com/Aparencia/Entropydecrease/releases/latest" |
211 | | - target="_blank" |
212 | | - rel="noopener noreferrer" |
213 | | - className="inline-block px-12 py-4 rounded-2xl text-white font-medium text-lg transition-all duration-500 hover:scale-[1.04] active:scale-[0.97] mb-6" |
214 | | - style={{ |
215 | | - background: "linear-gradient(135deg, var(--kb-amber), var(--kb-accent-400))", |
216 | | - boxShadow: "var(--kb-shadow-accent)", |
217 | | - }} |
218 | | - > |
219 | | - ⬇ 下载 Windows 版 |
220 | | - </a> |
221 | | - |
222 | | - <p className="text-xs text-kb-text3 mb-8"> |
223 | | - 约 120 MB · 适用于 Windows 10/11 (64位) · 免费开源 |
224 | | - </p> |
225 | | - |
226 | | - {/* 系统要求 */} |
227 | | - <div className="grid grid-cols-2 sm:grid-cols-4 gap-4 text-left"> |
228 | | - {SYSTEM_REQ.map((req) => ( |
229 | | - <div key={req.label} className="rounded-xl p-3.5" style={{ background: "var(--kb-bg-tertiary)" }}> |
230 | | - <p className="text-[10px] text-kb-text3 uppercase tracking-wider mb-1">{req.label}</p> |
231 | | - <p className="text-xs text-kb-text2 leading-snug">{req.value}</p> |
232 | | - </div> |
233 | | - ))} |
234 | | - </div> |
235 | | - </div> |
| 183 | + <DownloadCta /> |
236 | 184 | </SectionReveal> |
237 | 185 | </section> |
238 | 186 |
|
|
0 commit comments