The Platos Marinos section is the heart of the El Sabor Marino homepage. It presents the restaurant’s full seafood offering through an interactive, auto-scrolling carousel built with Owl Carousel. Each dish card displays a photo, name, description, and price, along with an “Agregar” button that adds the item directly to the client-side shopping cart.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/diazdavilajesus16-stack/Sevicheria-Mar-sabroso/llms.txt
Use this file to discover all available pages before exploring further.
Dishes
All 8 menu items are rendered as individual carousel cards inside the#menu section.
| Dish | Price | Description |
|---|---|---|
| Ceviche Clásico | S/ 25.00 | Pescado del día marinado con limón, cebolla y ají |
| Ceviche Mixto | S/ 30.00 | Mariscos frescos con sabor peruano |
| Pulpo a la Parrilla | S/ 40.00 | Pulpo con aceite de oliva y especias |
| Langostinos al Ajillo | S/ 35.00 | Langostinos salteados con mantequilla, ajo y limón |
| Arroz con Mariscos | S/ 28.00 | Arroz con camarones, calamares y mejillones |
| Pescado a la Plancha | S/ 27.00 | Filete fresco con verduras al vapor |
| Calamares Rellenos | S/ 32.00 | Calamares rellenos con puré cremoso |
| Chupe de Camarones | S/ 26.00 | Sopa cremosa tradicional peruana |
Carousel behavior
The menu uses Owl Carousel initialized on.menu-carousel. The configuration is responsive and loops continuously.
menu carousel init
| Breakpoint | Visible items |
|---|---|
| 0px (mobile) | 1 |
| 600px (tablet) | 2 |
| 1000px (desktop) | 3 |
- Loop: Enabled — the carousel wraps around continuously.
- Autoplay: Advances every 3,500ms (3.5 seconds).
- Nav: Previous/next arrow buttons are shown.
- Dots: Dot indicators are shown below the carousel.
- Margin: 25px gutter between cards.
Adding a dish to the cart
Each dish card includes a button that callsagregarCarrito() with the dish name and price:
dish card button
agregarCarrito function pushes the item into the in-memory carrito array and displays a toast notification to the user:
agregarCarrito
Django admin: managing menu items
Menu content is managed through two Django models defined inmenu/models.py.
menu/models.py
Manage categories
Use the
Categoria model to create or edit menu categories (e.g., Ceviches, Parrillas, Sopas).The frontend carousel currently renders dishes from static HTML. To dynamically pull dishes from the database, the view rendering
home.html must query Plato.objects.filter(disponible=True) and pass them to the template context.