quantum-ai-v2/templates/base.html
Claude 3fc5f01309 Initial Django project setup with working homepage
- Complete Django project structure with apps/ organization
- Working homepage with exact Next.js recreation (1039 lines)
- User authentication system with wallet balance
- Agent system with processors and models
- Stripe payment integration setup
- All Django migrations and URL routing
- Comprehensive .gitignore file
- Homepage loads successfully (HTTP 200)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-08 16:30:56 +05:30

74 lines
3.2 KiB
HTML

{% 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 %}NetCop AI Hub{% endblock %}</title>
<link rel="icon" type="image/png" href="{% static 'favicon.png' %}">
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<style>
body { font-family: 'Inter', sans-serif; }
.glass { backdrop-filter: blur(10px); background: rgba(255, 255, 255, 0.1); }
.gradient-bg { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
</style>
</head>
<body class="bg-gray-50">
<!-- Navigation -->
<nav class="bg-white shadow-sm border-b">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between items-center h-16">
<div class="flex items-center">
<a href="{% url 'marketplace' %}" class="text-xl font-bold text-gray-900">
NetCop AI Hub
</a>
</div>
<div class="flex items-center space-x-4">
{% if user.is_authenticated %}
<div class="glass px-3 py-1 rounded-full">
<span class="text-sm font-medium">💰 {{ user.wallet_balance }} AED</span>
</div>
<a href="{% url 'pricing' %}" class="text-blue-600 hover:text-blue-800">Top Up</a>
<a href="{% url 'profile' %}" class="text-gray-600 hover:text-gray-800">Profile</a>
<a href="{% url 'logout' %}" class="text-red-600 hover:text-red-800">Logout</a>
{% else %}
<a href="{% url 'login' %}" class="text-blue-600 hover:text-blue-800">Login</a>
<a href="{% url 'register' %}" class="bg-blue-600 text-white px-4 py-2 rounded-md hover:bg-blue-700">Sign Up</a>
{% endif %}
</div>
</div>
</div>
</nav>
<!-- Messages -->
{% if messages %}
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 mt-4">
{% for message in messages %}
{% if message.tags == 'error' %}
<div class="alert alert-error bg-red-100 border border-red-400 text-red-700 px-4 py-3 rounded mb-4">
{% else %}
<div class="alert alert-success bg-green-100 border border-green-400 text-green-700 px-4 py-3 rounded mb-4">
{% endif %}
{{ message }}
</div>
{% endfor %}
</div>
{% endif %}
<!-- Main Content -->
<main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
{% block content %}{% endblock %}
</main>
<!-- Footer -->
<footer class="bg-gray-800 text-white mt-20">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
<div class="text-center">
<p>&copy; 2024 NetCop AI Hub. All rights reserved.</p>
</div>
</div>
</footer>
</body>
</html>