<% provide(:title, @subject) %>
<% provide(:photo_url, @student.resolved_photo_url) %>

<% content_for :note do %>
  <p>
    <%= @teacher.greetings %>
  </p>

  <% if @early_notice %>
    <p>
      You are scheduled to take a lesson on JamKazam from <%= @student_name %> very soon. We suggest that you start up the JamKazam application and make sure all your audio gear is set up and ready to go 10 minutes before the lesson's start time - just in case the application needs to update itself or you run into any other unexpected problems.
    </p>
    <p>
      Just in case you don't remember how to join your lesson, here is a link to a help article that explains how to do this: <a href="https://bit.ly/2BzKUMk" style="color:#fc0">https://bit.ly/2BzKUMk</a>.
    </p>
  <% else %>
    <p>
      Your lesson with <%= @student_name %> is scheduled to begin on JamKazam in less than 30 minutes.
    <p>
      <a href="<%= @lesson_session.home_url %>" style="margin: 8px 0 0 0;background-color: #ed3618;border: solid 1px #F27861;padding: 3px 10px;font-size: 12px;font-weight: 300;cursor: pointer;color: #FC9;text-decoration: none;line-height: 12px;text-align: center;">JAMCLASS HOME</a>
    </p>
  <% end %>
<% end %>


