<div class="np-dashboard-resources">
  {% if training_events.enrolled.any? %}
    {% for training_event in training_events.enrolled %}
      {% include "cards_training_event" with training_event %}
    {% endfor %}
  {% else %}
    <a href="/app/training_events">
      <img class="training-events-link-image" src="https://s3.amazonaws.com/static.northpass.com/Terminus/113748D1-9343-4F14-BB19-2CFB1E9F3935_1_201_a.jpeg" alt="">
    </a>
  {% endif %}
</div>

<style>
  .training-events-link-image {
    width: 100%;
    border-radius: 10px;
  }
</style>