{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{% block title %}Portfolio{% endblock %} – Invest</title>
    <link href="{% static 'css/dist/styles.css' %}" rel="stylesheet">
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" rel="stylesheet">
    <script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.0/dist/chart.umd.min.js"></script>
    {% block extra_head %}{% endblock %}
</head>
<body class="bg-stone-100 min-h-screen">

<!-- Navigation -->
<nav class="bg-gray-900 text-white px-6 py-4 shadow-lg">
    <div class="max-w-7xl mx-auto flex items-center justify-between">
        <div class="flex items-center space-x-6">
            <a href="{% url 'invest-dashboard' %}" class="text-lg font-bold text-white flex items-center">
                <i class="fas fa-chart-line mr-2 text-green-400"></i>Invest
            </a>
            <a href="{% url 'invest-dashboard' %}" class="text-gray-300 hover:text-white text-sm">Portfolios</a>
        </div>
        <a href="{% url 'link_list' %}" class="text-gray-400 hover:text-white text-sm">
            <i class="fas fa-arrow-left mr-1"></i>GoLinks
        </a>
    </div>
</nav>

<main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
    {% block content %}{% endblock %}
</main>

{% block extra_js %}{% endblock %}
</body>
</html>
