Added installation notification

This commit is contained in:
Jose Selesan
2026-09-28 22:20:11 -03:00
parent 2fd1826014
commit 56096b1e35
9 changed files with 167 additions and 30 deletions

View File

@@ -8,9 +8,11 @@ export function Sidebar() {
return (
<aside className="sticky top-16 hidden h-[calc(100dvh-4rem)] w-64 shrink-0 flex-col border-r border-border bg-surface px-4 py-6 lg:flex">
<a href="/" className="mb-8 flex items-center px-1" aria-label="Gruperly inicio">
{/* `Link` y no `<a>`: un anchor recargaría el documento y perdería el
estado en memoria (cache de React Query, evento de instalación). */}
<Link to="/" className="mb-8 flex items-center px-1" aria-label="Gruperly inicio">
<Logo className="h-10" />
</a>
</Link>
<nav className="flex flex-col gap-1">
{NAV_ITEMS.map(({ label, to, icon: Icon }) => {