mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
29 lines
759 B
TypeScript
29 lines
759 B
TypeScript
"use client";
|
|
|
|
import { useState } from "react";
|
|
import { V150EarlyAccessModal } from "@/components/layout/v150-early-access-modal";
|
|
|
|
export function SignUpSection() {
|
|
const [isModalOpen, setIsModalOpen] = useState(false);
|
|
|
|
return (
|
|
<>
|
|
<p className="text-muted-foreground">
|
|
Want to be the first to know about new features?{" "}
|
|
<button
|
|
onClick={() => setIsModalOpen(true)}
|
|
className="text-primary hover:underline font-medium cursor-pointer bg-transparent border-none p-0"
|
|
>
|
|
Sign up for early access
|
|
</button>{" "}
|
|
to upcoming releases.
|
|
</p>
|
|
|
|
<V150EarlyAccessModal
|
|
isOpen={isModalOpen}
|
|
onClose={() => setIsModalOpen(false)}
|
|
/>
|
|
</>
|
|
);
|
|
}
|