mirror of
https://github.com/inventree/inventree-website.git
synced 2025-04-27 21:16:45 +00:00
refactor features
This commit is contained in:
parent
a6ae8a54fd
commit
fe6c1830a8
@ -1,12 +1,10 @@
|
||||
header:
|
||||
ref: business
|
||||
title: For Business
|
||||
text: |
|
||||
This pipe does something a little different.
|
||||
It preserves the breaks.
|
||||
This is really helpful for code samples,
|
||||
since you can format the code samples with
|
||||
the appropriate
|
||||
ref: business
|
||||
link:
|
||||
internal: business
|
||||
title: For Business
|
||||
text: |
|
||||
This pipe does something a little different. It preserves the breaks.
|
||||
This is really helpful for code samples, since you can format the code samples with the appropriate
|
||||
|
||||
features:
|
||||
- title: mountain bikes
|
||||
|
@ -1,8 +1,9 @@
|
||||
header:
|
||||
ref: edu
|
||||
title: For Education
|
||||
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!
|
||||
ref: edu
|
||||
link:
|
||||
internal: edu
|
||||
title: For Education
|
||||
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:
|
||||
- title: Open Source - Open Knowledge
|
||||
|
@ -1,9 +1,10 @@
|
||||
header:
|
||||
ref: maker
|
||||
title: For Maker
|
||||
text: |
|
||||
This pipe does something a little different.
|
||||
It preserves the breaks.
|
||||
ref: maker
|
||||
link:
|
||||
internal: maker
|
||||
title: For Maker
|
||||
text: |
|
||||
This pipe does something a little different.
|
||||
It preserves the breaks.
|
||||
|
||||
|
||||
features:
|
||||
|
@ -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">
|
||||
|
6
index.md
6
index.md
@ -8,11 +8,11 @@ main_page: True
|
||||
|
||||
{% 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 %}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user