Refactor templates and add search functionality with improved navigation and user experience

This commit is contained in:
Yaro Kasear 2025-06-13 08:50:39 -05:00
parent 684a98b216
commit f4f9f84387
15 changed files with 97 additions and 43 deletions

View file

@ -0,0 +1,11 @@
{% macro category_link(endpoint, label, icon_html=None, arguments={}) %}
<div class="col">
<a href="{{ url_for('main.' + endpoint, **arguments) }}"
class="d-flex flex-column justify-content-center link-success link-underline-opacity-0">
{% if icon_html %}
{{ icon_html | safe }}
{% endif %}
{{ label }}
</a>
</div>
{% endmacro %}