2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-06-13 02:25:31 +00:00

refactor features

This commit is contained in:
2021-11-09 01:34:12 +01:00
parent a6ae8a54fd
commit fe6c1830a8
5 changed files with 28 additions and 27 deletions

View File

@ -2,16 +2,17 @@
<div class="container px-5 py-24 mx-auto">
<div class="flex flex-wrap w-full mb-4">
<div class="lg:w-1/2 w-full mb-6 lg:mb-0">
<a class="anchor" id="{{ include.data.header.ref }}"></a>
<a class="anchor" id="{{ include.data.ref }}"></a>
<div class="inline-flex items-center">
<h1 class="sm:text-3xl text-2xl font-medium title-font mb-2 cm-gray-1">{{ include.data.header.title }}</h1>
<h1 class="sm:text-3xl text-2xl font-medium title-font mb-2 cm-gray-1">{{ include.data.title }}</h1>
{% if include.link %}
<a href="{% include link.html item=include.link %}">{% include learn_more.html %}</a>
{% assign link=include.data.link|default:include.link %}
<a href="{% include link.html item=link %}">{% include learn_more.html %}</a>
{% endif %}
</div>
<div class="h-1 w-20 bg-secondary rounded"></div>
</div>
<p class="lg:w-1/2 w-full leading-relaxed cm-gray-3">{{ include.data.header.text }}</p>
<p class="lg:w-1/2 w-full leading-relaxed cm-gray-3">{{ include.data.text }}</p>
</div>
<div class="flex flex-wrap -m-4">