<!-- templates/dashboard.html -->
{% extends 'base.html' %}
{% block title %}Dashboard - BlickBox{% endblock %}
{% block content %}
<div class="form-box">
    <h2>Welcome to BlinkBox!</h2>
    <p>You are now logged in. Explore movies and series!</p>
    <button onclick="logout()">Log Out</button>
</div>
{% endblock %}
{% block scripts %}
<script>
    function logout() {
        localStorage.removeItem('access_token');
        localStorage.removeItem('refresh_token');
        window.location.href = '/login/';
    }
</script>
{% endblock %}