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
'use client';
import type { ReactNode } from 'react';
import { useTranslations } from 'next-intl';
import { Link } from '@/i18n/navigation';
import { useUpgradeGate } from '@/components/providers/upgrade-gate';
/**
* The link to a new brand (/dashboard/brands/new), or to Billing at the
* plan's brand limit. On a read-only workspace (plan not active) it opens the
* upgrade dialog instead of the page.
*/
export function AddBrandLink({
href = '/dashboard/brands/new',
className,
children,
}: {
href?: string;
className?: string;
children: ReactNode;
}) {
const { isLocked, openUpgrade } = useUpgradeGate();
const tActions = useTranslations('readOnly.actions');
return (
<Link
href={href}
className={className}
onClick={(e) => {
if (!isLocked) return;
e.preventDefault();
openUpgrade(tActions('addBrands'));
}}
>
{children}
</Link>
);
}