mirror of
https://github.com/inventree/inventree-website.git
synced 2025-04-28 13:36:47 +00:00
add stats
This commit is contained in:
parent
ddd12b4970
commit
0ad6ca7415
9
home/_data/stats.yml
Normal file
9
home/_data/stats.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
stats:
|
||||||
|
- name: Docker pulls
|
||||||
|
number: 500K+
|
||||||
|
- name: GitHub Stars
|
||||||
|
number: 425
|
||||||
|
- name: Contributors
|
||||||
|
number: 29
|
||||||
|
- name: Lines of Code
|
||||||
|
number: 72K+
|
22
home/_includes/stats.html
Normal file
22
home/_includes/stats.html
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
<section class="cm-gray-2 body-font">
|
||||||
|
<div class="container px-5 py-24 mx-auto">
|
||||||
|
<div class="flex flex-wrap -m-4 text-center">
|
||||||
|
<div class="p-4 sm:w-1/4 w-1/2">
|
||||||
|
<h2 class="title-font font-medium sm:text-4xl text-3xl cm-gray-1">2.7K</h2>
|
||||||
|
<p class="leading-relaxed">Users</p>
|
||||||
|
</div>
|
||||||
|
<div class="p-4 sm:w-1/4 w-1/2">
|
||||||
|
<h2 class="title-font font-medium sm:text-4xl text-3xl cm-gray-1">1.8K</h2>
|
||||||
|
<p class="leading-relaxed">Subscribes</p>
|
||||||
|
</div>
|
||||||
|
<div class="p-4 sm:w-1/4 w-1/2">
|
||||||
|
<h2 class="title-font font-medium sm:text-4xl text-3xl cm-gray-1">35</h2>
|
||||||
|
<p class="leading-relaxed">Downloads</p>
|
||||||
|
</div>
|
||||||
|
<div class="p-4 sm:w-1/4 w-1/2">
|
||||||
|
<h2 class="title-font font-medium sm:text-4xl text-3xl cm-gray-1">4</h2>
|
||||||
|
<p class="leading-relaxed">Products</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
@ -16,6 +16,8 @@ backLink: false
|
|||||||
{% assign for_e = site.data.for_edu %}
|
{% assign for_e = site.data.for_edu %}
|
||||||
{% include features.html data=for_e %}
|
{% include features.html data=for_e %}
|
||||||
|
|
||||||
|
{% assign stats = site.data.stats %}
|
||||||
|
{% include stats.html data=stats %}
|
||||||
|
|
||||||
{% assign end = site.data.end_cta %}
|
{% assign end = site.data.end_cta %}
|
||||||
{% include cta.html cta=end %}
|
{% include cta.html cta=end %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user