2
0
mirror of https://github.com/inventree/inventree-docs.git synced 2025-06-12 02:05:29 +00:00

Clean up front page

This commit is contained in:
Oliver Walters
2021-08-04 20:38:11 +10:00
parent 7ff4118f90
commit 8c2924ed9e
8 changed files with 81 additions and 46 deletions

View File

@ -11,5 +11,5 @@
{% endif %}
<div class='item{% if active %} active{% endif %}'>
<img class='center' src='{{ img_url }}' alt='{{ alt }}' style='{% if max_height %}max-height: {{ max_height }}; {% endif %}'>
<img class='center' src='{{ img_url }}' alt='{{ alt }}' style='{% if min_height %}min-height: {{ min_height }}; {% endif %}{% if max_height %}max-height: {{ max_height }}; {% endif %}'>
</div>

View File

@ -2,47 +2,47 @@
{% include "carousel_start.html" %}
{% endwith %}
{% with src="index/part_category.png", alt="Part Categories", active=True %}
{% with src="index/part_category.png", min_height="400px", max_height="400px", alt="Part Categories", active=True %}
{% include "carousel_img.html" %}
{% endwith %}
{% with src="index/part_stock.png", alt="Part Stock" %}
{% with src="index/part_stock.png", min_height="400px", max_height="400px", alt="Part Stock" %}
{% include "carousel_img.html" %}
{% endwith %}
{% with src="index/part_suppliers.png", alt="Part Suppliers" %}
{% with src="index/part_suppliers.png", min_height="400px", max_height="400px", alt="Part Suppliers" %}
{% include "carousel_img.html" %}
{% endwith %}
{% with src="index/stock_item.png", alt="Stock Item" %}
{% with src="index/stock_item.png", min_height="400px", max_height="400px", alt="Stock Item" %}
{% include "carousel_img.html" %}
{% endwith %}
{% with src="index/stock_location.png", alt="Stock Location" %}
{% with src="index/stock_location.png", min_height="400px", max_height="400px", alt="Stock Location" %}
{% include "carousel_img.html" %}
{% endwith %}
{% with src="index/stock_location_2.png", alt="Stock Location" %}
{% with src="index/stock_location_2.png", min_height="400px", max_height="400px", alt="Stock Location" %}
{% include "carousel_img.html" %}
{% endwith %}
{% with src="index/suppliers.png", alt="Suppliers" %}
{% with src="index/suppliers.png", min_height="400px", max_height="400px", alt="Suppliers" %}
{% include "carousel_img.html" %}
{% endwith %}
{% with src="index/part_admin.png", alt="Admin Interface" %}
{% with src="index/part_admin.png", min_height="400px", max_height="400px", alt="Admin Interface" %}
{% include "carousel_img.html" %}
{% endwith %}
{% with src="index/category_params.png", alt="Part Parameters" %}
{% with src="index/category_params.png", min_height="400px", max_height="400px", alt="Part Parameters" %}
{% include "carousel_img.html" %}
{% endwith %}
{% with src="index/build_outputs.png", alt="Build Orders" %}
{% with src="index/build_outputs.png", min_height="400px", max_height="400px", alt="Build Orders" %}
{% include "carousel_img.html" %}
{% endwith %}
{% with src="index/bom_add_item.png", alt="Bill of Materials" %}
{% with src="index/bom_add_item.png", min_height="400px", max_height="400px", alt="Bill of Materials" %}
{% include "carousel_img.html" %}
{% endwith %}

View File

@ -0,0 +1,45 @@
{% extends "base.html" %}
{% block tabs %}
{{ super() }}
{% endblock %}
{% block content %}
{{ page.content }}
<style>
h1 {
font-family: Arial, Helvetica, sans-serif;
}
</style>
<!-- Hero for landing page -->
<section class="mdx-container">
<div class="md-grid md-typeset">
<div class="mdx-hero">
<!-- Hero content -->
<div class="mdx-hero__content">
<a href="features" title="InvenTree features" class="md-button md-button">
Features
</a>
<a href="start/intro" title="Install InvenTree" class="md-button md-button">
Install
</a>
<a href="https://github.com/inventree/inventree" title="Explore InvenTree source code" class="md-button md-button">
<span class='fab fa-github'></span> Source Code
</a>
<a href="app/app" title="InvenTree mobile app" class="md-button">
<span class='fas fa-mobile-alt'></span> Get the App
</a>
<a href="https://crowdin.com/project/inventree" title="Help translate InvenTree" class="md-button">
<span class='fas fa-language'></span> Translate
</a>
</div>
</div>
</div>
</section>
{% endblock %}