Documentation 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.
Hero.astro is the first thing every visitor sees: a full-viewport header that combines the brand headline, an animated eyebrow row, a primary CTA, three product-stat callouts, and the PrepVideo React island that loads a demo video only when the component enters the viewport.
Section structure
The component renders a<header class="hero"> that contains a single .container > .hero-inner grid. Inside the .reveal content div you’ll find, in order:
- Eyebrow row — a flex strip with an animated accent dot, the label “Mix para michelada”, a muted separator
/, and “Producto 100% Hondureño”. <h1>display headline — “El Mejor Mix para tus Micheladas” with styled sub-spans (see Typography below).- CTA button — an anchor styled as
.btn.btn-primarypointing to#saboreswith the label “Ver sabores” and an inline arrow SVG. - Hero meta stats — three labelled statistics below a rule.
PrepVideoReact island — rendered immediately after the.revealdiv withclient:visible.
Hero meta stats
The.hero-meta div uses a 3-column auto grid separated from the content above by a 1px top border and 24px of padding. Each stat is a <div> with a bold Anton-font figure and a JetBrains Mono label below it.
| Figure | Label |
|---|---|
$ | La más accesible del mercado |
15s | Prepárala en tiempo record |
HN | Hecho en Honduras |
PrepVideo React island
PrepVideo is the only interactive island on this page. It is imported as a React component and mounted with Astro’s client:visible directive, which means the JavaScript bundle is fetched and the component hydrates only after the element scrolls into the viewport. This keeps the initial page weight low on above-the-fold paint.
Changing
client:visible to client:load will hydrate PrepVideo immediately on page load — useful during development but adds JS to the critical path in production.Typography
The.h-display class is defined globally and uses the Anton font with a fluid clamp size:
<h1>:
.flame-letter— applied to the italic<em>Mix</em>. Setscolor: var(--accent)(the fire orange) andfont-style: italic. An optionaltext-shadowglow is present but commented out in source..stroke— applied to “Micheladas”. Produces hollow outlined text via-webkit-text-stroke: 1.5px var(--paper)withcolor: transparent.
CSS: .hero layout
min-height: 100vh guarantees the section always fills the browser window. The radial gradient background layers a warm var(--accent-soft) glow at the lower-right and a subtle red at the upper-left over the base var(--bg) dark charcoal.
.reveal scroll animation
The .reveal class is placed on the content wrapper div. Elements start invisible and translated down; a scroll-observer script adds .in once they enter the viewport: