2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-04-27 21:16:45 +00:00

Add plugin highlight

This commit is contained in:
Matthias Mair 2023-01-23 13:39:12 +01:00
parent f1f2779e57
commit 37a3e357c0
No known key found for this signature in database
GPG Key ID: A593429DDA23B66A
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,19 @@
<section class="cm-gray-2 body-font">
<div class="section-container">
<div class="flex flex-col text-center w-full mb-5">
<h1 class="text-2xl font-medium title-font mb-4 cm-gray-1 tracking-widest">Plugin Repository</h1>
<p>
Explore plugins provided by the community.
<a class="text-secondary inline-flex items-center" href="{% link repo.html %}" alt="learn more">Learn More <img class="w-4 h-4 ml-2" alt="Arrow pointing right" src="{{ '/assets/learn.svg' | relative_url }}" /></a>
</p>
</div>
<div class="flex flex-wrap -m-4">
{% assign filtered_repo = site.repo | sort: 'last-modified-date' | reverse %}
{% for plugin in filtered_repo limit:2 %}
<div class="space-4 p-2 md:w-1/2">
{% include plugin_card.html plugin=plugin %}
</div>
{% endfor %}
</div>
</div>
</section>

View File

@ -22,3 +22,4 @@ main_page: True
{% include block/cta.html cta=site.data.ctas.end %} {% include block/cta.html cta=site.data.ctas.end %}
{% include block/plugins.html %}