feat: convert CTA components to full pages and expand waitlist form options
- Renamed CallToAction components to full Page components for compute, storage and GPU sections - Added new waitlist form types: storage_waitlist, compute_waitlist, and gpu_waitlist - Updated form placeholder text to show relevant requirements based on waitlist type - Fixed string template syntax in Dropdown component CSS classes
This commit is contained in:
@@ -9,7 +9,7 @@ interface ContactFormProps {
|
||||
isOpen: boolean
|
||||
onClose: () => void
|
||||
title?: string
|
||||
formType?: 'investor' | 'partner' | 'agent_waitlist'
|
||||
formType?: 'investor' | 'partner' | 'agent_waitlist' | 'storage_waitlist' | 'compute_waitlist' | 'gpu_waitlist'
|
||||
}
|
||||
|
||||
const initialFormState = {
|
||||
@@ -187,6 +187,12 @@ export default function ContactForm({
|
||||
? 'Tell us about your investment interests and how we can collaborate.'
|
||||
: formType === 'agent_waitlist'
|
||||
? 'Tell us about your sovereign agent requirements.'
|
||||
: formType === 'storage_waitlist'
|
||||
? 'Tell us about your storage requirements.'
|
||||
: formType === 'compute_waitlist'
|
||||
? 'Tell us about your compute requirements.'
|
||||
: formType === 'gpu_waitlist'
|
||||
? 'Tell us about your GPU requirements.'
|
||||
: 'Tell us about your project or how we can help.'
|
||||
}
|
||||
/>
|
||||
|
||||
@@ -39,7 +39,7 @@ export function Dropdown({ buttonContent, items }: DropdownProps) {
|
||||
to={item.href}
|
||||
className={`
|
||||
${active ? 'bg-gray-100 text-gray-900' : 'text-gray-700'}
|
||||
'block px-4 py-2 text-sm'
|
||||
block px-4 py-2 text-sm
|
||||
`}
|
||||
>
|
||||
{item.name}
|
||||
|
||||
Reference in New Issue
Block a user