2026-04-15 17:02:00 -07:00
|
|
|
"use client";
|
|
|
|
|
|
|
|
|
|
import { Lock } from "lucide-react";
|
|
|
|
|
import Link from "next/link";
|
|
|
|
|
import type { FC } from "react";
|
|
|
|
|
import { Button } from "@/components/ui/button";
|
2026-05-31 15:58:21 -07:00
|
|
|
import {
|
|
|
|
|
Empty,
|
|
|
|
|
EmptyContent,
|
|
|
|
|
EmptyDescription,
|
|
|
|
|
EmptyHeader,
|
|
|
|
|
EmptyMedia,
|
|
|
|
|
EmptyTitle,
|
|
|
|
|
} from "@/components/ui/empty";
|
2026-04-15 17:02:00 -07:00
|
|
|
|
|
|
|
|
interface GatedTabProps {
|
|
|
|
|
title: string;
|
|
|
|
|
description: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const GatedTab: FC<GatedTabProps> = ({ title, description }) => (
|
2026-05-31 15:58:21 -07:00
|
|
|
<Empty>
|
|
|
|
|
<EmptyHeader>
|
|
|
|
|
<EmptyMedia variant="icon">
|
|
|
|
|
<Lock />
|
|
|
|
|
</EmptyMedia>
|
|
|
|
|
<EmptyTitle>{title}</EmptyTitle>
|
|
|
|
|
<EmptyDescription>{description}</EmptyDescription>
|
|
|
|
|
</EmptyHeader>
|
|
|
|
|
<EmptyContent>
|
|
|
|
|
<Button size="sm" asChild>
|
|
|
|
|
<Link href="/register">Create Free Account</Link>
|
|
|
|
|
</Button>
|
|
|
|
|
</EmptyContent>
|
|
|
|
|
</Empty>
|
2026-04-15 17:02:00 -07:00
|
|
|
);
|
|
|
|
|
|
|
|
|
|
export const ReportsGatedPlaceholder: FC = () => (
|
|
|
|
|
<GatedTab
|
|
|
|
|
title="Generate Reports"
|
|
|
|
|
description="Create a free account to generate structured reports from your conversations."
|
|
|
|
|
/>
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
export const EditorGatedPlaceholder: FC = () => (
|
|
|
|
|
<GatedTab
|
|
|
|
|
title="Document Editor"
|
|
|
|
|
description="Create a free account to use the AI-powered document editor."
|
|
|
|
|
/>
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
export const HitlGatedPlaceholder: FC = () => (
|
|
|
|
|
<GatedTab
|
|
|
|
|
title="Human-in-the-Loop Editing"
|
|
|
|
|
description="Create a free account to collaborate with AI on document edits."
|
|
|
|
|
/>
|
|
|
|
|
);
|