The Contáctanos / Reserva section provides a simple reservation and contact form atDocumentation 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.
#contact. It is fully client-side: submissions are validated in the browser and confirmed with an inline message, but no data is sent to a server or stored in the database. The section uses the scroll-right animation class, sliding in from the right as the user scrolls to it.
Form fields
The form (#formContacto) contains three required fields:
| Field | Element | Type | Placeholder |
|---|---|---|---|
| Full name | #nombre | text | Nombre completo |
| Email address | #correo | email | Correo electrónico |
| Message or order | #mensaje | textarea | Tu mensaje o pedido |
Validation and submission
Form handling is attached viaDOMContentLoaded. The handler prevents the default browser submission and validates all three fields before providing feedback.
contact form handler
User fills out the form
The user enters their full name, email address, and a message or reservation request in the three fields.
User submits the form
The browser fires the
submit event. e.preventDefault() stops the default form POST.Validation check
The handler reads the values of all three fields. If any field is empty, it writes the error message to
#respuesta and stops.Success message
Error message
<p id="respuesta"> element directly beneath the submit button.
Current limitations
This form is client-side only. When a user submits a reservation:
- No email is sent to the restaurant or the customer.
- No data is saved to the Django database.
- The confirmation message is purely cosmetic.
Reserva model instance, and optionally send a confirmation email via django.core.mail.Restaurant contact information
The following contact details appear in the site footer alongside social links:| Channel | Details |
|---|---|
| Address | Av. Principal 123 – Lima, Perú |
| Hours | Monday – Sunday, 11:00 am – 10:00 pm |
| Phone | +51 999 999 999 |
| contacto@elsabormarino.pe | |
| Linked in footer | |
| Linked in footer | |
| Phone (footer) | Linked in footer |