{% macro ico(name, cls="") -%} {%- endmacro %} {% macro tri(glyph, cls="") -%} {%- endmacro %} {# Tool icon slot. data-icon is the hook for the future Rive icons. #} {% macro ticon(icon_id, cat="convert", soon=False, size=None) -%} {%- set g = glyph_for(icon_id) -%} {%- endmacro %} {% macro sec_head(light, bold, glyph="star", more=None, more_label="View all", cls="") -%}
{{ tri(glyph, "lg " ~ cls) }}

{{ light }} {{ bold }}

{% if more %}{{ more_label }} {{ ico("arrow") }}{% endif %}
{%- endmacro %} {% macro card(t) -%}
  • {{ mosaic(t.slug, "light", 12, 6, "none")|safe }}
    {% if t.live %}FREE{% if t.output %}{{ t.output|upper }}{% endif %}{% else %}COMING SOON{% endif %}
    {% if t.badge == "POPULAR" %}Top
    pick
    {% elif t.badge == "NEW" %}New {% elif t.badge == "PRIVATE" %}PRIVATE{% endif %} {{ ticon(t.icon, t.category, not t.live) }}

    {{ t.name }}

    {{ t.short }}

    {{ ico("arrow") }} {{ "Open tool" if t.live else "Preview" }}
  • {%- endmacro %} {% macro compact(t) -%}
  • {{ ticon(t.icon, t.category, not t.live) }}{{ t.name }}{% if not t.live %}Soon{% endif %}{{ t.short }}
  • {%- endmacro %} {% macro logo_mark() -%} {%- endmacro %}