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
+7
View File
@@ -1,9 +1,13 @@
import SectorContentAnalysis, {
type SectorAnalysis,
} from '@/components/sector-content-analysis';
import { Head, Link, useForm } from '@inertiajs/react';
import EducationalArticleCard, {
type EducationalArticle,
} from '@/components/educational-article-card';
export type LegacyArticle = {
sector_analysis?: SectorAnalysis;
summary: string;
opportunities_href?: string | null;
opportunities_label?: string | null;
@@ -72,6 +76,9 @@ export default function LegacySector({
.legacy-article ol { list-style: decimal; padding-inline-start: 1.6em; }
.legacy-article a { text-decoration: underline; }
`}</style>
{article.sector_analysis && (
<SectorContentAnalysis data={article.sector_analysis} />
)}
<nav
className="flex flex-wrap gap-4"
aria-label={article.group.label}