Added installation notification
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { Link } from '@tanstack/react-router'
|
||||
import { Logo } from '../brand'
|
||||
import { Breadcrumb } from './Breadcrumb'
|
||||
import { ThemeToggle } from './ThemeToggle'
|
||||
@@ -8,9 +9,12 @@ export function Header() {
|
||||
<header className="sticky top-0 z-40 h-16 w-full border-b border-border bg-background/90 backdrop-blur">
|
||||
<div className="mx-auto flex h-full w-full max-w-7xl items-center justify-between px-4 lg:px-6">
|
||||
<div className="flex min-w-0 items-center">
|
||||
<a href="/" className="flex items-center lg:hidden" aria-label="Gruperly inicio">
|
||||
{/* `Link` y no `<a>`: en mobile el logo es la única forma de volver al
|
||||
inicio y un anchor recargaría el documento entero, perdiendo el
|
||||
estado en memoria (cache de React Query, evento de instalación). */}
|
||||
<Link to="/" className="flex items-center lg:hidden" aria-label="Gruperly inicio">
|
||||
<Logo className="h-8" />
|
||||
</a>
|
||||
</Link>
|
||||
<Breadcrumb />
|
||||
</div>
|
||||
<div className="flex items-center gap-2">
|
||||
|
||||
Reference in New Issue
Block a user