From 37d7c928e9c8a6ba77e394f8d2138068e3a710e5 Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Sun, 28 Sep 2025 20:44:54 +0300 Subject: [PATCH 1/3] docs: add copyright --- mkdocs.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mkdocs.yml b/mkdocs.yml index e637287..a72ec0e 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -3,6 +3,8 @@ site_description: "Documentation for the cpp-linter organization." site_url: "https://cpp-linter.github.io/" repo_url: https://github.com/cpp-linter +copyright: "© 2021-2025, cpp-linter" + nav: - Home: index.md - Getting Started: getting-started.md From aac934329598e00decf574df6bdd069670b773fc Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Sun, 28 Sep 2025 21:05:00 +0300 Subject: [PATCH 2/3] docs: update index.md --- docs/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/index.md b/docs/index.md index 6aa8de4..196a74c 100644 --- a/docs/index.md +++ b/docs/index.md @@ -26,7 +26,7 @@ hide: --- - Open-source and permissively licensed. Bringing contributors together to empower impactful C/C++ lint projects in open source and beyond. + Open-source and MIT-licensed. Bringing contributors together to empower impactful C/C++ lint projects in open source and beyond. - :material-cog: **Zero Configuration** @@ -38,7 +38,7 @@ hide: --- - GitHub Actions, Pre-commit, Command Line, Docker containers – integrate anywhere your code lives. + GitHub Actions, Pre-commit, Command Line, Docker containers and more – integrate anywhere your code lives. From e5c979241f413fe0d6213d6a0cd5dc8dfc0f5a2b Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Sun, 28 Sep 2025 22:30:00 +0300 Subject: [PATCH 3/3] docs: trueted by --- docs/index.md | 58 +++++++++++++++++++++ docs/stylesheets/extra.css | 101 +++++++++++++++++++++++++++++++++++++ 2 files changed, 159 insertions(+) diff --git a/docs/index.md b/docs/index.md index 196a74c..caa8e2a 100644 --- a/docs/index.md +++ b/docs/index.md @@ -46,6 +46,64 @@ hide: +## Trusted by developers worldwide + +
+ +**Join thousands of developers and organizations using cpp-linter in production** + +
+
+ Microsoft + Microsoft +
+
+ Apache + Apache +
+
+ NASA + NASA +
+
+ Samsung + Samsung +
+
+ TheAlgorithms + TheAlgorithms +
+
+ Nextcloud + Nextcloud +
+
+ Jupyter + Jupyter +
+
+ CachyOS + CachyOS +
+
+ + + +
+ ## Quick Start === "GitHub Actions" diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css index ac9b5d5..6d9cb81 100644 --- a/docs/stylesheets/extra.css +++ b/docs/stylesheets/extra.css @@ -83,6 +83,107 @@ th { box-shadow: 0 4px 12px rgba(0,0,0,0.15); } +/* Trusted by section styling */ +.trusted-by { + text-align: center; + padding: 3rem 0; + background: var(--md-default-fg-color--lightest); + margin: 3rem -1.5rem; + border-radius: 1rem; +} + +.trusted-by p { + font-size: 1.1rem; + color: var(--md-default-fg-color--light); + margin-bottom: 2rem; +} + +.logo-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); + gap: 2rem; + margin-bottom: 3rem; + padding: 0 2rem; +} + +.logo-item { + display: flex; + flex-direction: column; + align-items: center; + transition: all 0.3s ease; + padding: 1rem; + border-radius: 0.5rem; +} + +.logo-item:hover { + transform: translateY(-4px); + background: var(--md-default-bg-color); + box-shadow: 0 8px 25px rgba(0,0,0,0.1); +} + +.logo-item img { + width: 60px; + height: 60px; + border-radius: 50%; + margin-bottom: 0.5rem; + filter: grayscale(100%); + transition: filter 0.3s ease; +} + +.logo-item:hover img { + filter: grayscale(0%); +} + +.logo-item span { + font-size: 0.9rem; + font-weight: 500; + color: var(--md-default-fg-color--light); +} + +.stats-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); + gap: 2rem; + padding: 0 2rem; +} + +.stat { + text-align: center; +} + +.stat strong { + display: block; + font-size: 2rem; + font-weight: 700; + color: var(--md-primary-fg-color); + margin-bottom: 0.5rem; +} + +.stat span { + font-size: 0.9rem; + color: var(--md-default-fg-color--light); + text-transform: uppercase; + letter-spacing: 0.5px; +} + +/* Mobile responsiveness for trusted by section */ +@media screen and (max-width: 768px) { + .logo-grid { + grid-template-columns: repeat(2, 1fr); + gap: 1rem; + padding: 0 1rem; + } + + .stats-grid { + grid-template-columns: repeat(2, 1fr); + padding: 0 1rem; + } + + .stat strong { + font-size: 1.5rem; + } +} + .md-header { background-color: #4051b5; }