<div class="section-with-cards">
  <h1 class="course-home-headings">{{section_title}}</h1>
  {%- if subtitle -%}
  <p class="section-description">{{ subtitle }}</p>
  {%- endif -%}
  <div class="mentors-section">
    {% for speaker in speaker_details %}
    {% set speaker_doc = frappe.db.get_value("Speaker", speaker.speaker, ["user", "company"], as_dict= True)
    %}
    {% set member = frappe.get_doc("User", speaker_doc.user) %}

    <div class="common-card-style member-card">
      {{ widgets.Avatar(member=member, avatar_class="avatar-large") }}

      <div class="small-title member-card-title">
        {{ member.full_name }}
      </div>
      <div class="small-title">
        {{speaker_doc.company}}
      </div>
      <a class="stretched-link" href=""></a>
    </div>
    {% endfor %}
  </div>

  <div class="event-btn">
    <a href='/propose-talk?new=1&event={{ event }}' class="btn btn-primary ">Propose a Talk</a>
  </div>

</div>
