stats.html 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {% extends "base.html" %}
  2. {% block title %}Estadísticas - Renako{% endblock %}
  3. {% block content %}
  4. <div class="space-y-12">
  5. <!-- Stats Hero Section Component -->
  6. <div class="opacity-0 transform translate-y-6" id="statsHero">
  7. {% include 'components/stats_hero.html' %}
  8. </div>
  9. <!-- Statistics Cards Component -->
  10. <div class="opacity-0 transform translate-y-6" id="statsCards">
  11. {% include 'components/stats_cards.html' %}
  12. </div>
  13. </div>
  14. <script>
  15. // Animación de entrada para la página de Estadísticas
  16. document.addEventListener('DOMContentLoaded', function() {
  17. const statsHero = document.getElementById('statsHero');
  18. const statsCards = document.getElementById('statsCards');
  19. // Animar hero section
  20. setTimeout(() => {
  21. statsHero.style.transition = 'all 0.8s ease-out';
  22. statsHero.style.opacity = '1';
  23. statsHero.style.transform = 'translateY(0)';
  24. }, 200);
  25. // Animar cards de estadísticas
  26. setTimeout(() => {
  27. statsCards.style.transition = 'all 0.8s ease-out';
  28. statsCards.style.opacity = '1';
  29. statsCards.style.transform = 'translateY(0)';
  30. }, 500);
  31. });
  32. </script>
  33. {% endblock %}