mirror of
https://github.com/inventree/inventree-website.git
synced 2025-04-28 13:36:47 +00:00
footer as data file
This commit is contained in:
parent
98f454505a
commit
0269c2ce9f
36
home/_data/footer.yml
Normal file
36
home/_data/footer.yml
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
- title: Websites
|
||||||
|
cats:
|
||||||
|
- name: Documentation
|
||||||
|
link: aa.bb
|
||||||
|
- name: Demo
|
||||||
|
link: aa.cc
|
||||||
|
- name: Plugins
|
||||||
|
link: plugin-repo
|
||||||
|
|
||||||
|
- title: Contribute
|
||||||
|
cats:
|
||||||
|
- name: Translate
|
||||||
|
link: crowdin
|
||||||
|
- name: Code
|
||||||
|
link: github
|
||||||
|
- name: Report
|
||||||
|
link: github
|
||||||
|
- name: Document
|
||||||
|
link: inventree-docs
|
||||||
|
- name: Discuss
|
||||||
|
link: invetre/dicuss
|
||||||
|
- name: Fund
|
||||||
|
link: sponsoring
|
||||||
|
|
||||||
|
- title: Extend
|
||||||
|
cats:
|
||||||
|
- name: Plugins
|
||||||
|
link: plugin-repo
|
||||||
|
- name: KiCad
|
||||||
|
link: ki-n-tree
|
||||||
|
- name: Fusion360
|
||||||
|
link: F360-Inventree
|
||||||
|
- name: Python
|
||||||
|
link: inventree-python
|
||||||
|
- name: More
|
||||||
|
link: github-tag-inventree
|
@ -9,77 +9,25 @@
|
|||||||
</a>
|
</a>
|
||||||
<p class="mt-2 text-sm text-gray-500">{{ site.tagline }}</p>
|
<p class="mt-2 text-sm text-gray-500">{{ site.tagline }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="flex-grow flex flex-wrap md:pl-20 -mb-10 md:mt-0 mt-10 md:text-left text-center">
|
<div class="flex-grow flex flex-wrap md:pl-20 -mb-10 md:mt-0 mt-10 md:text-left text-center">
|
||||||
|
|
||||||
|
{% for cat in site.data.footer %}
|
||||||
<div class="lg:w-1/4 md:w-1/2 w-full px-4">
|
<div class="lg:w-1/4 md:w-1/2 w-full px-4">
|
||||||
<h2 class="footer-categorie title-font">CATEGORIES</h2>
|
<h2 class="footer-categorie title-font">{{ cat.title }}</h2>
|
||||||
<nav class="list-none mb-10">
|
<nav class="list-none mb-10">
|
||||||
|
{% for item in cat.cats %}
|
||||||
<li>
|
<li>
|
||||||
<a class="footer-link">First Link</a>
|
<a href="{{ item.link }}" class="footer-link">{{ item.name }}</a>
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a class="footer-link">Second Link</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a class="footer-link">Third Link</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a class="footer-link">Fourth Link</a>
|
|
||||||
</li>
|
|
||||||
</nav>
|
|
||||||
</div>
|
|
||||||
<div class="lg:w-1/4 md:w-1/2 w-full px-4">
|
|
||||||
<h2 class="footer-categorie title-font">CATEGORIES</h2>
|
|
||||||
<nav class="list-none mb-10">
|
|
||||||
<li>
|
|
||||||
<a class="footer-link">First Link</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a class="footer-link">Second Link</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a class="footer-link">Third Link</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a class="footer-link">Fourth Link</a>
|
|
||||||
</li>
|
|
||||||
</nav>
|
|
||||||
</div>
|
|
||||||
<div class="lg:w-1/4 md:w-1/2 w-full px-4">
|
|
||||||
<h2 class="footer-categorie title-font">CATEGORIES</h2>
|
|
||||||
<nav class="list-none mb-10">
|
|
||||||
<li>
|
|
||||||
<a class="footer-link">First Link</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a class="footer-link">Second Link</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a class="footer-link">Third Link</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a class="footer-link">Fourth Link</a>
|
|
||||||
</li>
|
|
||||||
</nav>
|
|
||||||
</div>
|
|
||||||
<div class="lg:w-1/4 md:w-1/2 w-full px-4">
|
|
||||||
<h2 class="footer-categorie title-font">CATEGORIES</h2>
|
|
||||||
<nav class="list-none mb-10">
|
|
||||||
<li>
|
|
||||||
<a class="footer-link">First Link</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a class="footer-link">Second Link</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a class="footer-link">Third Link</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a class="footer-link">Fourth Link</a>
|
|
||||||
</li>
|
</li>
|
||||||
|
{% endfor %}
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="bg-gray-100">
|
<div class="bg-gray-100">
|
||||||
<div class="container mx-auto py-4 px-5 flex flex-wrap flex-col sm:flex-row">
|
<div class="container mx-auto py-4 px-5 flex flex-wrap flex-col sm:flex-row">
|
||||||
<p class="text-gray-500 text-sm text-center sm:text-left">© 2021 {{ site.title }} — made with love by
|
<p class="text-gray-500 text-sm text-center sm:text-left">© 2021 {{ site.title }} — made with love by
|
||||||
|
Loading…
x
Reference in New Issue
Block a user