Rebuild company overview analysis page

This commit is contained in:
2026-03-12 20:39:30 -04:00
parent b9a1d8ba40
commit ba385586bc
29 changed files with 2040 additions and 888 deletions

View File

@@ -67,7 +67,7 @@ const NAV_ITEMS: NavConfigItem[] = [
{
id: "analysis",
href: "/analysis",
label: "Analysis",
label: "Overview",
icon: LineChart,
group: "research",
matchMode: "prefix",
@@ -200,41 +200,41 @@ function buildDefaultBreadcrumbs(
if (pathname.startsWith("/analysis/reports/")) {
return [
{ label: "Analysis", href: analysisHref },
{ label: "Overview", href: analysisHref },
{ label: "Reports", href: analysisHref },
{ label: activeTicker ?? "Summary" },
];
}
if (pathname.startsWith("/analysis")) {
return [{ label: "Analysis" }];
return [{ label: "Overview" }];
}
if (pathname.startsWith("/research")) {
return [
{ label: "Analysis", href: analysisHref },
{ label: "Overview", href: analysisHref },
{ label: "Research", href: researchHref },
];
}
if (pathname.startsWith("/financials")) {
return [{ label: "Analysis", href: analysisHref }, { label: "Financials" }];
return [{ label: "Overview", href: analysisHref }, { label: "Financials" }];
}
if (pathname.startsWith("/graphing")) {
return [
{ label: "Analysis", href: analysisHref },
{ label: "Overview", href: analysisHref },
{ label: "Graphing", href: graphingHref },
{ label: activeTicker ?? "Compare Set" },
];
}
if (pathname.startsWith("/filings")) {
return [{ label: "Analysis", href: analysisHref }, { label: "Filings" }];
return [{ label: "Overview", href: analysisHref }, { label: "Filings" }];
}
if (pathname.startsWith("/search")) {
return [{ label: "Analysis", href: analysisHref }, { label: "Search" }];
return [{ label: "Overview", href: analysisHref }, { label: "Search" }];
}
if (pathname.startsWith("/portfolio")) {