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 { useTranslations } from 'next-intl';
import { WorkAreasStep } from '@/components/onboarding/work-areas-step';
import { DASHBOARD_HOME } from '@/config/home';
import type { TeamRole } from '@/components/providers/role-provider';
/**
* The welcome step's copy: an invited person is welcomed to the workspace by
* name; an admin is asked what they work on.
*/
export function WelcomeView({
role,
workspace,
firstName,
hiddenByAdmin,
}: {
role: TeamRole;
workspace: string;
firstName: string;
hiddenByAdmin: string[];
}) {
const t = useTranslations('welcome');
const tSettings = useTranslations('settings');
const invited = role !== 'admin';
const title = !invited
? t('title')
: firstName
? t('invitedTitle', { workspace, name: firstName })
: t('invitedTitleNoName', { workspace });
const lede = invited
? t('invitedLede', { role: tSettings(`team_role_${role}`).toLowerCase() })
: t('lede');
return (
<WorkAreasStep
title={title}
lede={lede}
hiddenByAdmin={hiddenByAdmin}
// A full load, so the dashboard reads the answer and doesn't send them back.
onDone={() => window.location.assign(DASHBOARD_HOME)}
/>
);
}