2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-04-28 05:26:44 +00:00

more abstract formatting

This commit is contained in:
Matthias Mair 2021-11-07 23:31:13 +01:00
parent bcea172b99
commit 2b1a0ce567
4 changed files with 18 additions and 27 deletions

4
home/_data/learn_cta.yml Normal file
View File

@ -0,0 +1,4 @@
text: InvenTree provides functions for all kinds of users and parts
btn:
- text: Learn More
link: /

View File

@ -5,15 +5,12 @@ backLink: false
{% include hero.html title=site.tagline title_2='for Business' image='https://dummyimage.com/860x600' color='with InvenTree' %}
{% assign for_b = site.data.for_business %}
{% include features.html data=for_b %}
{% include features.html data=site.data.for_business %}
{% include cta.html text='read more on the site!' %}
{% include cta.html cta=site.data.learn_cta %}
{% assign function = site.data.function %}
{% include functions.html data=function %}
{% include functions.html data=site.data.function %}
{% assign end = site.data.end_cta %}
{% include cta.html cta=end %}
{% include cta.html cta=site.data.end_cta %}
---

View File

@ -5,15 +5,12 @@ backLink: false
{% include hero.html title=site.tagline title_2='for Education' image='https://dummyimage.com/860x600' color='with InvenTree' %}
{% assign for_e = site.data.for_edu %}
{% include features.html data=for_e %}
{% include features.html data=site.data.for_edu %}
{% include cta.html text='InvenTree provides functions for all kinds of users and parts' link = '/' link_text = 'Learn More' %}
{% include cta.html cta=site.data.learn_cta %}
{% assign function = site.data.function %}
{% include functions.html data=function %}
{% include functions.html data=site.data.function %}
{% assign end = site.data.end_cta %}
{% include cta.html cta=end %}
{% include cta.html cta=site.data.end_cta %}
---

View File

@ -5,23 +5,16 @@ backLink: false
{% include hero.html title=site.tagline title_2='and more' image='https://dummyimage.com/860x600' color='with InvenTree' %}
{% assign function = site.data.function %}
{% include functions.html data=function %}
{% include functions.html data=site.data.function %}
{% include features.html data=site.data.for_hobby %}
{% assign for_h = site.data.for_hobby %}
{% include features.html data=for_h %}
{% include features.html data=site.data.for_business %}
{% assign for_b = site.data.for_business %}
{% include features.html data=for_b %}
{% include features.html data=site.data.for_edu %}
{% assign for_e = site.data.for_edu %}
{% include features.html data=for_e %}
{% include stats.html data=site.data.stats %}
{% assign stats = site.data.stats %}
{% include stats.html data=stats %}
{% assign end = site.data.end_cta %}
{% include cta.html cta=end %}
{% include cta.html cta=site.data.end_cta %}
---