feat: preserve grounded sector ideas through private investment dossiers in QA

This commit is contained in:
2026-11-15 20:31:57 +02:00
parent 25d18f51bb
commit 6e7dfdabd0
17 changed files with 882 additions and 36 deletions
+16 -2
View File
@@ -1,4 +1,7 @@
import SectorResourceReference, { type SectorResourceData } from './sector-resource-reference';
import SectorContentAnalysis from './sector-content-analysis';
import SectorResourceReference, {
type SectorResourceData,
} from './sector-resource-reference';
import { Link } from '@inertiajs/react';
import EducationalArticleCard, {
type EducationalArticle,
@@ -45,7 +48,18 @@ export default function SectorEntry({
modalidade adequada. Cada oportunidade tem promotor, objetivo e
dados próprios.
</p>
{data.resource_reference && <SectorResourceReference data={data.resource_reference} />}
{data.resource_reference && (
<SectorResourceReference data={data.resource_reference} />
)}
{data.articles.map(
(article) =>
article.sector_analysis && (
<SectorContentAnalysis
key={article.href}
data={article.sector_analysis}
/>
),
)}
<nav aria-label="Ações no setor" className="flex flex-wrap gap-3">
{data.start_href ? (
<Link