From 81b3fb31954036afa0f05dc4ae93fe09aff94eac Mon Sep 17 00:00:00 2001 From: 666ghj <670939375@qq.com> Date: Wed, 10 Dec 2025 16:11:16 +0800 Subject: [PATCH] Revamp homepage content and styling - Updated the navigation bar to include a link to the project's GitHub page, enhancing accessibility. - Redesigned the hero section with a new title and description, emphasizing the capabilities of MiroFish. - Improved text styling and layout for better readability and visual appeal, including adjustments to font sizes and weights. - Added new CSS classes for enhanced styling of elements, including highlights and animations, to create a more engaging user experience. --- frontend/src/views/Home.vue | 136 ++++++++++++++++++++++++++---------- 1 file changed, 100 insertions(+), 36 deletions(-) diff --git a/frontend/src/views/Home.vue b/frontend/src/views/Home.vue index 7685bdf..ba7ee0f 100644 --- a/frontend/src/views/Home.vue +++ b/frontend/src/views/Home.vue @@ -4,10 +4,9 @@ @@ -16,19 +15,24 @@
- #1 预测引擎 - / V3.0-预览版 + 简洁通用的群体智能引擎 + / V1.0-预览版

- 预测性智能
- 基础设施 + 上传任意报告
+ 即刻推演未来

-

- 在任意文档结构上部署预测模型。MiroFish 提供即时分析、风险模拟和未来场景生成,为高风险决策提供支持。 -

- +
+

+ 即使只有一段文字,MiroFish 也能基于其中的现实种子,全自动生成与之对应的至多百万级Agent构成的平行世界。通过上帝视角注入变量,在复杂的群体交互中寻找动态环境下的“局部最优解”。 +

+

+ 让未来在 Agent 群中预演,让决策在百战后胜出_ +

+
+
@@ -336,27 +340,27 @@ const startSimulation = async () => { .nav-links { display: flex; - gap: 30px; align-items: center; } -.nav-links a { - color: #888; - text-decoration: none; - font-family: var(--font-mono); /* 导航链接也使用代码字体,增加科技感 */ - font-size: 0.85rem; - font-weight: 500; -} - -.nav-links a:hover { +.github-link { color: var(--white); + text-decoration: none; + font-family: var(--font-mono); + font-size: 0.9rem; + font-weight: 500; + display: flex; + align-items: center; + gap: 8px; + transition: opacity 0.2s; } -.login-btn { - background: var(--white); - color: var(--black) !important; - padding: 6px 16px; - font-weight: 700 !important; +.github-link:hover { + opacity: 0.8; +} + +.arrow { + font-family: sans-serif; } /* 主要内容区 */ @@ -391,28 +395,88 @@ const startSimulation = async () => { .orange-tag { background: var(--orange); color: var(--white); - padding: 4px 8px; + padding: 4px 10px; font-weight: 700; + letter-spacing: 1px; + font-size: 0.75rem; } .version-text { color: #999; + font-weight: 500; + letter-spacing: 0.5px; } .main-title { font-size: 4.5rem; - line-height: 1.1; - font-weight: 700; - margin: 0 0 30px 0; - letter-spacing: -1.5px; + line-height: 1.2; + font-weight: 800; + margin: 0 0 40px 0; + letter-spacing: -2px; + color: var(--black); +} + +.gradient-text { + background: linear-gradient(90deg, #000000 0%, #444444 100%); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + display: inline-block; } .hero-desc { - font-size: 1.1rem; - line-height: 1.6; + font-size: 1.05rem; + line-height: 1.8; color: var(--gray-text); - max-width: 600px; - margin-bottom: 40px; + max-width: 640px; + margin-bottom: 50px; + font-weight: 400; + text-align: justify; +} + +.hero-desc p { + margin-bottom: 1.5rem; +} + +.highlight-bold { + color: var(--black); + font-weight: 700; +} + +.highlight-orange { + color: var(--orange); + font-weight: 700; + font-family: var(--font-mono); +} + +.highlight-code { + background: rgba(0, 0, 0, 0.05); + padding: 2px 6px; + border-radius: 2px; + font-family: var(--font-mono); + font-size: 0.9em; + color: var(--black); + font-weight: 600; +} + +.slogan-text { + font-size: 1.2rem; + font-weight: 700; + color: var(--black); + letter-spacing: 1px; + border-left: 3px solid var(--orange); + padding-left: 15px; + margin-top: 20px; +} + +.blinking-cursor { + color: var(--orange); + animation: blink 1s step-end infinite; + font-weight: 700; +} + +@keyframes blink { + 0%, 100% { opacity: 1; } + 50% { opacity: 0; } } .decoration-square {