Skip to content

Commit d6fd54e

Browse files
restore missing github stats
1 parent 09f39e4 commit d6fd54e

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

src/_includes/layouts/integration.njk

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,42 @@ layout: layouts/base.njk
191191
</div>
192192
</div>
193193

194+
{% if integration.githubOwner and integration.githubRepo %}
195+
<!-- GitHub Stats -->
196+
<div class="bg-white border border-gray-200 rounded-lg p-6 shadow-sm overflow-hidden">
197+
<h3 class="text-lg font-bold mb-3">GitHub Stats</h3>
198+
<div class="space-y-2">
199+
<a href="https://github.com/{{ integration.githubOwner }}/{{ integration.githubRepo }}/issues" target="_blank" rel="noopener noreferrer" class="flex items-center justify-between p-2 hover:bg-gray-50 rounded transition-colors">
200+
<span class="text-sm text-gray-600 flex items-center gap-2">
201+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-4 h-4">
202+
<path stroke-linecap="round" stroke-linejoin="round" d="M12 9v3.75m9-.75a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 3.75h.008v.008H12v-.008Z" />
203+
</svg>
204+
Open Issues
205+
</span>
206+
<img src="https://img.shields.io/github/issues/{{ integration.githubOwner }}/{{ integration.githubRepo }}.svg?style=flat-square" alt="GitHub Issues" />
207+
</a>
208+
<a href="https://github.com/{{ integration.githubOwner }}/{{ integration.githubRepo }}/stargazers" target="_blank" rel="noopener noreferrer" class="flex items-center justify-between p-2 hover:bg-gray-50 rounded transition-colors">
209+
<span class="text-sm text-gray-600 flex items-center gap-2">
210+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-4 h-4">
211+
<path stroke-linecap="round" stroke-linejoin="round" d="M11.48 3.499a.562.562 0 0 1 1.04 0l2.125 5.111a.563.563 0 0 0 .475.345l5.518.442c.499.04.701.663.321.988l-4.204 3.602a.563.563 0 0 0-.182.557l1.285 5.385a.562.562 0 0 1-.84.61l-4.725-2.885a.562.562 0 0 0-.586 0L6.982 20.54a.562.562 0 0 1-.84-.61l1.285-5.386a.562.562 0 0 0-.182-.557l-4.204-3.602a.562.562 0 0 1 .321-.988l5.518-.442a.563.563 0 0 0 .475-.345L11.48 3.5Z" />
212+
</svg>
213+
Stars
214+
</span>
215+
<img src="https://img.shields.io/github/stars/{{ integration.githubOwner }}/{{ integration.githubRepo }}.svg?style=flat-square" alt="GitHub Stars" />
216+
</a>
217+
<a href="https://github.com/{{ integration.githubOwner }}/{{ integration.githubRepo }}/network/members" target="_blank" rel="noopener noreferrer" class="flex items-center justify-between p-2 hover:bg-gray-50 rounded transition-colors">
218+
<span class="text-sm text-gray-600 flex items-center gap-2">
219+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-4 h-4">
220+
<path stroke-linecap="round" stroke-linejoin="round" d="M7.217 10.907a2.25 2.25 0 1 0 0 2.186m0-2.186c.18.324.283.696.283 1.093s-.103.77-.283 1.093m0-2.186 9.566-5.314m-9.566 7.5 9.566 5.314m0 0a2.25 2.25 0 1 0 3.935 2.186 2.25 2.25 0 0 0-3.935-2.186Zm0-12.814a2.25 2.25 0 1 0 3.933-2.185 2.25 2.25 0 0 0-3.933 2.185Z" />
221+
</svg>
222+
Forks
223+
</span>
224+
<img src="https://img.shields.io/github/forks/{{ integration.githubOwner }}/{{ integration.githubRepo }}.svg?style=flat-square" alt="GitHub Forks" />
225+
</a>
226+
</div>
227+
</div>
228+
{% endif %}
229+
194230
<!-- External Links -->
195231
<div class="bg-gray-50 border border-gray-200 rounded-lg p-6 overflow-hidden">
196232
<h3 class="text-sm font-semibold mb-3 text-gray-600 uppercase">External Resources</h3>

0 commit comments

Comments
 (0)