TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/luigitemu/pikante-landing/llms.txt
Use this file to discover all available pages before exploring further.
Marquee component is a full-width horizontally scrolling ticker that sits between the Hero and Products sections. It reinforces brand identity with a vivid fire-orange background (var(--accent)) and an infinite looping scroll of brand phrases rendered in the Anton display typeface — no JavaScript required.
How it works
The component contains a single.marquee-track flex row whose width is set to max-content. The track holds six text <span> items separated by circular dot dividers. The CSS @keyframes scroll rule translates the track to translateX(-50%), which works because the track’s natural max-content width extends well beyond the viewport — the animation simply slides the strip leftward continuously at 20s linear infinite.
Pure CSS animation
A single
@keyframes scroll rule drives the loop. No scroll listeners, no JavaScript timers.Decorative only
The outer wrapper carries
aria-hidden="true", so screen readers skip it entirely.Accent background
Background is
var(--accent) — oklch(65% 0.21 35deg), the same fire orange-red used throughout the brand.Anton typeface
Text is set in Anton at
34px, uppercase, white — matching the site’s display heading style.Content items
The ticker contains the following labels in order, separated by dot dividers:| # | Text |
|---|---|
| 1 | PIKANTÉ |
| 2 | Hecho en Honduras |
| 3 | Michemix |
| 4 | Hecho en Honduras |
| 5 | Sabor auténtico |
| 6 | Micheladas |
<span class="dot"> — a 10 × 10 px white circle with a subtle box-shadow glow.
CSS animation
The animation keyframe simply translates the track to the left by half its total width:20s linear infinite, which means the full loop completes once every 20 seconds at constant speed. Because the track width is max-content and items are written to fill two visual lengths, the –50% endpoint aligns perfectly with the starting position, giving an invisible seam.
The marquee animation is automatically disabled for users who have
prefers-reduced-motion: reduce set in their OS accessibility preferences. The global CSS rule @media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } } stops the motion while still displaying the ticker content statically.