Open-source agentic AI Search Execution Platform. Track AI visibility, find opportunities, and let agents turn signals into prioritized actions and drafted fixes across ChatGPT, Claude, Gemini, Google AI Overviews, Google AI Mode, Perplexity, Grok, and Microsoft Copilot.
TypeScript aeoai-agentai-searchanswer-engine-optimizationbrand-monitoringchatgptclaudecopilotdockergeminigeogoogle-ai-overviewsgrokmcpnextjsopen-sourceperplexityseosupabasetypescript
feat(web): add head-to-head link to insights leaderboard (#506)
Abdullahf5ee4036473d
diff --git a/web/src/app/[locale]/(dashboard)/dashboard/insights/page.tsx b/web/src/app/[locale]/(dashboard)/dashboard/insights/page.tsxindex 539c645ed..dee78eb55 100644--- a/web/src/app/[locale]/(dashboard)/dashboard/insights/page.tsx+++ b/web/src/app/[locale]/(dashboard)/dashboard/insights/page.tsx@@ -77,6 +77,7 @@ import {PieChart,Users,StopCircle,+ ArrowRight,ArrowUpRight,Download,Layers,@@ -1424,7 +1425,16 @@ export default function InsightsPage() {<Card className="lg:col-span-2"><CardHeader className="pb-2">- <CardTitle className="text-sm font-medium">Leaderboard</CardTitle>+ <div className="flex items-center justify-between gap-3">+ <CardTitle className="text-sm font-medium">Leaderboard</CardTitle>+ <Link+ href="/dashboard/competitors"+ className="flex shrink-0 items-center gap-1 text-xs font-medium text-muted-foreground transition-colors hover:text-foreground"+ >+ Head-to-Head Comparison+ <ArrowRight className="h-3 w-3" />+ </Link>+ </div></CardHeader><CardContent><CompetitorLeaderboard data={competitorData.brands} />diff --git a/web/src/components/layout/mobile-nav.tsx b/web/src/components/layout/mobile-nav.tsxindex 71ee438d9..d21a58f9f 100644--- a/web/src/components/layout/mobile-nav.tsx+++ b/web/src/components/layout/mobile-nav.tsx@@ -48,7 +48,6 @@ export function MobileNav() {'AI Traffic Analytics': t('traffic'),Prompts: t('prompts'),'Content Optimization': t('content'),- Competitors: t('competitors'),Citations: t('citations'),Reports: t('reports'),Settings: t('settings'),diff --git a/web/src/components/layout/sidebar.tsx b/web/src/components/layout/sidebar.tsxindex 3c4c3cbe4..8dc408dbf 100644--- a/web/src/components/layout/sidebar.tsx+++ b/web/src/components/layout/sidebar.tsx@@ -61,7 +61,6 @@ export function Sidebar() {Topics: () => t('topics'),'Content Optimization': () => t('content'),'Site Audit': () => t('audit'),- Competitors: () => t('competitors'),Citations: () => t('citations'),Shopping: () => t('shopping'),Reports: () => t('reports'),diff --git a/web/src/config/dashboard.ts b/web/src/config/dashboard.tsindex 0a6d90378..a386b733f 100644--- a/web/src/config/dashboard.ts+++ b/web/src/config/dashboard.ts@@ -9,7 +9,6 @@ import {ShoppingBag,Sparkles,Tag,- Users,} from 'lucide-react';import type { Feature } from '@/config/plans';@@ -91,12 +90,6 @@ export const dashboardNav: NavGroup[] = [icon: LineChart,requiredFeature: 'advanced_analytics',},- {- title: 'Competitors',- href: '/dashboard/competitors',- icon: Users,- requiredFeature: 'competitor_tracking',- },],},{