2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-06-14 02:55:34 +00:00

add new text class

This commit is contained in:
2022-02-07 01:42:56 +01:00
parent a2036e4337
commit 2a006cce42
3 changed files with 6 additions and 2 deletions

View File

@ -8,7 +8,7 @@
<div class="container px-5 {% if padding == true %}py-24{% endif %} mx-auto">
{% if include.data.title or include.data.text or include.data.link %}
<div class="flex flex-col text-center w-full mb-20">
{% if include.data.title %}<h1 class="sm:text-3xl text-2xl font-medium title-font mb-4 cm-gray-1">{{ include.data.title }}</h1>{% endif %}
{% if include.data.title %}<h1 class="header-text title-font mb-4 cm-gray-1">{{ include.data.title }}</h1>{% endif %}
{% if include.data.text %}<p class="lg:w-2/3 mx-auto leading-relaxed text-base">{{ include.data.text }}</p>{% endif %}
{% if include.data.link and include.no_link != true %}
<a class="text-secondary inline-flex items-center justify-center" href="{% include fnc/link.html item=include.data.link %}" alt="learn more">Learn More {% include fnc/learn_more.html %}</a>