aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-08-16 07:55:08 +0800
committer魏曹先生 <1992414357@qq.com>2026-08-16 07:55:08 +0800
commit95bfb6d4996fba34f60e9dd3d83a692e8a590198 (patch)
treea5f35b724b9a049d2343b949b485fdcb25a588d4
parentf0fd099a3144e963f8aa0ef1f07095f5ce5c9c80 (diff)
style: update CTA banner visuals and simplify footer links
-rw-r--r--index.html43
1 files changed, 14 insertions, 29 deletions
diff --git a/index.html b/index.html
index b797595..3f784cf 100644
--- a/index.html
+++ b/index.html
@@ -788,6 +788,11 @@
margin-bottom: 0.75rem;
}
+ .cta-banner h2 .star {
+ color: #c43931;
+ margin-right: 0.5rem;
+ }
+
.cta-banner p {
color: #9a8a7a;
margin-bottom: 1.5rem;
@@ -816,8 +821,8 @@
.feature-carousel {
position: relative;
- max-width: 540px;
- margin: 2.5rem auto 0;
+ max-width: 600px;
+ margin: 1.25rem auto 0;
display: flex;
align-items: center;
gap: 1rem;
@@ -1255,7 +1260,7 @@ pub fn complete_hello(ctx: &amp;ShellContext) -&gt; Suggest {
<!-- CTA Banner -->
<section class="cta-banner">
- <h2>Ready to command your CLI?</h2>
+ <h2><span class="star">✦</span> Ready to command your CLI?</h2>
<p>You can choose a way to install</p>
<div class="feature-carousel">
@@ -1824,11 +1829,7 @@ mling proj-init</code></pre>
<footer>
<div class="footer-links">
<p>
- <a
- href="https://mingling-rs.github.io/mingling/dist"
- target="_blank"
- >Mingling CLI</a
- >
+ <a href="dist" target="_blank">Mingling CLI</a>
</p>
<p>
<a
@@ -1856,16 +1857,10 @@ mling proj-init</code></pre>
</p>
<p><a href="docs/examples.html">Examples</a></p>
<p>
- <a
- href="https://mingling-rs.github.io/mingling/docs/doc.html#/"
- target="_blank"
- >Help Doc</a
- >
+ <a href="docs/doc.html#/" target="_blank">Help Doc</a>
</p>
<p>
- <a
- href="https://mingling-rs.github.io/mingling/docs/_zh_CN/index.html#/"
- target="_blank"
+ <a href="docs/_zh_CN/index.html#/" target="_blank"
>帮助文档</a
>
</p>
@@ -1877,25 +1872,15 @@ mling proj-init</code></pre>
>
</p>
<p>
- <a
- href="https://mingling-rs.github.io/mingling/docs/api-docs/mingling/"
- target="_blank"
+ <a href="docs/api-docs/mingling/" target="_blank"
>API Doc (latest)</a
>
</p>
<p>
- <a
- href="https://mingling-rs.github.io/mingling/docs/dev/"
- target="_blank"
- >Dev Doc</a
- >
+ <a href="docs/dev/" target="_blank">Dev Doc</a>
</p>
<p>
- <a
- href="https://mingling-rs.github.io/mingling/docs/cov-test/"
- target="_blank"
- >Coverage Test</a
- >
+ <a href="docs/cov-test/" target="_blank">Coverage Test</a>
</p>
</div>
<p>