fix:提交修改
This commit is contained in:
+19
-9
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user