Skip to content

Commit d1eb500

Browse files
committed
feat: make playbook-entry headline clickable (block-level a → /playbook/)
1 parent 6ddd56d commit d1eb500

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

_layouts/home.html

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,10 @@
134134
/* Playbook entry */
135135
.playbook-entry { padding: 56px 24px 24px; background: var(--canvas-soft, #fafafa); }
136136
.playbook-entry-inner { max-width: 1100px; margin: 0 auto; }
137+
.playbook-headline{display:block;text-decoration:none;color:inherit;transition:opacity .15s ease}
138+
.playbook-headline:hover{opacity:.86}
139+
.playbook-headline:hover .playbook-headline-arrow{transform:translateX(4px)}
140+
.playbook-headline-arrow{display:inline-block;transition:transform .2s ease;color:var(--link)}
137141
.playbook-entry h2 { text-align: center; font-size: 28px; font-weight: 600; letter-spacing: -1px; margin: 0 0 10px; }
138142
.playbook-entry .section-sub { text-align: center; font-size: 14px; color: var(--body); margin: 0 0 32px; line-height: 1.6; }
139143
.playbook-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 28px; }
@@ -240,8 +244,10 @@ <h3>运行一个 Skill</h3>
240244

241245
<section class="playbook-entry">
242246
<div class="playbook-entry-inner">
243-
<h2>不知道从哪开始?按岗位找你的能力样板</h2>
244-
<p class="section-sub">8 个岗位,每个都有「想清楚 &rarr; 动手做 &rarr; 检查对不对」的完整回路 + 30 分钟最小流程,复制即用。</p>
247+
<a class="playbook-headline" href="/playbook/">
248+
<h2>不知道从哪开始?按岗位找你的能力样板 <span class="playbook-headline-arrow">&rarr;</span></h2>
249+
<p class="section-sub">8 个岗位,每个都有「想清楚 &rarr; 动手做 &rarr; 检查对不对」的完整回路 + 30 分钟最小流程,复制即用。</p>
250+
</a>
245251
<div class="playbook-grid">
246252
<a class="pb-card" href="/playbook/#kw"><span class="pb-emoji">📚</span><h3>知识工作者</h3><p>写报告 &middot; 做调研 &middot; 整理资料</p></a>
247253
<a class="pb-card" href="/playbook/#dz"><span class="pb-emoji">🎨</span><h3>设计师</h3><p>出图 &middot; 出视频 &middot; 做海报</p></a>

0 commit comments

Comments
 (0)