{% extends "base.html" %}
{% load static %}

{% block content %}
<div class="card">
    <div class="row">
      <div class="text-center my-2">
        <div class="row">
          <h1>
            <img class="mx-auto" src="{% static 'images/benchcoach.svg' %}" style="width: 2.5em;"/>
          </h1>
        </div>
        <div class="row">
          <h1><strong>Welcome to <span class="text-nowrap ">BenchCoach</span></strong></h1>
        </div>
        <div class="text-center lead fst-italic fw-light">
          An assistant coach for TeamSnap
        </div>
      </div>
    </div>
    <div class="card-body">
        <div class="row">
          <div class="row my-2">
            <div class="col text-center">
              {% if request.user.is_authenticated %}
                <a class="btn btn-outline-primary"
                   href="{% url 'teamsnap_dashboard' %}"
                >
                  Dashboard
                </a>
                <a class="btn btn-outline-primary"
                   href="{% url 'teamsnap_schedule' %}"
                >
                  Schedule
                </a>
              {% else %}
                <a class="btn btn-outline-primary"
                   href="{% url 'account_login' %}"
                >
                  Login
                </a>
              {% endif %}
            </div>
          </div>
        </div>
    </div>
</div>
{% endblock %}
