> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bbrands.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Home

> The portal’s first screen: news, featured items, shortcuts and Club benefits.

## At a glance

| Field | Value |
| - | - |
| Status | **Available** |
| Route | `/{locale}/home` |
| Menu | **Home** (first menu item) |
| Feature flag | `portal-customer-home` (always on, locked) |
| Who sees it | Every signed-in customer |
| Last verified | 2026-11-24 against `feature/horizon/referrals-links` (`02915bad12`) |

## What it is for

Home is the portal's front page. It greets the customer, shows the news and promotions Maihue publishes, gives shortcuts to the most used sections and highlights Club Maihue benefits. It is also the safe place the portal takes the customer to when a section is switched off.

## How to get there

* When entering the portal or after signing in.
* From the sidebar: **Home**.
* Automatically, when a switched-off section is opened.

![Home and its exits: the carousel and featured items lead to a section, an external link, the Invite a friend page or the app stores; shortcuts and the benefits row lead to each switched-on section.](https://mintcdn.com/bbrands/OR4cMsOnQAVH_MQb/images/portal-customer-manual/home-navigation.svg?fit=max\&auto=format\&n=OR4cMsOnQAVH_MQb\&q=85\&s=ffcca7b5058255ed048e0627549cf0bf)

What can be done from Home

## What the customer sees

> [tab] Desktop
>
> ![Home with the Hello Ana greeting, the news carousel and the start of Featured.](https://mintcdn.com/bbrands/faC9xD4-ppUP5Q_S/images/portal-customer-screens/home/overview.en.desktop.webp?fit=max\&auto=format\&n=faC9xD4-ppUP5Q_S\&q=85\&s=60467da834a97f1a7fd56612b239155b)

> [tab] Mobile
>
> ![Home with the Hello Ana greeting, the news carousel and the start of Featured.](https://mintcdn.com/bbrands/RmQmo8S4AibSINhm/images/portal-customer-screens/home/overview.en.mobile.webp?fit=max\&auto=format\&n=RmQmo8S4AibSINhm\&q=85\&s=05a28afeea4d76a9e677b110bc5bfe56)

| # | Element | What it does |
| - | - | - |
| 1 | "Hello Ana!" | Greeting with the customer's name |
| 2 | Carousel and **Featured** | News and promotions from the Home CMS; some have a button, others are tapped as a whole |
| — | **Quick access** | Shortcuts to My products, Schedule maintenance, Documents, Payment methods, Coupons and Support (only those switched on) |
| — | **Benefits** | Featured Club benefits with **See all** |

## Step by step

**1. See the news**

Swipe the carousel with the arrows or the dots. A button (for example **See benefits**) or the whole card leads to its destination.

**2. Use a shortcut**

Tap the shortcut to the section needed.

> [tab] Desktop
>
> ![Featured items and the Quick access grid with six sections.](https://mintcdn.com/bbrands/faC9xD4-ppUP5Q_S/images/portal-customer-screens/home/shortcuts.en.desktop.webp?fit=max\&auto=format\&n=faC9xD4-ppUP5Q_S\&q=85\&s=94fadd9d4c3ea66c8810792dbb651e95)

> [tab] Mobile
>
> ![Featured items and the Quick access grid with six sections.](https://mintcdn.com/bbrands/RmQmo8S4AibSINhm/images/portal-customer-screens/home/shortcuts.en.mobile.webp?fit=max\&auto=format\&n=RmQmo8S4AibSINhm\&q=85\&s=7d312b0b8c88d0aacd3dc5268e3b9bd6)

**3. See Club benefits**

The **Benefits** row shows featured benefits; **See all** opens the catalog.

> [tab] Desktop
>
> ![Benefits row with three Club cards, their valid days and the See details button.](https://mintcdn.com/bbrands/faC9xD4-ppUP5Q_S/images/portal-customer-screens/home/benefits.en.desktop.webp?fit=max\&auto=format\&n=faC9xD4-ppUP5Q_S\&q=85\&s=eb3f6aa414980ff010cc179abbdc4f50)

> [tab] Mobile
>
> ![Benefits row with three Club cards, their valid days and the See details button.](https://mintcdn.com/bbrands/RmQmo8S4AibSINhm/images/portal-customer-screens/home/benefits.en.mobile.webp?fit=max\&auto=format\&n=RmQmo8S4AibSINhm\&q=85\&s=2ebe8e3bb02f02fca593df19c92c61a6)

## Business rules

| ID | Rule |
| - | - |
| R-01 | Home cannot be switched off: its flag is locked |
| R-02 | The carousel and featured items come from the Home CMS, managed in Horizon Enterprise, and are requested in the portal language |
| R-03 | Only visible items (published and within their dates) show, in their order |
| R-04 | A CMS item can lead to a portal section, an external https link, the Invite a friend page (where the customer picks the business unit of their link) or the device's app store |
| R-05 | Shortcuts and the benefits row honour the feature flags: a switched-off section does not show |
| R-06 | The benefits row only shows with `portal-customer-benefits` on |

## States and messages

| State | What the customer sees | Why | What to do |
| - | - | - | - |
| No news | "There are no announcements right now." | No visible carousel items | Publish in the CMS |
| No featured items | "There are no featured highlights right now." | No visible items | Publish in the CMS |
| Limited benefit | "N left!" or "You reached the limit…" | Low stock or the customer's limit | See the benefit detail |

## Errors

| Message | Cause | Backend code | Support action |
| - | - | - | - |
| — (CMS errors show as empty states) | The CMS did not answer | `GET …/home-carousel/visible`, `…/home-featured/visible` | Check the CMS in Horizon Enterprise; reload |

## Why it works this way

![How Home is built: it reads the flags, asks the CMS for carousel and featured items in the portal language, filters shortcuts by flag and asks for featured Club benefits when their flag is on.](https://mintcdn.com/bbrands/w6DX1nTsRjzB7VQp/images/portal-customer-manual/home-process.svg?fit=max\&auto=format\&n=w6DX1nTsRjzB7VQp\&q=85\&s=2611a2c29135310b9019292eb57983f3)

How Home is built

Home is built from content Maihue changes without a deploy (the CMS) and from shortcuts that honour what is switched on, so the customer never reaches a section that does not exist.

## Technical detail

| Aspect | Detail |
| - | - |
| Screen | `components/screens/portal/home-screen.tsx`, `components/portal/home/*` |
| CMS | `GET /api/v3/portal/customer/home-carousel/visible?locale=`, `GET /api/v3/portal/customer/home-featured/visible?locale=` |
| Actions | `app/lib/portal/cta-dispatcher.ts` (`internal_route`, `external_url`, …) |
| Shortcuts | `app/lib/portal/home-shortcuts.ts` |
| Benefits | `GET /api/v3/code/coupon/maihue-club/catalog?featured=true` |
| Texts | `messages` › `home` |
| Initiative | `portal-customer/home-cms` |

## FAQ and support cases

> [accordion] The customer does not see the carousel
>
> There are no visible items in their language or they are out of date. Check the Home CMS in Horizon Enterprise.

> [accordion] A shortcut is missing
>
> Its section is switched off in that environment (see Feature flags).

## Related and history

* [Navigation map](https://docs.bbrands.io/portal-customer/navigation-map.md)
* [Feature flags](https://docs.bbrands.io/portal-customer/reference/feature-flags.md)

| Date | Change |
| - | - |
| 2026-11-24 | The invitation CTA opens Invite a friend instead of sharing a code |
| 2026-11-10 | First version |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.