All seminar data lives in a single JavaScript array declared at the top ofDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/val20-11/Pagina-de-Seminarios-y-Eventos-UIM/llms.txt
Use this file to discover all available pages before exploring further.
js/seminarios.js. There is no database, no API, and no CMS. To add, edit, or remove a seminar you edit that file directly and save — the page reflects the change immediately on next load.
Seminar object structure
Each entry in theseminarios array is a plain JavaScript object with the following fields:
Field reference
tipo
tipo
Controls the category badge rendered on the card and which filter button shows the seminar. Must be one of three exact string values:
The value also determines which placeholder image is used when
| Value | Badge label | Badge color | Filter button |
|---|---|---|---|
'anual' | ANUAL | #003B6F dark blue | Anuales |
'permanente' | PERMANENTE | #1f4b7a medium blue | Permanentes |
'especial' | SEMINARIO | #B38633 gold (text #003B6F) | Otros |
imagen is absent (see below).titulo
titulo
The full seminar title. Rendered as the card
<h3> and pre-selected in the registration modal’s dropdown. Keep it accurate — the modal’s seminar selector is populated directly from this field.objetivo
objetivo
A description of the seminar’s goal. Displayed inside a left-bordered block on the card. Long text is clamped to three lines with a “Ver más / Ver menos” toggle button generated automatically. No HTML is needed.
responsable
responsable
The name of the person responsible for the seminar. Rendered with a user icon. Required — there is no conditional check; an empty string will render an empty row.
correo
correo
Email address of the contact. Rendered with an envelope icon inside a pill badge. Set to an empty string (
'') or omit the field to hide the row entirely — the rendering code checks if (s.correo) before outputting HTML.telefono
telefono
Phone number, including extensions if needed. Rendered with a phone icon inside a pill badge. Same conditional logic as
correo — an empty string hides the row.areas
areas
An array of knowledge-area strings. Each string becomes a small pill tag on the card, preceded by a tag icon. You can include as many areas as needed. Example from the source:To show no area tags, pass an empty array:
areas: [].imagen
imagen
A path or URL to the card’s header image. The image is displayed at full width with
If the image fails to load entirely, a fallback
height: 160px and object-fit: cover. This field is optional. When omitted (or when the URL returns a 404), the card falls back to a type-specific placeholder:| tipo | Placeholder URL |
|---|---|
'anual' | https://via.placeholder.com/400x160/003B6F/ffffff?text=Seminario+Anual |
'permanente' | https://via.placeholder.com/400x160/1f4b7a/ffffff?text=Seminario+Permanente |
'especial' | https://via.placeholder.com/400x160/B38633/003B6F?text=Seminario |
<div> with a chalkboard icon on a dark blue background is displayed.Real examples from the source
Below are two entries taken directly fromjs/seminarios.js to illustrate different configurations:
- Anual (no correo, no imagen)
- Especial (con teléfono)
- Con correo
How to add a new seminar
Open js/seminarios.js
Open
js/seminarios.js in your editor. The seminarios array starts on line 2 and ends before the closing ]; on line 37.Choose where to insert
Entries are grouped by type with comments:
// Anuales, // Permanentes, and // Otros. Insert your new object inside the appropriate group. Add a comma after the preceding object.Verify the array syntax
Every object in the array except the last must be followed by a comma. The last object must not have a trailing comma. Check that the outer
]; that closes the array is still intact.How to edit an existing seminar
Locate the object by searching for itstitulo value, then update any fields you need. You can change tipo to move a seminar to a different filter category — just make sure the value is one of 'anual', 'permanente', or 'especial'.
How to remove a seminar
Delete the entire object (from the opening{ to the closing }) along with its trailing comma. Verify that the object before the deleted entry no longer has an orphaned trailing comma if it was the last in the array.