mirror of
https://github.com/inventree/inventree-website.git
synced 2025-06-12 01:55:37 +00:00
Add icons to landing page
This commit is contained in:
@ -8,6 +8,9 @@
|
||||
|
||||
<script src="{{ '/assets/splide/js/splide.min.js' | relative_url }}"></script>
|
||||
|
||||
<!-- Fontawesome integration -->
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css">
|
||||
|
||||
<title>{{ site.title }}{% if page.title %} - {{ page.title }}{% endif %}</title>
|
||||
<meta itemprop="description" name="description"
|
||||
content="{% if page.description %}{{ page.description | truncate: 160 }}{% else %}{{ site.description | truncate: 160 }}{% endif %}" />
|
||||
|
@ -5,7 +5,12 @@
|
||||
{% assign stats = stats|default:site.data.general.stats.stats %}
|
||||
{% for item in stats %}
|
||||
<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">{{ item.number | intword }}</h2>
|
||||
<h2 class="title-font font-medium sm:text-4xl text-3xl cm-gray-1">
|
||||
{% if item.icon %}
|
||||
<span class='{{ item.icon }}'></span>
|
||||
{% endif %}
|
||||
{{ item.number | intword }}
|
||||
</h2>
|
||||
<p class="leading-relaxed">{{ item.name }}</p>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
Reference in New Issue
Block a user