TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/bicyblex/bicyblexStore/llms.txt
Use this file to discover all available pages before exploring further.
ElectricKits component (src/components/index/electricKits.jsx) renders a dedicated storefront section for electric bicycle conversion kits — one of Bicyblex’s key product lines and a major differentiator in the Peruvian e-mobility market. Unlike the bicycles and motos sections which display full product grids, the kits section is intentionally curated: it surfaces a maximum of three kit products from Supabase alongside a fixed “custom project” card, creating a focused and high-converting layout for visitors interested in electrifying their existing bikes.
How Products Are Loaded
On mount, the component fetches all records from theproducts table with their category relations, then filters in the frontend to only those belonging to the Kits Eléctricos category:
Category Slug
Products displayed in this section use the category nameKits Eléctricos (as stored in the categories table). The corresponding slug used in admin forms and URL routing is kits-electricos.
The only product spec field for this category is descripcion — a free-text field that becomes the short description shown on the kit card. If no description is provided, the component falls back to the default string "Ingeniería de alta potencia para tu ruta.".
| Category | Slug | Spec Field |
|---|---|---|
| Kits Eléctricos | kits-electricos | descripcion |
WhatsApp CTA
Each of the three dynamic kit cards links to a product-specific WhatsApp message, constructed by appending the kit name to the standardproductWhatsAppMessageUrl:
In
pages/index.js, the <ElectricKits /> component is positioned after <ElectricMotos /> and before <Features />. Visitors reach this section after scrolling through the full bicycle and moto inventories, making them a warm audience already engaged with Bicyblex’s electric mobility product line.