Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 11 additions & 14 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,20 +133,17 @@ title: C/C++ Linting
</div>
</div>

<!-- <div class="stats-grid">
<div class="stat">
<strong>1,000+</strong>
<span>GitHub Users</span>
</div>
<div class="stat">
<strong>20K+</strong>
<span>Downloads/Month</span>
</div>
<div class="stat">
<strong>50+</strong>
<span>Contributors</span>
</div>
</div> -->
<div class="project-stats">
<a href="https://pypi.org/project/cpp-linter/" target="_blank" rel="noopener">
<img src="https://img.shields.io/pypi/dm/cpp-linter?style=for-the-badge&logo=pypi&logoColor=white&label=PyPI%20downloads&color=3f51b5" alt="cpp-linter downloads per month on PyPI" loading="lazy" decoding="async">
</a>
<a href="https://github.com/cpp-linter/cpp-linter-action" target="_blank" rel="noopener">
<img src="https://img.shields.io/github/stars/cpp-linter/cpp-linter-action?style=for-the-badge&logo=github&logoColor=white&label=Action%20stars&color=3f51b5" alt="GitHub stars for cpp-linter-action" loading="lazy" decoding="async">
</a>
<a href="https://github.com/cpp-linter/cpp-linter/graphs/contributors" target="_blank" rel="noopener">
Comment thread
shenxianpeng marked this conversation as resolved.
Resolved
<img src="https://img.shields.io/github/contributors/cpp-linter/cpp-linter?style=for-the-badge&logo=github&logoColor=white&label=Contributors&color=3f51b5" alt="Contributors to cpp-linter" loading="lazy" decoding="async">
Comment thread
shenxianpeng marked this conversation as resolved.
Resolved
</a>
</div>

</div>

Expand Down
20 changes: 20 additions & 0 deletions docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,26 @@ th {
color: var(--md-default-fg-color--light);
}

/* Live project stats (real shields.io badges, not hard-coded numbers) */
.project-stats {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
gap: 1rem;
margin-top: 1rem;
}

.project-stats a {
display: inline-flex;
line-height: 0;
}

.project-stats img {
height: 38px;
width: auto;
}

/* Mobile responsiveness for trusted by section */
@media screen and (max-width: 768px) {
.logo-grid {
Expand Down