website/templates/home/components/home-card-new.html

29 lines
902 B
HTML

{% macro home_card2(title, description, action_link=false, template=false) %}
<div class="service-card__conatiner">
<div class="service-card__text-container">
<h2 class="service-card__title">{{ title }}</h2>
<p class="service-card__text">{{ description }}</p>
{% if action_link %}
<button class="service-card__aciton-btn">
<a href="{{ action_link }}" class="home__vision-action-link">Learn More</a>
</button>
{% else %}
<button disabled class="service-card__aciton-btn--inactive">Coming Soon</button>
{% endif %}
</div>
<div class="service-card__icon-container">
<img
src="{{ get_url(path='/tmp-logo.png', cachebust=true) }}"
alt="Temporary card icon"
class="service-card__icon"
/>
</div>
{% if template %}
<!-- {% include "home/components/_features.html" %}
{% endif %}
</div>
{% endmacro home_card2 %}