Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/AndresLopezCorrales/Boletilandia/llms.txt

Use this file to discover all available pages before exploring further.

After signing in, the Boletilandia home page is your central hub for discovering live events. It greets you with an animated artist image banner, followed by a grid of upcoming concerts pulled directly from the database — each card showing the event name, venue photo, location, and date so you can find your next show at a glance.

Reaching the Home Page

The home page is served at GET /home. The route checks that you are authenticated and that your account’s usertype field equals user. If either condition is not met, you are redirected back. Admin accounts visiting /home are sent to the admin dashboard instead.
1

Log in to your account

Navigate to the root URL (/) and complete the Jetstream login flow. Once authenticated, you will be redirected automatically.
2

Navigate to /home

Click the Boletilandia logo or the Home link in the navigation bar. Both links point to /home.
3

Browse the event listing

Scroll past the artist carousel to the Eventos heading. All upcoming events are displayed as clickable cards.
At the very top of the page — below the navigation bar and above the event listing — sits a full-width animated sliding banner. It continuously scrolls a row of artist photos sourced from the storage/artistas/ directory. The banner is duplicated internally so the animation loops seamlessly. Hovering over the banner pauses the scroll, letting you linger on any image. The carousel currently features the following artist images from storage: humbe.jpg, wos.jpg, billie.jpg, radioheads.jpg, nsqk.jpg, exo.jpg, and alvaro.jpg.

The Event Listing

Below the Eventos heading, events are rendered as bordered cards laid out in a responsive wrap grid. Each card displays:
FieldSource column
Event nameNombreEvento
Venue imageimagen_path (served from storage/)
Venue nameLugarEvento
Event dateFechaEvento
The entire card is a link that navigates to the event detail page (see Viewing Event Details below).
Only events whose FechaEvento is greater than or equal to today’s date are shown. The route uses Carbon::now()->format('Y-m-d') to determine the current date, then queries Evento::where('FechaEvento', '>=', $fechaActual)->orderBy('FechaEvento', 'asc'). Past events are automatically excluded.

Viewing Event Details

Clicking any event card navigates to:
GET /home-pagina_eventos/{evento}
This route is handled by HomeController::mostrarPaginaEvento() and requires the user middleware. The resulting detail page (home.pagina_eventos) renders the following fields from the Evento model:

NombreEvento

The full name of the concert or event, displayed as a large heading.

imagen_path

The event poster image, served from storage/. Displayed at full size beside the details panel.

LugarEvento

The name of the venue where the event takes place.

DireccionEvento

The street address of the venue.

FechaEvento

The scheduled date of the event.
A Comprar button on the detail page submits a form to POST /home-seleccionboleto_eventos/{evento} to begin the seat-selection flow. See Purchasing Tickets for full details.

Empty State

When no upcoming events exist in the database, the listing area renders the following message in place of the card grid:
No hay eventos disponibles.
This is the Blade conditional @if($events->isNotEmpty()) … @else … @endif that wraps the event loop. No further action is required — the page remains fully functional and will display events as soon as new ones are added by an administrator.

Build docs developers (and LLMs) love