fix:提交修改

This commit is contained in:
ljy
2026-08-21 18:53:12 +08:00
parent fa35f17bfb
commit 265c6d700f
36 changed files with 2483 additions and 411 deletions
+19 -9
View File
@@ -44,15 +44,25 @@ export function HomePage() {
<p className="lead">稿</p>
</Reveal>
<div className="module-rail">
{moduleEntries.map((item, index) => (
<Reveal key={item.to} variant="anim-slide-right" delayMs={index * 70}>
<Link to={item.to} className="module-rail-item" style={{ fontSize: `${1.05 + (index % 3) * 0.12}rem` }}>
<span className="module-index">{String(index + 1).padStart(2, '0')}</span>
<strong className="serif">{item.label}</strong>
<span className="module-desc">{item.desc}</span>
</Link>
</Reveal>
))}
<div className="module-rail-track">
{[0, 1].map((copy) => (
<div key={copy} className="module-rail-copy" aria-hidden={copy === 1}>
{moduleEntries.map((item, index) => (
<Link
key={`${copy}-${item.to}`}
to={item.to}
className="module-rail-item"
tabIndex={copy === 1 ? -1 : undefined}
style={{ fontSize: `${1.05 + (index % 3) * 0.12}rem` }}
>
<span className="module-index">{String(index + 1).padStart(2, '0')}</span>
<strong className="serif">{item.label}</strong>
<span className="module-desc">{item.desc}</span>
</Link>
))}
</div>
))}
</div>
</div>
</div>
</section>