Skip to content

Commit fb85506

Browse files
committed
Home: add GitHub pill + subtle stats strip under hero
GitHub link joins the hero pills alongside Habr. Below the pills, a muted single-line stats strip lists the auditable numbers from the workspace tracker (merged OSS PRs, distinct upstream projects, essays, pet projects) so the page leads with the breadth without leaning on third-party stat badges that age poorly. Numbers are currently hand-written to match the tracker state; a follow-up can auto-render them at build time if maintenance becomes a chore.
1 parent ae06930 commit fb85506

2 files changed

Lines changed: 27 additions & 1 deletion

File tree

_sass/custom/custom.scss

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,25 @@ body {
143143
}
144144
}
145145

146+
// Subtle stats strip below the hero pills. Intentionally muted typography
147+
// so the numbers add context without competing with the section pills above.
148+
.home-hero-stats {
149+
margin-top: 0.4rem;
150+
font-size: 0.85rem;
151+
color: var(--x-muted);
152+
letter-spacing: 0.01em;
153+
}
154+
155+
.home-hero-stats a {
156+
color: var(--x-muted);
157+
border-bottom: 1px dotted currentColor;
158+
text-decoration: none;
159+
}
160+
161+
.home-hero-stats a:hover {
162+
color: var(--x-text);
163+
}
164+
146165
// Force all side-nav sections to render expanded by default.
147166
// Just-the-Docs hides nested .nav-list under non-active parents
148167
// (`.nav-list .nav-list { display: none }`) and only flips the active

index.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,16 @@ CPO in fintech. Shipping AI into banking, ecosystems, documents, and autonomous
1313
<a class="site-pill" href="/oss-contributions/">OSS contributions</a>
1414
<a class="site-pill" href="/pet-projects/">Pet projects</a>
1515
<a class="site-pill" href="/linkedin/">LinkedIn</a>
16-
<a class="site-pill" href="https://habr.com/ru/users/Xronofag/">Habr profile</a>
16+
<a class="site-pill" href="https://github.com/xronocode">GitHub</a>
17+
<a class="site-pill" href="https://habr.com/ru/users/Xronofag/">Habr</a>
1718
</div>
1819

20+
<p class="home-hero-stats">
21+
<a href="/oss-contributions/">7 merged OSS contributions</a> across 4 upstream projects ·
22+
<a href="/blog/">7 essays</a> with Russian mirrors and Habr originals ·
23+
<a href="/pet-projects/">1 pet project</a> shipped
24+
</p>
25+
1926
## Latest from the blog
2027

2128
<div class="article-grid">

0 commit comments

Comments
 (0)