mirror of
https://github.com/inventree/inventree-website.git
synced 2025-04-28 05:26:44 +00:00
refactor
This commit is contained in:
parent
544d22f77e
commit
442be06389
@ -16,6 +16,7 @@
|
||||
<h3 class="tracking-widest text-primary text-xs font-medium title-font">{{ item.subtitle }}</h3>
|
||||
<h2 class="text-lg cm-gray-1 font-medium title-font mb-4">{{ item.title }}</h2>
|
||||
<p class="leading-relaxed text-base">{{ item.description }}</p>
|
||||
<a class="text-secondary inline-flex items-center" href="{{ item.link }}">Learn More {% include learn_more.html %}</a>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
@ -10,11 +10,9 @@
|
||||
<div class="xl:w-1/{{ function_len }} lg:w-1/2 md:w-full px-8 py-6">
|
||||
<h2 class="text-lg sm:text-xl cm-gray-1 font-medium title-font mb-2">{{ item.title }}</h2>
|
||||
<p class="leading-relaxed text-base mb-4">{{ item.text }}</p>
|
||||
<a class="text-secondary inline-flex items-center" href="{{ item.link }}">Learn More
|
||||
<svg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="w-4 h-4 ml-2" viewBox="0 0 24 24">
|
||||
<path d="M5 12h14M12 5l7 7-7 7"></path>
|
||||
</svg>
|
||||
</a>
|
||||
{% if item.link %}
|
||||
<a class="text-secondary inline-flex items-center" href="{{ item.link }}">Learn More {% include learn_more.html %}</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
3
home/_includes/learn_more.html
Normal file
3
home/_includes/learn_more.html
Normal file
@ -0,0 +1,3 @@
|
||||
<svg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="w-4 h-4 ml-2" viewBox="0 0 24 24">
|
||||
<path d="M5 12h14M12 5l7 7-7 7"></path>
|
||||
</svg>
|
After Width: | Height: | Size: 195 B |
Loading…
x
Reference in New Issue
Block a user