forked from CopilotKit/CopilotKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsignup-section.tsx
More file actions
29 lines (24 loc) · 769 Bytes
/
Copy pathsignup-section.tsx
File metadata and controls
29 lines (24 loc) · 769 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
'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)}
/>
</>
);
}