Skip to content

Commit 3d4e708

Browse files
committed
Update
1 parent 57a4864 commit 3d4e708

File tree

2 files changed

+4
-16
lines changed

2 files changed

+4
-16
lines changed

src/components/RelatedProducts.astro

+4-9
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,20 @@
11
---
22
---
33

4-
<section class="related-products">
4+
<section class="related-products" id="products">
55
<div class="container">
6-
<h2>我的其他产品</h2>
6+
<h2>其他产品</h2>
77
<div class="products-grid">
88
<a href="https://ulpb.app" class="product-card" target="_blank" rel="noopener">
99
<div class="product-content">
1010
<div class="product-header">
1111
<img src="/image/shuangpin-logo.png" alt="试试双拼 Logo" class="product-logo" />
1212
<h3>试试双拼</h3>
1313
</div>
14-
<p>最好用的双拼练习工具,一周掌握高效输入</p>
15-
<div class="product-meta">
16-
<span class="platform">iOS</span>
17-
<span class="platform">Android</span>
18-
<span class="status">已上线</span>
19-
</div>
14+
<p>投入一周时间,收获终身效率。这项简单实用的技能,值得你现在就开始学习。</p>
2015
</div>
2116
<div class="cta">
22-
<span>立即下载 →</span>
17+
<span>了解更多 →</span>
2318
</div>
2419
</a>
2520
</div>

src/pages/index.astro

-7
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,6 @@ import Reviews from '../components/Reviews.astro';
88
import RelatedProducts from '../components/RelatedProducts.astro';
99
import '../styles/related-products.css';
1010
11-
// 将数据移动到单独的数据文件或保持在这里
12-
const navItems = [
13-
{ href: '#features', text: '特色' },
14-
{ href: '#download', text: '下载' },
15-
{ href: '#about', text: '关于' },
16-
{ href: 'https://github.com/v2er-app', text: 'GitHub' },
17-
];
1811
---
1912

2013
<Layout title="V2er - 优雅的 V2EX 客户端">

0 commit comments

Comments
 (0)