mirror of
https://github.com/thecyberlearn/quantum-ai-v2.git
synced 2026-08-18 12:52:59 +00:00
- Remove icon from SWOT Analysis Expert Try Now button for consistency - All marketplace buttons now use standard "Try Now →" format - Add documentation warnings about marketplace button consistency - Prevent future icon inconsistencies in agent creation process 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
132 lines
6.5 KiB
HTML
132 lines
6.5 KiB
HTML
{% extends 'base.html' %}
|
|
{% load static %}
|
|
|
|
{% block title %}AI Agent Marketplace - Quantum Tasks AI{% endblock %}
|
|
|
|
{% block extra_css %}
|
|
<link rel="stylesheet" href="{% static 'css/agent-base.css' %}">
|
|
<link rel="stylesheet" href="{% static 'css/marketplace.css' %}">
|
|
<style>
|
|
/* All Try Now buttons now use consistent styling from marketplace.css */
|
|
</style>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="agent-container">
|
|
<!-- Marketplace Header -->
|
|
<div class="marketplace-header">
|
|
<h1 class="marketplace-title">🤖 AI Agent Marketplace</h1>
|
|
<p class="marketplace-subtitle">
|
|
Discover powerful AI agents to automate your tasks, boost productivity, and streamline your workflow
|
|
</p>
|
|
</div>
|
|
|
|
<!-- Search Box -->
|
|
<div class="search-box" style="margin-bottom: var(--spacing-lg); max-width: 500px; margin-left: auto; margin-right: auto;">
|
|
<form method="GET" style="position: relative;">
|
|
<span class="search-icon">🔍</span>
|
|
<input type="text" name="search" class="search-input"
|
|
placeholder="Search agents..."
|
|
value="{{ search_query }}"
|
|
onchange="this.form.submit()">
|
|
{% if selected_category %}
|
|
<input type="hidden" name="category" value="{{ selected_category }}">
|
|
{% endif %}
|
|
</form>
|
|
</div>
|
|
|
|
<!-- Category Filter Buttons -->
|
|
<div class="category-filter" style="display: flex; gap: var(--spacing-sm); flex-wrap: wrap; justify-content: center; margin-bottom: var(--spacing-xl);">
|
|
<a href="{% url 'agents:marketplace' %}"
|
|
class="category-btn {% if not selected_category %}active{% endif %}">
|
|
All
|
|
</a>
|
|
{% for category in categories %}
|
|
<a href="?category={{ category.slug }}{% if search_query %}&search={{ search_query }}{% endif %}"
|
|
class="category-btn {% if selected_category == category.slug %}active{% endif %}">
|
|
{{ category.icon }} {{ category.name }}
|
|
</a>
|
|
{% endfor %}
|
|
</div>
|
|
|
|
<!-- Stats -->
|
|
<div class="marketplace-stats">
|
|
{% if search_query %}
|
|
Search results for "{{ search_query }}"
|
|
{% if selected_category %} • {{ selected_category|capfirst }} category{% endif %}
|
|
{% elif selected_category %}
|
|
{{ selected_category|capfirst }} category
|
|
{% endif %}
|
|
</div>
|
|
|
|
<!-- Agents Grid -->
|
|
{% if agents %}
|
|
<div class="agents-grid">
|
|
{% for agent in agents %}
|
|
<div class="agent-card">
|
|
<div class="agent-header">
|
|
<div class="agent-icon">{{ agent.category.icon }}</div>
|
|
<div class="agent-info">
|
|
<h3>{{ agent.name }}</h3>
|
|
<p class="agent-price">{{ agent.price }} AED</p>
|
|
</div>
|
|
</div>
|
|
<p class="agent-description">{{ agent.short_description }}</p>
|
|
<div class="agent-footer">
|
|
{% if user.is_authenticated %}
|
|
{% if agent.slug == 'cybersec-career-navigator' %}
|
|
<a href="{% url 'agents:career_navigator_access' %}" class="try-btn">
|
|
Try Now →
|
|
</a>
|
|
{% elif agent.slug == 'ai-brand-strategist' %}
|
|
<a href="{% url 'agents:ai_brand_strategist_access' %}" class="try-btn">
|
|
Try Now →
|
|
</a>
|
|
{% elif agent.slug == 'lean-six-sigma-expert' %}
|
|
<a href="{% url 'agents:lean_six_sigma_expert_access' %}" class="try-btn">
|
|
Try Now →
|
|
</a>
|
|
{% elif agent.slug == 'swot-analysis-expert' %}
|
|
<a href="{% url 'agents:swot_analysis_expert_access' %}" class="try-btn">
|
|
Try Now →
|
|
</a>
|
|
{% else %}
|
|
<a href="{% url 'agents:detail' agent.slug %}" class="try-btn">Try Now →</a>
|
|
{% endif %}
|
|
{% else %}
|
|
{% if agent.slug == 'cybersec-career-navigator' %}
|
|
<a href="{% url 'authentication:login' %}?next={% url 'agents:career_navigator_access' %}" class="try-btn login-required" style="width: 100%;">
|
|
🔐 Login to Try
|
|
</a>
|
|
{% elif agent.slug == 'ai-brand-strategist' %}
|
|
<a href="{% url 'authentication:login' %}?next={% url 'agents:ai_brand_strategist_access' %}" class="try-btn login-required" style="width: 100%;">
|
|
🔐 Login to Try
|
|
</a>
|
|
{% elif agent.slug == 'lean-six-sigma-expert' %}
|
|
<a href="{% url 'authentication:login' %}?next={% url 'agents:lean_six_sigma_expert_access' %}" class="try-btn login-required" style="width: 100%;">
|
|
🔐 Login to Try
|
|
</a>
|
|
{% elif agent.slug == 'swot-analysis-expert' %}
|
|
<a href="{% url 'authentication:login' %}?next={% url 'agents:swot_analysis_expert_access' %}" class="try-btn login-required" style="width: 100%;">
|
|
🔐 Login to Try
|
|
</a>
|
|
{% else %}
|
|
<a href="{% url 'authentication:login' %}?next={% url 'agents:detail' agent.slug %}" class="try-btn login-required" style="width: 100%;">
|
|
🔐 Login to Try
|
|
</a>
|
|
{% endif %}
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
{% else %}
|
|
<div class="no-results">
|
|
<div class="no-results-icon">🔍</div>
|
|
<h3>No agents found</h3>
|
|
<p>Try adjusting your search or browse all categories</p>
|
|
<a href="{% url 'agents:marketplace' %}" class="btn btn-primary">Browse All Agents</a>
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
{% endblock %} |