{% extends 'base.html' %}

{% block content %}
{% if user.is_authenticated %}
Hi
{% else %}
<section class="bg-dark text-light p-5 text-center">
    <div class="container">
        <div class="d-sm-flex"> 
            <div>
                <h1>Shimatta Stock Management System. <a href="{% url 'login' %}" class="text-decoration-none text-warning">Login now</a>.</h1>
            </div>
        </div>
    </div>
</section>
{% endif %}
{% endblock content %}