feat(F-141): completed feature

This commit is contained in:
chattie
2026-08-21 22:02:01 +02:00
parent 0a1d32ecc3
commit 022347349d
17 changed files with 253 additions and 31 deletions

View File

@@ -4,8 +4,8 @@ import type { Metadata } from 'next';
import { fetchBrandBySlug, fetchProducts, formatPrice } from '@/lib/api';
import { formatRichText } from '@/lib/format-rich-text';
// ISR para fichas de marca (F-132).
export const revalidate = 3600;
// Brand data comes from the live backend; resolve it at request time.
export const dynamic = 'force-dynamic';
interface Props {
params: Promise<{ slug: string }>;

View File

@@ -3,8 +3,8 @@ import type { Metadata } from 'next';
import { fetchBrands } from '@/lib/api';
import { CmsBlock } from '@/components/content/CmsBlock';
// ISR para /brands (F-132).
export const revalidate = 3600;
// The catalog is served by the live backend; never fetch it during build.
export const dynamic = 'force-dynamic';
export const metadata: Metadata = {
title: 'Marcas — mercadodevida',