|
1 | 1 | import React, {useEffect, useState} from 'react'; |
2 | | -import {Image, Menu, UserStar, X} from 'lucide-react'; |
| 2 | +import {Image, Menu, UserStar, X, BarChart3} from 'lucide-react'; |
3 | 3 | import posadevLogo from '/media-kit/posadev-logo.png'; |
4 | 4 | import {useLocation, useNavigate} from "react-router-dom"; |
5 | 5 | import {cn} from "@/lib/utils.ts"; |
@@ -68,6 +68,13 @@ const Header = () => { |
68 | 68 | > |
69 | 69 | <span>Agenda</span> |
70 | 70 | </a> |
| 71 | + <a |
| 72 | + onClick={() => navigate('/estadisticas')} |
| 73 | + className={cn("text-white hover:text-posadev-brightPink transition-colors duration-300 flex items-center space-x-1", isActive('/estadisticas') && "text-posadev-brightPink")} |
| 74 | + > |
| 75 | + <BarChart3 className="w-4 h-4" aria-hidden="true"/> |
| 76 | + <span>Estadísticas</span> |
| 77 | + </a> |
71 | 78 | <a |
72 | 79 | onClick={() => { |
73 | 80 | navigate('/code-of-conduct') |
@@ -103,6 +110,13 @@ const Header = () => { |
103 | 110 | > |
104 | 111 | Agenda |
105 | 112 | </a> |
| 113 | + <a |
| 114 | + onClick={() => navigateMenu('/estadisticas')} |
| 115 | + className={cn("w-full flex items-center gap-2 text-white hover:text-posadev-brightPink transition-colors px-4 py-1 duration-300 space-x-2", isActive('/estadisticas') && "text-posadev-brightPink")} |
| 116 | + > |
| 117 | + <BarChart3 className="w-4 h-4" aria-hidden="true"/> |
| 118 | + Estadísticas |
| 119 | + </a> |
106 | 120 | <a |
107 | 121 | onClick={() => navigateMenu('/#patrocinadores')} |
108 | 122 | className={cn("w-full bg-gradient-to-r from-posadev-darkPink to-posadev-brightPink text-white px-4 py-3 rounded-lg flex items-center space-x-2 gap-2", isActive('/#patrocinadores') && "underline shadow-posadev-brightPink/25")} |
|
0 commit comments