mirror of
https://github.com/inventree/inventree-website.git
synced 2025-04-27 21:16:45 +00:00
clean up svg
This commit is contained in:
parent
d8071f2cb3
commit
1db079e512
@ -7,7 +7,7 @@
|
|||||||
<h1 class="header-text title-font mb-2 cm-gray-1">{{ include.data.title }}</h1>
|
<h1 class="header-text title-font mb-2 cm-gray-1">{{ include.data.title }}</h1>
|
||||||
{% if include.link %}
|
{% if include.link %}
|
||||||
{% assign link=include.data.link|default:include.link %}
|
{% assign link=include.data.link|default:include.link %}
|
||||||
<a href="{% include fnc/link.html item=link %}" alt="learn more">{% include fnc/learn_more.html %}</a>
|
<a href="{% include fnc/link.html item=link %}" alt="learn more"><img class="w-4 h-4 ml-2" src="{{ '/assets/learn.svg' | relative_url }}" /></a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div class="h-1 w-20 bg-secondary rounded"></div>
|
<div class="h-1 w-20 bg-secondary rounded"></div>
|
||||||
@ -25,7 +25,7 @@
|
|||||||
{% if include.extend and item.extend %}<br><br>{{ item.extend }}{% endif %}
|
{% if include.extend and item.extend %}<br><br>{{ item.extend }}{% endif %}
|
||||||
</p>
|
</p>
|
||||||
{% if item.link %}
|
{% if item.link %}
|
||||||
<a class="text-secondary inline-flex items-center" href="{% include fnc/link.html item=item.link %}" alt="learn more">Learn More {% include fnc/learn_more.html %}</a>
|
<a class="text-secondary inline-flex items-center" href="{% include fnc/link.html item=item.link %}" alt="learn more">Learn More <img class="w-4 h-4 ml-2" src="{{ '/assets/learn.svg' | relative_url }}" /></a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
{% if include.data.title %}<h1 class="header-text title-font mb-4 cm-gray-1">{{ include.data.title }}</h1>{% endif %}
|
{% if include.data.title %}<h1 class="header-text title-font mb-4 cm-gray-1">{{ include.data.title }}</h1>{% endif %}
|
||||||
{% if include.data.text %}<p class="lg:w-2/3 mx-auto leading-relaxed text-base">{{ include.data.text }}</p>{% endif %}
|
{% if include.data.text %}<p class="lg:w-2/3 mx-auto leading-relaxed text-base">{{ include.data.text }}</p>{% endif %}
|
||||||
{% if include.data.link and include.no_link != true %}
|
{% if include.data.link and include.no_link != true %}
|
||||||
<a class="text-secondary inline-flex items-center justify-center" href="{% include fnc/link.html item=include.data.link %}" alt="learn more">Learn More {% include fnc/learn_more.html %}</a>
|
<a class="text-secondary inline-flex items-center justify-center" href="{% include fnc/link.html item=include.data.link %}" alt="learn more">Learn More <img class="w-4 h-4 ml-2" src="{{ '/assets/learn.svg' | relative_url }}" /></a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -25,7 +25,7 @@
|
|||||||
{% if include.extend and item.extend %}<br><br>{{ item.extend }}{% endif %}
|
{% if include.extend and item.extend %}<br><br>{{ item.extend }}{% endif %}
|
||||||
</p>
|
</p>
|
||||||
{% if item.link %}
|
{% if item.link %}
|
||||||
<a class="text-secondary inline-flex items-center" href="{% include fnc/link.html item=item.link %}" alt="learn more">Learn More {% include fnc/learn_more.html %}</a>
|
<a class="text-secondary inline-flex items-center" href="{% include fnc/link.html item=item.link %}" alt="learn more">Learn More <img class="w-4 h-4 ml-2" src="{{ '/assets/learn.svg' | relative_url }}" /></a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
<svg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="w-4 h-4 ml-2" viewBox="0 0 24 24">
|
|
||||||
<path d="M5 12h14M12 5l7 7-7 7"></path>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 195 B |
@ -1,7 +1,7 @@
|
|||||||
<div class="bg-teal-100 border-t-4 border-teal-500 rounded-b text-teal-900 px-4 py-3 shadow-md" role="alert">
|
<div class="bg-teal-100 border-t-4 border-teal-500 rounded-b text-teal-900 px-4 py-3 shadow-md" role="alert">
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
{% if include.style == 'info' %}
|
{% if include.style == 'info' %}
|
||||||
<svg class="fill-current h-6 w-6 text-teal-500 mr-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M2.93 17.07A10 10 0 1 1 17.07 2.93 10 10 0 0 1 2.93 17.07zm12.73-1.41A8 8 0 1 0 4.34 4.34a8 8 0 0 0 11.32 11.32zM9 11V9h2v6H9v-4zm0-6h2v2H9V5z"/></svg>
|
<img class="fill-current h-6 w-6 text-teal-500 mr-4" src="{{ '/assets/info.svg' | relative_url }}" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div>
|
<div>
|
||||||
<p class="font-bold">{{ include.title }}</p>
|
<p class="font-bold">{{ include.title }}</p>
|
||||||
|
@ -5,11 +5,7 @@ layout: default
|
|||||||
<header>
|
<header>
|
||||||
{% if page.backLink or page.backLink == nil %}
|
{% if page.backLink or page.backLink == nil %}
|
||||||
<a href="{{ '/blog' | relative_url }}" class="flex items-center m-5 text-xl hover:underline">
|
<a href="{{ '/blog' | relative_url }}" class="flex items-center m-5 text-xl hover:underline">
|
||||||
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
<img class="w-6 h-6" src="{{ '/assets/back.svg' | relative_url }}" />
|
||||||
<path fill-rule="evenodd"
|
|
||||||
d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z"
|
|
||||||
clip-rule="evenodd"></path>
|
|
||||||
</svg>
|
|
||||||
<span>Back</span>
|
<span>Back</span>
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
1
assets/back.svg
Normal file
1
assets/back.svg
Normal file
@ -0,0 +1 @@
|
|||||||
|
<svg fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd"></path></svg>
|
After Width: | Height: | Size: 257 B |
1
assets/info.svg
Normal file
1
assets/info.svg
Normal file
@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M2.93 17.07A10 10 0 1 1 17.07 2.93 10 10 0 0 1 2.93 17.07zm12.73-1.41A8 8 0 1 0 4.34 4.34a8 8 0 0 0 11.32 11.32zM9 11V9h2v6H9v-4zm0-6h2v2H9V5z"/></svg>
|
After Width: | Height: | Size: 220 B |
1
assets/learn.svg
Normal file
1
assets/learn.svg
Normal file
@ -0,0 +1 @@
|
|||||||
|
<svg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24"><path d="M5 12h14M12 5l7 7-7 7"></path></svg>
|
After Width: | Height: | Size: 168 B |
Loading…
x
Reference in New Issue
Block a user