diff --git a/_data/ctas/end.yml b/_data/ctas/end.yml index 267fc8ad..5ae63373 100644 --- a/_data/ctas/end.yml +++ b/_data/ctas/end.yml @@ -1,4 +1,4 @@ text: Ready for a glimpse into the future?
Together we make InvenTree better, faster and more helpfull each day. btn: - text: open the roadmap - link: https://inventree.readthedocs.io/en/latest/upcoming/ + link: https://github.com/inventree/InvenTree/labels/roadmap diff --git a/_data/for_business.yml b/_data/for_business.yml index 414d5fdf..272c6ba7 100644 --- a/_data/for_business.yml +++ b/_data/for_business.yml @@ -8,17 +8,5 @@ text: | features: - title: lorem ipsum title subtitle: lorem ipsum subtitle - description: | - lorem ipsum - - - lorem ipsum - - lorem ipsum - - lorem ipsum - - lorem ipsum - link: https://example.com/ - - - title: lorem ipsum title - subtitle: lorem ipsum subtitle - description: lorem ipsum description + text: lorem ipsum description link: https://example.com/ diff --git a/_data/for_edu.yml b/_data/for_edu.yml index 63c8bddf..a4a33c16 100644 --- a/_data/for_edu.yml +++ b/_data/for_edu.yml @@ -8,10 +8,10 @@ text: | features: - title: Open Source - Open Knowledge subtitle: Stay independed of big vendors - description: Free software of big vendors helps the budget. But how about your students?
Don’t teach tools – teach process and competence. InvenTree is MIT licensed and free forever.
Also, we are open to contribution from all ages! - link: https://example.com/ + text: Free software of big vendors helps the budget. But how about your students? + extend: Don’t teach tools – teach process and competence. InvenTree is MIT licensed and free forever.
Also, we are open to contribution from all ages! - title: lorem ipsum title subtitle: lorem ipsum subtitle - description: lorem ipsum description + text: lorem ipsum description link: https://example.com/ diff --git a/_data/for_maker.yml b/_data/for_maker.yml index dee91c1d..928bf1cc 100644 --- a/_data/for_maker.yml +++ b/_data/for_maker.yml @@ -8,5 +8,5 @@ text: | features: - title: lorem ipsum title subtitle: lorem ipsum subtitle - description: lorem ipsum description + text: lorem ipsum description link: https://example.com/ diff --git a/_includes/block/features.html b/_includes/block/features.html index f0884145..d5b0ba3d 100644 --- a/_includes/block/features.html +++ b/_includes/block/features.html @@ -21,10 +21,12 @@

{{ item.subtitle }}

{{ item.title }}

-

{{ item.description }} +

{{ item.text }} {% if include.extend and item.extend %}

{{ item.extend }}{% endif %}

+ {% if item.link %} Learn More {% include fnc/learn_more.html %} + {% endif %}
{% endfor %} diff --git a/_includes/block/hero.html b/_includes/block/hero.html index 02ee4ac8..73fe0f05 100644 --- a/_includes/block/hero.html +++ b/_includes/block/hero.html @@ -9,11 +9,18 @@ {{ include.color }} {% endif %} + {% if include.detail %}

{{ include.detail }}

-
- - + {% endif %} + {% if include.buttons %} +
+ {% for item in include.buttons %} + + {% endfor %}
+ {% endif %}
{% if include.image %} diff --git a/_layouts/branche.html b/_layouts/branche.html deleted file mode 100644 index 732452b9..00000000 --- a/_layouts/branche.html +++ /dev/null @@ -1,12 +0,0 @@ ---- -layout: default ---- - -{% include block/hero.html title=site.tagline title_2=page.title_2 image='https://dummyimage.com/860x600' color='with InvenTree' detail='Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.' %} - -{% assign data = site.data[page.data] %} -{% include block/features.html data=data %} - -{% include block/cta.html cta=site.data.ctas.learn %} -{% include block/functions.html data=site.data.functions.general extend=true %} -{% include block/cta.html cta=site.data.ctas.end %} diff --git a/_layouts/user.html b/_layouts/user.html new file mode 100644 index 00000000..f161b780 --- /dev/null +++ b/_layouts/user.html @@ -0,0 +1,19 @@ +--- +layout: default +--- + +{% include block/hero.html + title=site.tagline + title_2=page.title_2 + image='https://dummyimage.com/860x600' + color='with InvenTree' + detail=page.long_text + buttons=page.buttons +%} + +{% assign data = site.data[page.data] %} +{% include block/features.html data=data extend=true %} + +{% include block/cta.html cta=site.data.ctas.learn %} +{% include block/functions.html data=site.data.functions.general extend=true %} +{% include block/cta.html cta=site.data.ctas.end %} diff --git a/assets/index.css b/assets/index.css index f1162fb5..8bac2d6d 100644 --- a/assets/index.css +++ b/assets/index.css @@ -32,6 +32,10 @@ layout: empty @apply text-gray-700 bg-gray-100 hover:bg-gray-200 rounded } + .cm-hvr-btn-primary { + @apply text-white bg-secondary hover:bg-primary rounded + } + .cm-gray-1 { @apply text-gray-900 } diff --git a/index.md b/index.md index 83a5e663..eb6a4406 100644 --- a/index.md +++ b/index.md @@ -4,7 +4,13 @@ backLink: false main_page: True --- -{% include block/hero.html title=site.tagline title_2='and more' image='https://dummyimage.com/860x600' color='with InvenTree' detail='Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.' %} +{% include block/hero.html + title=site.tagline + title_2='and more' + image='https://dummyimage.com/860x600' + color='with InvenTree' + detail='Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.' +%} {% include block/functions.html data=site.data.functions.general %} diff --git a/plugins.html b/plugins.html index 09726f31..c464531c 100644 --- a/plugins.html +++ b/plugins.html @@ -4,7 +4,7 @@ title: Plugins permalink: /plugins ---
-

Plugins Repository

+

InvenTree Plugin Repository

{% for plugin in site.plugins %} {% include plugin_card.html plugin=plugin %} {% endfor %} diff --git a/use/business.md b/use/business.md index 8224cc75..b3465296 100644 --- a/use/business.md +++ b/use/business.md @@ -1,5 +1,5 @@ --- -layout: branche +layout: user title: For Business title_2: for Business data: for_business diff --git a/use/education.md b/use/education.md index 1c831a21..1c8a66fd 100644 --- a/use/education.md +++ b/use/education.md @@ -1,5 +1,5 @@ --- -layout: branche +layout: user title: For Education title_2: for Education data: for_edu diff --git a/use/maker.md b/use/maker.md index 17040204..3b7a4aba 100644 --- a/use/maker.md +++ b/use/maker.md @@ -1,6 +1,16 @@ --- -layout: branche +layout: user title: For Maker title_2: for Maker data: for_maker +long_text: | + lorem ipsum place for + multiline inteligent text +buttons: + - text: lorem ipsum primary + primary: true + link: http://example.com + - text: lorem ipsum + link: + internal: plugins.html ---