add global text reveal hook and scroll animations
This commit is contained in:
1 parent
9de9ce7f43
commit
d0c7916386
13 files changed
+431
-262
No files matched your search
@@ -6,12 +6,18 @@ function SharedNavbar({ variant = "light", active = "" }) {
|
||||
const { cart, openCart, openProfile, user } = useShop();
|
||||
const cartLabel =
|
||||
cart.total_quantity > 0 ? `Cart ${cart.total_quantity}` : "Cart";
|
||||
const logoSrc =
|
||||
variant === "hero" ? "/atmos-logo-light.svg" : "/atmos-logo-dark.svg";
|
||||
|
||||
return (
|
||||
<nav className={`navbar navbar--${variant}`} aria-label="Hauptnavigation">
|
||||
<div className="nav-pill">
|
||||
<Link to="/" className={`nav-link ${active === "atmos" ? "active" : ""}`}>
|
||||
atmos
|
||||
<Link
|
||||
to="/"
|
||||
className={`nav-link nav-link--brand ${active === "atmos" ? "active" : ""}`}
|
||||
aria-label="Atmos Startseite"
|
||||
>
|
||||
<img src={logoSrc} alt="" className="nav-brand-logo" />
|
||||
</Link>
|
||||
<Link
|
||||
to="/discovery-set"
|
||||
|
||||
Reference in new issue
Block a user