feat(shared): update base and navbar templates with new features and improvements

- Added HTMX integration for enhanced interactivity
- Introduced favicon support and updated site title
- Fixed navbar link routing

**New Features**
- **HTMX Support**: Added HTMX script inclusion to enable modern AJAX functionality
- **Favicon Support**: Implemented favicon linking using Django's static file system

**Enhancements & Refinements**
- **Branding**: Changed page title from generic 'My Django App' to 'DevSuite'
- **Navigation**: Updated navbar project link to use proper Django URL reverse lookup
- **Formatting**: Improved HTML structure with better spacing and indentation
This commit is contained in:
sankalp committed 2025-12-14 09:39:46 +05:45
1 parent 8d984fc46c
commit 340be253a3
2 files changed
+13 -4

No files matched your search

+12 -3
View File
@@ -1,16 +1,25 @@
<!DOCTYPE html>
{% load tailwind_cli %}
{% load static %}
<html lang="en" data-theme="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Django App</title>
<title>DevSuite</title>
{% tailwind_css %}
<!-- HTMX -->
<script src="https://unpkg.com/htmx.org@1.9.10"></script>
<!-- Favicon -->
<link rel="icon" href="{% static 'img/favicon.ico' %}" type="image/x-icon">
</head>
<body class="bg-base-200">
<div class="container mx-auto px-4">
{% block content %}{% endblock %}
</div>
</body>
</html>
</html>
+1 -1
View File
@@ -49,7 +49,7 @@
</a>
</li>
<li>
<a href="#"
<a href="{% url 'project_list' %}"
class="flex items-center py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent transition-colors duration-200">
<svg class="w-5 h-5 me-2" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24"
height="24" fill="none" viewBox="0 0 24 24">