The GCS Insights section (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/gcsconsultores/gcs-website/llms.txt
Use this file to discover all available pages before exploring further.
<Insights />, located at components/sections/Insights/insights.tsx) is the editorial hub of the website. It presents three types of content in a unified layout: articles in a Swiper carousel on the left, a news sidebar on the right, and a multimedia grid below. All content is declared as static TypeScript arrays in a single data file — components/sections/Insights/insight-data.ts — so adding or updating content requires no JSX edits. The homepage shows only items flagged with home_destacado: true (articles) or publicado_home: true (multimedia), and pinned articles always sort first.
Data File Location
Articles (articlesData)
Three articles are currently defined. Each article object carries the following fields:
Current Articles
| ID | Tag | Title | Read time | Home? | Pinned? | Published |
|---|---|---|---|---|---|---|
| 1 | CALIDAD | ¿Su empresa gestiona la calidad… o solo administra documentos? | 4 min | ✅ | ✅ | 2026-07-10 |
| 2 | COMPLIANCE | SARLAFT: Más cumplimiento, inteligencia empresarial | 6 min | ✅ | ❌ | 2026-07-05 |
| 3 | SST | Nueva normativa SST 2026 | 3 min | ❌ | ❌ | 2026-07-12 |
News Items (newsData)
Two regulatory news items feed the sidebar panel rendered by <NewsSidebar />:
Multimedia Items (multimediaData)
Three multimedia items are defined — one image and two videos — rendered by <MultimediaGrid /> below the article carousel and news sidebar:
| ID | Type | Source | Poster | Label / Title | Vertical? | Published home? |
|---|---|---|---|---|---|---|
| 1 | image | /Insights/reporte-anual.jpeg | — | — | — | ✅ |
| 2 | video | /sandra-video.mp4 | /poster-entrevista.jpg | 1 de marzo al 31 de julio de 2026 | ✅ | ✅ |
| 3 | video | /resolucion-video.mp4 | /poster-resolucion.jpg | Resolución 3461 de 2025 – Parte II: Nuevo rol del Comité de Convivencia | ❌ | ✅ |
isVertical flag on video items signals to <MultimediaGrid /> that the video should be rendered in a portrait/vertical aspect ratio, which is the correct treatment for mobile-captured footage.
Content Visibility Flags
home_destacado (articles)
Controls whether an article appears in the homepage carousel. The <Insights /> component filters the article list with:
home_destacado: false on an article to keep it in the data file (available for the full insights listing page) without showing it on the homepage.
is_pinned (articles)
Controls sort order within the home_destacado subset. Pinned items always appear first; among non-pinned items, sort order falls back to fecha_publicacion descending (newest first):
publicado_home (multimedia)
Controls whether a multimedia item is rendered in <MultimediaGrid /> on the homepage. Set to false to draft a video or image without showing it publicly.
Frequently Asked Questions
How do I add a new article?
How do I add a new article?
Append a new object to the
articlesData array in components/sections/Insights/insight-data.ts. Provide a unique id, a URL-safe slug, and a valid ISO 8601 fecha_publicacion timestamp. To show it on the homepage, set home_destacado: true. To have it appear before other articles, also set is_pinned: true. Place the article’s hero image in /public/Insights/ and reference it in the image field.How do I feature an article on the homepage?
How do I feature an article on the homepage?
Set
home_destacado: true on the article object in articlesData. The homepage carousel shows a maximum of two articles — if more than two are flagged, only the two with the highest sort priority (pinned first, then newest by fecha_publicacion) will be shown. To guarantee a specific article appears first, set is_pinned: true on it and is_pinned: false on all others.How do I add a new video?
How do I add a new video?
Append a new object to the
multimediaData array with type: 'video', a src path pointing to a video file in /public/, a poster path for the thumbnail frame, and publicado_home: true. If the video was recorded in portrait orientation, set isVertical: true so the multimedia grid renders it with the correct aspect ratio.All three data arrays —
articlesData, newsData, and multimediaData — live in components/sections/Insights/insight-data.ts. Editing this single file is the only step needed to add, remove, or update any Insights content on the website.