Skip to content

Commit e8be4ba

Browse files
committed
feat: have hqlPage early access page mirror credits page
1 parent 80ebad6 commit e8be4ba

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

web/components/templates/hql/hqlPage.tsx

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ import {
2727
} from "./constants";
2828
import { Alert, AlertTitle, AlertDescription } from "@/components/ui/alert";
2929
import { useHeliconeAgent } from "../agent/HeliconeAgentContext";
30-
import { EmptyStateCard } from "@/components/shared/helicone/EmptyStateCard";
3130
import { useTheme } from "next-themes";
31+
import { FeatureWaitlist } from "@/components/templates/waitlist/FeatureWaitlist";
3232

3333
function HQLPage() {
3434
const organization = useOrg();
@@ -302,12 +302,17 @@ function HQLPage() {
302302

303303
if (hasAccessToHQL?.data === false) {
304304
return (
305-
<EmptyStateCard
306-
feature="hql"
307-
onPrimaryClick={() => {
308-
window.open("https://forms.gle/YXYkFz9Zaa7fWF2v7", "_blank");
309-
}}
310-
/>
305+
<div className="flex h-screen w-full items-center justify-center">
306+
<div className="w-full max-w-md rounded-lg bg-white p-6 shadow-xl dark:bg-slate-900">
307+
<FeatureWaitlist
308+
feature="hql"
309+
title="Get Early Access"
310+
description="Be the first to know when HQL launches for your organization."
311+
organizationId={organization?.currentOrg?.id}
312+
variant="flat"
313+
/>
314+
</div>
315+
</div>
311316
);
312317
}
313318

0 commit comments

Comments
 (0)