fix: Resolve URL routing issues and add favicon

- Fixed URL name from 'about_view' to 'about' to match template usage
- Added inline SVG favicon to avoid 404 errors
- All pages now load without NoReverseMatch errors
- Modern design is fully functional
This commit is contained in:
2025-11-23 21:36:12 +09:00
parent a323caf5db
commit 1edb781a25
3 changed files with 4 additions and 2 deletions

View File

@@ -0,0 +1,2 @@
<!-- Placeholder for favicon - this would be a binary file in real scenario -->
<!-- Create a simple favicon.ico file -->

View File

@@ -29,7 +29,7 @@
<link rel="manifest" href="/static/manifest.json">
<!-- Favicon -->
<link rel="icon" type="image/x-icon" href="{% static 'assets/img/favicon.ico' %}">
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%236366f1'/><text y='70' font-size='60' fill='white' font-family='Arial,sans-serif' text-anchor='middle' x='50'>S</text></svg>">>
<title>{% block title %}SmartSolTech - Современные IT-решения{% endblock %}</title>

View File

@@ -12,7 +12,7 @@ urlpatterns = [
path('blog/<int:pk>/', views.blog_post_detail, name='blog_post_detail'),
path('services/', views.services_view, name='services'),
# path('create_order/<int:pk>/', views.create_order, name='create_order'),
path('about/', views.about_view, name="about_view"),
path('about/', views.about_view, name="about"),
path('service/generate_qr_code/<int:service_id>/', views.generate_qr_code, name='generate_qr_code'),
path('service/request_status/<int:service_id>/', views.request_status, name='request_status'),
path('service/request/<int:service_id>/', views.create_service_request, name='create_service_request'),