<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Proj Chat</title>
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
</head>
<body class="bg-gray-100">
    <nav class="bg-blue-500 p-4">
        <div class="container mx-auto flex justify-between">
            <a href="{% url 'chat' %}" class="text-white font-bold">Proj Chat</a>
            {% if user.is_authenticated %}
                <a href="{% url 'logout' %}" class="text-white">Logout</a>
            {% else %}
                <a href="{% url 'login' %}" class="text-white">Login</a>
            {% endif %}
        </div>
    </nav>
    <div class="container mx-auto p-4">
        {% block content %}
        {% endblock %}
    </div>
</body>
</html>