Skip to content

Commit 450a459

Browse files
committed
docs(home): fix stale hooks version, drop duplicate H1, lazy-load logos
- Bump the pre-commit Quick Start snippet from the stale v1.5.0 to the current v1.6.0 so copy-paste users get a supported release. - Remove the second `# C/C++ Linting` H1 in the body; the hero template already provides the page's H1 (two H1s hurt a11y/SEO). - Add loading="lazy"/decoding="async" to the 22 external "Trusted by" avatars so they don't all fetch eagerly on first paint.
1 parent f51c478 commit 450a459

1 file changed

Lines changed: 23 additions & 25 deletions

File tree

docs/index.md

Lines changed: 23 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ title: C/C++ Linting
88

99
<!-- markdownlint-disable MD041 MD033 MD036 MD025 -->
1010

11-
# C/C++ Linting
12-
1311
## Everything you need for linting C/C++ code
1412

1513
<div class="grid cards" markdown>
@@ -46,91 +44,91 @@ title: C/C++ Linting
4644

4745
<div class="logo-grid">
4846
<div class="logo-item">
49-
<img src="https://github.com/microsoft.png" alt="Microsoft" title="Microsoft">
47+
<img src="https://github.com/microsoft.png" alt="Microsoft" title="Microsoft" loading="lazy" decoding="async">
5048
<span>Microsoft</span>
5149
</div>
5250
<div class="logo-item">
53-
<img src="https://github.com/apache.png" alt="Apache" title="Apache">
51+
<img src="https://github.com/apache.png" alt="Apache" title="Apache" loading="lazy" decoding="async">
5452
<span>Apache</span>
5553
</div>
5654
<div class="logo-item">
57-
<img src="https://github.com/nasa.png" alt="NASA" title="NASA">
55+
<img src="https://github.com/nasa.png" alt="NASA" title="NASA" loading="lazy" decoding="async">
5856
<span>NASA</span>
5957
</div>
6058
<div class="logo-item">
61-
<img src="https://github.com/samsung.png" alt="Samsung" title="Samsung">
59+
<img src="https://github.com/samsung.png" alt="Samsung" title="Samsung" loading="lazy" decoding="async">
6260
<span>Samsung</span>
6361
</div>
6462
<div class="logo-item">
65-
<img src="https://github.com/TheAlgorithms.png" alt="TheAlgorithms" title="TheAlgorithms">
63+
<img src="https://github.com/TheAlgorithms.png" alt="TheAlgorithms" title="TheAlgorithms" loading="lazy" decoding="async">
6664
<span>TheAlgorithms</span>
6765
</div>
6866
<div class="logo-item">
69-
<img src="https://github.com/Nextcloud.png" alt="Nextcloud" title="Nextcloud">
67+
<img src="https://github.com/Nextcloud.png" alt="Nextcloud" title="Nextcloud" loading="lazy" decoding="async">
7068
<span>Nextcloud</span>
7169
</div>
7270
<div class="logo-item">
73-
<img src="https://github.com/CachyOS.png" alt="CachyOS" title="CachyOS">
71+
<img src="https://github.com/CachyOS.png" alt="CachyOS" title="CachyOS" loading="lazy" decoding="async">
7472
<span>CachyOS</span>
7573
</div>
7674
<div class="logo-item">
77-
<img src="https://github.com/qualcomm.png" alt="Qualcomm" title="Qualcomm">
75+
<img src="https://github.com/qualcomm.png" alt="Qualcomm" title="Qualcomm" loading="lazy" decoding="async">
7876
<span>Qualcomm</span>
7977
</div>
8078
<div class="logo-item">
81-
<img src="https://github.com/zondax.png" alt="Zondax" title="Zondax">
79+
<img src="https://github.com/zondax.png" alt="Zondax" title="Zondax" loading="lazy" decoding="async">
8280
<span>Zondax</span>
8381
</div>
8482
<div class="logo-item">
85-
<img src="https://github.com/nnstreamer.png" alt="NNStreamer" title="NNStreamer">
83+
<img src="https://github.com/nnstreamer.png" alt="NNStreamer" title="NNStreamer" loading="lazy" decoding="async">
8684
<span>NNStreamer</span>
8785
</div>
8886
<div class="logo-item">
89-
<img src="https://github.com/chocolate-doom.png" alt="Chocolate Doom" title="Chocolate Doom">
87+
<img src="https://github.com/chocolate-doom.png" alt="Chocolate Doom" title="Chocolate Doom" loading="lazy" decoding="async">
9088
<span>Chocolate Doom</span>
9189
</div>
9290
<div class="logo-item">
93-
<img src="https://github.com/LedgerHQ.png" alt="LedgerHQ" title="LedgerHQ">
91+
<img src="https://github.com/LedgerHQ.png" alt="LedgerHQ" title="LedgerHQ" loading="lazy" decoding="async">
9492
<span>LedgerHQ</span>
9593
</div>
9694
<div class="logo-item">
97-
<img src="https://github.com/LLNL.png" alt="LLNL" title="LLNL">
95+
<img src="https://github.com/LLNL.png" alt="LLNL" title="LLNL" loading="lazy" decoding="async">
9896
<span>LLNL</span>
9997
</div>
10098
<div class="logo-item">
101-
<img src="https://github.com/cohere-ai.png" alt="cohere" title="cohere">
99+
<img src="https://github.com/cohere-ai.png" alt="cohere" title="cohere" loading="lazy" decoding="async">
102100
<span>cohere</span>
103101
</div>
104102
<div class="logo-item">
105-
<img src="https://github.com/diasurgical.png" alt="Diasurgical" title="Diasurgical">
103+
<img src="https://github.com/diasurgical.png" alt="Diasurgical" title="Diasurgical" loading="lazy" decoding="async">
106104
<span>Diasurgical</span>
107105
</div>
108106
<div class="logo-item">
109-
<img src="https://github.com/KhronosGroup.png" alt="Khronos Group" title="Khronos Group">
107+
<img src="https://github.com/KhronosGroup.png" alt="Khronos Group" title="Khronos Group" loading="lazy" decoding="async">
110108
<span>Khronos Group</span>
111109
</div>
112110
<div class="logo-item">
113-
<img src="https://github.com/man-group.png" alt="man-group" title="Man Group">
111+
<img src="https://github.com/man-group.png" alt="man-group" title="Man Group" loading="lazy" decoding="async">
114112
<span>Man Group</span>
115113
</div>
116114
<div class="logo-item">
117-
<img src="https://github.com/stanford-ssi.png" alt="Stanford SSI" title="Stanford SSI">
115+
<img src="https://github.com/stanford-ssi.png" alt="Stanford SSI" title="Stanford SSI" loading="lazy" decoding="async">
118116
<span>Stanford SSI</span>
119117
</div>
120118
<div class="logo-item">
121-
<img src="https://github.com/Cambridge-ICCS.png" alt="Cambridge ICCS" title="Cambridge ICCS">
119+
<img src="https://github.com/Cambridge-ICCS.png" alt="Cambridge ICCS" title="Cambridge ICCS" loading="lazy" decoding="async">
122120
<span>Cambridge ICCS</span>
123121
</div>
124122
<div class="logo-item">
125-
<img src="https://github.com/openMSL.png" alt="OpenMSL" title="OpenMSL">
123+
<img src="https://github.com/openMSL.png" alt="OpenMSL" title="OpenMSL" loading="lazy" decoding="async">
126124
<span>OpenMSL</span>
127125
</div>
128126
<div class="logo-item">
129-
<img src="https://github.com/xemu-project.png" alt="Xemu Project" title="Xemu Project">
127+
<img src="https://github.com/xemu-project.png" alt="Xemu Project" title="Xemu Project" loading="lazy" decoding="async">
130128
<span>Xemu Project</span>
131129
</div>
132130
<div class="logo-item">
133-
<img src="https://github.com/bloomberg.png" alt="Bloomberg" title="Bloomberg">
131+
<img src="https://github.com/bloomberg.png" alt="Bloomberg" title="Bloomberg" loading="lazy" decoding="async">
134132
<span>Bloomberg</span>
135133
</div>
136134
</div>
@@ -181,7 +179,7 @@ title: C/C++ Linting
181179
```yaml
182180
repos:
183181
- repo: https://github.com/cpp-linter/cpp-linter-hooks
184-
rev: v1.5.0 # Use the tag or commit you want
182+
rev: v1.6.0 # Use the tag or commit you want
185183
hooks:
186184
- id: clang-format
187185
args: [--style=Google] # Other coding style: LLVM, GNU, Chromium, Microsoft, Mozilla, WebKit.

0 commit comments

Comments
 (0)