2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-06-12 18:15:34 +00:00
Files
.github
_data
_includes
base
footer.html
head.html
header.html
block
fnc
partial
plugin_card.html
team.html
testimonials.html
_layouts
_news
_plugins
_posts
_publishers
_repo
about
alternatives
assets
extend
use
.gitignore
404.md
Gemfile
Gemfile.lock
LICENSE
README.md
_config.yml
blog.html
contribute.md
demo.md
deploy.md
functions.md
index.md
news.html
newsletter.md
package-lock.json
package.json
plugins.html
postcss.config.js
publishers.html
tailwind.config.js
inventree-website/_includes/base/header.html
Oliver Walters a6f9eab055 Fix demo link
2022-08-06 09:46:14 +10:00

26 lines
1.6 KiB
HTML

<header class="cm-gray-2 body-font sticky top-0 z-50 bg-gradient-to-r from-white to-secondary">
<div class="container mx-auto flex flex-wrap p-5 flex-row items-center">
<a class="flex title-font font-medium items-center cm-gray-1 mb-0 mr-2" href="{{ '/' | relative_url }}">
<img src="{{ '/assets/logo.png' | relative_url }}" alt="logo" height="32" width="32" class="h-8">
<span class="ml-3 text-xl">{{ site.title }}</span>
</a>
<div class="flex-grow xs:flex-none"></div>
<nav class="md:mr-auto md:py-1 xs:ml-4 xs:pl-4 xs:border-l xs:border-gray-400 flex flex-wrap items-center text-base justify-center">
<a class="mr-5 hover:cm-gray-1" href="{% include fnc/link.html item=site.deploy-link %}">Deploy</a>
<a class="mr-5 hover:cm-gray-1" href="{% include fnc/link.html item=site.doc-link %}">Docs</a>
<a class="mr-5 hover:cm-gray-1" href="{% include fnc/link.html item=site.blog-link %}">Blog</a>
</nav>
{% if page.main_page %}
<nav class="md:ml-auto flex flex-wrap items-center text-base justify-center rounded border-2 border-primary">
<a class="ml-2 mr-2 hover:cm-gray-1" href="#maker">for <strong>maker</strong></a>
<a class="mr-2 hover:cm-gray-1" href="#business">for <strong>business</strong></a>
<a class="mr-2 hover:cm-gray-1" href="#edu">for <strong>edu</strong></a>
</nav>
<a href="/demo.html" class="inline-flex items-center bg-gray-100 ml-2 border-0 py-1 px-3 focus:outline-none hover:bg-gray-200 rounded text-base mt-4 md:mt-0">
Open demo
</a> {% endif %}
</div>
</header>