feat: preserve grounded sector ideas through private investment dossiers in QA
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user