mirror of
https://github.com/inventree/inventree-website.git
synced 2025-04-28 05:26:44 +00:00
refactor features
This commit is contained in:
parent
a6ae8a54fd
commit
fe6c1830a8
@ -1,12 +1,10 @@
|
|||||||
header:
|
ref: business
|
||||||
ref: business
|
link:
|
||||||
title: For Business
|
internal: business
|
||||||
text: |
|
title: For Business
|
||||||
This pipe does something a little different.
|
text: |
|
||||||
It preserves the breaks.
|
This pipe does something a little different. It preserves the breaks.
|
||||||
This is really helpful for code samples,
|
This is really helpful for code samples, since you can format the code samples with the appropriate
|
||||||
since you can format the code samples with
|
|
||||||
the appropriate
|
|
||||||
|
|
||||||
features:
|
features:
|
||||||
- title: mountain bikes
|
- title: mountain bikes
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
header:
|
ref: edu
|
||||||
ref: edu
|
link:
|
||||||
title: For Education
|
internal: edu
|
||||||
text: |
|
title: For Education
|
||||||
Electronic Labs are creative places. Whether your institution works with K12 or post-grads - organisation and tooling is challenging. Let InvenTree help you calm the storm!
|
text: |
|
||||||
|
Electronic Labs are creative places. Whether your institution works with K12 or post-grads - organisation and tooling is challenging. Let InvenTree help you calm the storm!
|
||||||
|
|
||||||
features:
|
features:
|
||||||
- title: Open Source - Open Knowledge
|
- title: Open Source - Open Knowledge
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
header:
|
ref: maker
|
||||||
ref: maker
|
link:
|
||||||
title: For Maker
|
internal: maker
|
||||||
text: |
|
title: For Maker
|
||||||
This pipe does something a little different.
|
text: |
|
||||||
It preserves the breaks.
|
This pipe does something a little different.
|
||||||
|
It preserves the breaks.
|
||||||
|
|
||||||
|
|
||||||
features:
|
features:
|
||||||
|
@ -2,16 +2,17 @@
|
|||||||
<div class="container px-5 py-24 mx-auto">
|
<div class="container px-5 py-24 mx-auto">
|
||||||
<div class="flex flex-wrap w-full mb-4">
|
<div class="flex flex-wrap w-full mb-4">
|
||||||
<div class="lg:w-1/2 w-full mb-6 lg:mb-0">
|
<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">
|
<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 %}
|
{% 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 %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div class="h-1 w-20 bg-secondary rounded"></div>
|
<div class="h-1 w-20 bg-secondary rounded"></div>
|
||||||
</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>
|
||||||
|
|
||||||
<div class="flex flex-wrap -m-4">
|
<div class="flex flex-wrap -m-4">
|
||||||
|
6
index.md
6
index.md
@ -8,11 +8,11 @@ main_page: True
|
|||||||
|
|
||||||
{% include functions.html data=site.data.general.function %}
|
{% include functions.html data=site.data.general.function %}
|
||||||
|
|
||||||
{% include features.html data=site.data.for_maker link='/maker' %}
|
{% include features.html data=site.data.for_maker link=true %}
|
||||||
|
|
||||||
{% include features.html data=site.data.for_business link='/business' %}
|
{% include features.html data=site.data.for_business link=true%}
|
||||||
|
|
||||||
{% include features.html data=site.data.for_edu link='/education' %}
|
{% include features.html data=site.data.for_edu link=true %}
|
||||||
|
|
||||||
{% include stats.html data=site.data.general.stats %}
|
{% include stats.html data=site.data.general.stats %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user