Skip to content

Commit

Permalink
Init stats page
Browse files Browse the repository at this point in the history
  • Loading branch information
guillecro committed Feb 2, 2024
1 parent 9538f8b commit 17d9499
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
15 changes: 15 additions & 0 deletions src/app/admin/estadisticas/page.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@



const StatsAdminPage = () => {
return (
<div>
<h1 className="subtitle is-6 has-text-grey">(re)surgentes</h1>
<h1 className="title is-3 mb-5">Estadisticas</h1>
</div>
);
}

StatsAdminPage.displayName = 'StatsAdminPage';

export default StatsAdminPage;
3 changes: 2 additions & 1 deletion src/components/admin/sideMenu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export default function AdminSideMenu({ children }) {
<aside className="menu">
<ul className="menu-list">
<li><Link href="/admin" className={isRouteActive('/admin') ? 'is-active' : ''}>Inicio</Link></li>
<li><Link href="/admin/estadisticas" className={isRouteActive('/admin/estadisticas') ? 'is-active' : ''}>Estadisticas</Link></li>
</ul>
<p className="menu-label has-text-black has-text-weight-bold">
Proyectos
Expand All @@ -31,7 +32,7 @@ export default function AdminSideMenu({ children }) {
<li>
<Link href="/admin/usuarios" className={isRouteActive('/admin/usuarios') ? 'is-active' : ''}>Listar</Link>
</li>
<li><a>Administrar roles</a></li>
{/* <li><a>Administrar roles</a></li> */}
</ul>
</aside>
);
Expand Down

0 comments on commit 17d9499

Please sign in to comment.