mirror of
https://github.com/thecyberlearn/quantum-ai.git
synced 2026-08-18 12:53:00 +00:00
Hide footer on agent pages only
- Add conditional logic to show footer on all pages except agent pages - Use request.path check to detect '/agents/' URLs - Footer still appears on home, marketplace, pricing, and other pages - Only hidden on individual agent detail pages Benefits: - Cleaner agent page experience - Footer remains for marketing/info pages - Simple URL-based detection
This commit is contained in:
parent
55214b1dc3
commit
7a3d0b65ee
@ -52,7 +52,8 @@
|
|||||||
{% block content %}{% endblock %}
|
{% block content %}{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Footer -->
|
<!-- Footer (hidden on agent pages) -->
|
||||||
|
{% if not request.resolver_match.url_name == 'agent_detail' and '/agents/' not in request.path %}
|
||||||
<footer class="footer" id="footer">
|
<footer class="footer" id="footer">
|
||||||
<div class="footer-container">
|
<div class="footer-container">
|
||||||
<!-- Main Footer Content -->
|
<!-- Main Footer Content -->
|
||||||
@ -117,6 +118,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<!-- Privacy Policy Modal -->
|
<!-- Privacy Policy Modal -->
|
||||||
<div class="modal-overlay" id="privacy-modal">
|
<div class="modal-overlay" id="privacy-modal">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user