feat: Complete frontend redesign with modern UI/UX

- Created modern design system with CSS variables and gradients
- Implemented new base template with dark/light theme support
- Added modern navigation with smooth animations and transitions
- Redesigned home page with hero section, service previews, and interactive elements
- Created modern services page with filtering and modal functionality
- Redesigned about page with team section, stats, and technology stack
- Added comprehensive JavaScript for interactivity and animations
- Implemented responsive design for mobile devices
- Added Font Awesome icons and Google Fonts (Inter)
- Created modular CSS architecture with utility classes
- Added loading screens, scroll-to-top, and theme toggle functionality
- Improved accessibility with proper ARIA labels and semantic markup

Features:
- Dark/Light theme toggle
- Smooth scroll animations
- Interactive service cards
- Modern button styles with ripple effects
- Responsive grid layouts
- Progress bars and statistics
- Mobile-first responsive design
- Clean typography and modern spacing
- Card-based UI with shadows and hover effects
This commit is contained in:
2025-11-23 21:33:37 +09:00
parent 37d7fc74b8
commit a323caf5db
76 changed files with 3788 additions and 42 deletions

View File

@@ -33,8 +33,8 @@ except Exception as e:
logger.error(f"Failed to initialize Telegram bot: {str(e)}")
def home(request):
services = Service.objects.all()
return render(request, 'web/home.html', {'services': services})
services = Service.objects.all()[:6] # Показываем только первые 6 услуг на главной
return render(request, 'web/home_modern.html', {'services': services})
def service_detail(request, pk):
service = get_object_or_404(Service, pk=pk)
@@ -64,10 +64,10 @@ def blog_post_detail(request, pk):
def services_view(request):
services = Service.objects.all()
return render(request, 'web/services.html', {'services': services})
return render(request, 'web/services_modern.html', {'services': services})
def about_view(request):
return render(request, 'web/about.html')
return render(request, 'web/about_modern.html')
def create_service_request(request, service_id):
if request.method == 'POST':