nextworks 0.2.0-alpha.11 → 0.2.0-alpha.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +283 -282
- package/dist/cli_manifests/blocks_manifest.json +198 -175
- package/dist/kits/blocks/.nextworks/docs/BLOCKS_QUICKSTART.md +101 -100
- package/dist/kits/blocks/.nextworks/docs/BLOCKS_README.md +105 -104
- package/dist/kits/blocks/.nextworks/docs/THEME_GUIDE.md +1 -1
- package/dist/kits/blocks/app/templates/aiworkflow/PresetThemeVars.tsx +58 -0
- package/dist/kits/blocks/app/templates/aiworkflow/README.md +46 -0
- package/dist/kits/blocks/app/templates/aiworkflow/components/CTA.tsx +44 -0
- package/dist/kits/blocks/app/templates/aiworkflow/components/Contact.tsx +105 -0
- package/dist/kits/blocks/app/templates/aiworkflow/components/FAQ.tsx +63 -0
- package/dist/kits/blocks/app/templates/aiworkflow/components/Features.tsx +65 -0
- package/dist/kits/blocks/app/templates/aiworkflow/components/Footer.tsx +109 -0
- package/dist/kits/blocks/app/templates/aiworkflow/components/Hero.tsx +636 -0
- package/dist/kits/blocks/app/templates/aiworkflow/components/Navbar.tsx +90 -0
- package/dist/kits/blocks/app/templates/aiworkflow/components/Pricing.tsx +86 -0
- package/dist/kits/blocks/app/templates/aiworkflow/components/ProcessTimeline.tsx +103 -0
- package/dist/kits/blocks/app/templates/aiworkflow/components/Testimonials.tsx +56 -0
- package/dist/kits/blocks/app/templates/aiworkflow/components/TrustBadges.tsx +59 -0
- package/dist/kits/blocks/app/templates/aiworkflow/page.tsx +43 -0
- package/dist/kits/blocks/app/templates/digitalagency/PresetThemeVars.tsx +80 -80
- package/dist/kits/blocks/app/templates/digitalagency/README.md +42 -42
- package/dist/kits/blocks/app/templates/digitalagency/components/Pricing.tsx +114 -114
- package/dist/kits/blocks/app/templates/digitalagency/components/Process.tsx +59 -59
- package/dist/kits/blocks/app/templates/digitalagency/components/Services.tsx +55 -55
- package/dist/kits/blocks/app/templates/digitalagency/components/Team.tsx +28 -28
- package/dist/kits/blocks/app/templates/digitalagency/components/Testimonials.tsx +65 -65
- package/dist/kits/blocks/app/templates/digitalagency/page.tsx +38 -38
- package/dist/kits/blocks/app/templates/gallery/PresetThemeVars.tsx +84 -84
- package/dist/kits/blocks/app/templates/productlaunch/PresetThemeVars.tsx +75 -75
- package/dist/kits/blocks/app/templates/productlaunch/README.md +62 -62
- package/dist/kits/blocks/app/templates/productlaunch/components/About.tsx +84 -84
- package/dist/kits/blocks/app/templates/productlaunch/components/CTA.tsx +50 -50
- package/dist/kits/blocks/app/templates/productlaunch/components/Contact.tsx +231 -231
- package/dist/kits/blocks/app/templates/productlaunch/components/FAQ.tsx +86 -86
- package/dist/kits/blocks/app/templates/productlaunch/components/Features.tsx +83 -83
- package/dist/kits/blocks/app/templates/productlaunch/components/Footer.tsx +132 -132
- package/dist/kits/blocks/app/templates/productlaunch/components/Hero.tsx +88 -88
- package/dist/kits/blocks/app/templates/productlaunch/components/Navbar.tsx +116 -116
- package/dist/kits/blocks/app/templates/productlaunch/components/Pricing.tsx +106 -106
- package/dist/kits/blocks/app/templates/productlaunch/components/ProcessTimeline.tsx +110 -110
- package/dist/kits/blocks/app/templates/productlaunch/components/ServicesGrid.tsx +68 -68
- package/dist/kits/blocks/app/templates/productlaunch/components/Team.tsx +104 -104
- package/dist/kits/blocks/app/templates/productlaunch/components/Testimonials.tsx +90 -90
- package/dist/kits/blocks/app/templates/productlaunch/components/TrustBadges.tsx +76 -76
- package/dist/kits/blocks/app/templates/productlaunch/page.tsx +43 -43
- package/dist/kits/blocks/app/templates/saasdashboard/PresetThemeVars.tsx +80 -80
- package/dist/kits/blocks/app/templates/saasdashboard/README.md +44 -44
- package/dist/kits/blocks/app/templates/saasdashboard/components/Contact.tsx +129 -129
- package/dist/kits/blocks/app/templates/saasdashboard/components/Dashboard.tsx +293 -293
- package/dist/kits/blocks/app/templates/saasdashboard/components/FAQ.tsx +55 -55
- package/dist/kits/blocks/app/templates/saasdashboard/components/Features.tsx +90 -90
- package/dist/kits/blocks/app/templates/saasdashboard/components/Footer.tsx +77 -77
- package/dist/kits/blocks/app/templates/saasdashboard/components/Hero.tsx +104 -104
- package/dist/kits/blocks/app/templates/saasdashboard/components/Hero_mask.tsx +126 -126
- package/dist/kits/blocks/app/templates/saasdashboard/components/Navbar.tsx +117 -117
- package/dist/kits/blocks/app/templates/saasdashboard/components/Pricing.tsx +90 -90
- package/dist/kits/blocks/app/templates/saasdashboard/components/SmoothScroll.tsx +96 -96
- package/dist/kits/blocks/app/templates/saasdashboard/components/Testimonials.tsx +72 -72
- package/dist/kits/blocks/app/templates/saasdashboard/components/TrustBadges.tsx +53 -53
- package/dist/kits/blocks/app/templates/saasdashboard/page.tsx +39 -39
- package/dist/kits/blocks/components/enhanced-theme-provider.tsx +195 -195
- package/dist/kits/blocks/components/providers/BlocksAppProviders.tsx +27 -27
- package/dist/kits/blocks/components/sections/About.tsx +291 -291
- package/dist/kits/blocks/components/sections/CTA.tsx +257 -257
- package/dist/kits/blocks/components/sections/Contact.tsx +267 -267
- package/dist/kits/blocks/components/sections/FAQ.tsx +214 -214
- package/dist/kits/blocks/components/sections/Features.tsx +268 -268
- package/dist/kits/blocks/components/sections/Footer.tsx +302 -302
- package/dist/kits/blocks/components/sections/HeroMotion.tsx +308 -308
- package/dist/kits/blocks/components/sections/HeroOverlay.tsx +358 -358
- package/dist/kits/blocks/components/sections/HeroProductDemo.tsx +236 -0
- package/dist/kits/blocks/components/sections/HeroSplit.tsx +352 -352
- package/dist/kits/blocks/components/sections/Navbar.tsx +350 -350
- package/dist/kits/blocks/components/sections/PortfolioSimple.tsx +549 -549
- package/dist/kits/blocks/components/sections/Pricing.tsx +264 -264
- package/dist/kits/blocks/components/sections/ProcessTimeline.tsx +325 -325
- package/dist/kits/blocks/components/sections/ServicesGrid.tsx +210 -210
- package/dist/kits/blocks/components/sections/Team.tsx +309 -309
- package/dist/kits/blocks/components/sections/Testimonials.tsx +158 -158
- package/dist/kits/blocks/components/sections/TrustBadges.tsx +162 -162
- package/dist/kits/blocks/components/sections/product-demo/ApprovalInboxPanel.tsx +125 -0
- package/dist/kits/blocks/components/sections/product-demo/DemoStage.tsx +397 -0
- package/dist/kits/blocks/components/sections/product-demo/DemoWindow.tsx +128 -0
- package/dist/kits/blocks/components/sections/product-demo/KnowledgePanel.tsx +127 -0
- package/dist/kits/blocks/components/sections/product-demo/RunConsolePanel.tsx +150 -0
- package/dist/kits/blocks/components/sections/product-demo/WorkflowStudioPanel.tsx +191 -0
- package/dist/kits/blocks/components/sections/product-demo/types.ts +193 -0
- package/dist/kits/blocks/components/theme-provider.tsx +1 -1
- package/dist/kits/blocks/components/ui/alert-dialog.tsx +134 -134
- package/dist/kits/blocks/components/ui/brand-node.tsx +121 -121
- package/dist/kits/blocks/components/ui/button.tsx +122 -122
- package/dist/kits/blocks/components/ui/card.tsx +95 -95
- package/dist/kits/blocks/components/ui/checkbox.tsx +30 -30
- package/dist/kits/blocks/components/ui/cta-button.tsx +125 -125
- package/dist/kits/blocks/components/ui/dropdown-menu.tsx +201 -201
- package/dist/kits/blocks/components/ui/feature-card.tsx +91 -91
- package/dist/kits/blocks/components/ui/input.tsx +27 -27
- package/dist/kits/blocks/components/ui/label.tsx +29 -29
- package/dist/kits/blocks/components/ui/pricing-card.tsx +120 -120
- package/dist/kits/blocks/components/ui/select.tsx +25 -25
- package/dist/kits/blocks/components/ui/skeleton.tsx +13 -13
- package/dist/kits/blocks/components/ui/table.tsx +98 -98
- package/dist/kits/blocks/components/ui/testimonial-card.tsx +108 -108
- package/dist/kits/blocks/components/ui/textarea.tsx +26 -26
- package/dist/kits/blocks/components/ui/theme-selector.tsx +243 -243
- package/dist/kits/blocks/components/ui/theme-toggle.tsx +74 -74
- package/dist/kits/blocks/components/ui/toaster.tsx +7 -7
- package/dist/kits/blocks/lib/themes.ts +400 -400
- package/dist/kits/blocks/lib/utils.ts +6 -6
- package/dist/kits/blocks/package-deps.json +3 -3
- package/package.json +1 -1
|
@@ -1,231 +1,231 @@
|
|
|
1
|
-
// app/templates/productlaunch/componnets/Contact.tsx
|
|
2
|
-
|
|
3
|
-
"use client";
|
|
4
|
-
|
|
5
|
-
import React from "react";
|
|
6
|
-
import {
|
|
7
|
-
Contact as SharedContact,
|
|
8
|
-
ContactField,
|
|
9
|
-
} from "@/components/sections/Contact";
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* A preset Contact component customized for the product launch page,
|
|
13
|
-
* using the shared Contact.tsx with predefined styles and content.
|
|
14
|
-
*
|
|
15
|
-
* Features:
|
|
16
|
-
* - "Get Started with IntelliOpAI" heading with custom typography
|
|
17
|
-
* - Purple-themed styling matching the brand
|
|
18
|
-
* - Custom form fields optimized for product launch
|
|
19
|
-
* - Responsive design with proper spacing
|
|
20
|
-
* - Dark mode support with consistent theming
|
|
21
|
-
* - Clean, modern design with hover effects
|
|
22
|
-
*/
|
|
23
|
-
const productLaunchContactFormData: ContactField[] = [
|
|
24
|
-
{
|
|
25
|
-
id: "name",
|
|
26
|
-
label: "Your Full Name",
|
|
27
|
-
placeholder: "John Doe",
|
|
28
|
-
required: true,
|
|
29
|
-
type: "text",
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
id: "email",
|
|
33
|
-
label: "Email Address",
|
|
34
|
-
placeholder: "you@example.com",
|
|
35
|
-
required: true,
|
|
36
|
-
type: "email",
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
id: "company",
|
|
40
|
-
label: "Company Name",
|
|
41
|
-
placeholder: "Your Company",
|
|
42
|
-
required: false,
|
|
43
|
-
type: "text",
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
id: "phone",
|
|
47
|
-
label: "Phone Number",
|
|
48
|
-
placeholder: "+1 (555) 123-4567",
|
|
49
|
-
required: false,
|
|
50
|
-
type: "tel",
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
id: "message",
|
|
54
|
-
label: "Tell us about your project",
|
|
55
|
-
placeholder: "Describe your business needs and how we can help...",
|
|
56
|
-
required: true,
|
|
57
|
-
type: "textarea",
|
|
58
|
-
},
|
|
59
|
-
];
|
|
60
|
-
|
|
61
|
-
export function Contact() {
|
|
62
|
-
const handleFormSubmit = (e: React.FormEvent<HTMLFormElement>) => {
|
|
63
|
-
e.preventDefault();
|
|
64
|
-
const data = Object.fromEntries(new FormData(e.currentTarget).entries());
|
|
65
|
-
console.log("Contact form submitted:", data);
|
|
66
|
-
};
|
|
67
|
-
|
|
68
|
-
return (
|
|
69
|
-
<SharedContact
|
|
70
|
-
id="contact"
|
|
71
|
-
fields={productLaunchContactFormData}
|
|
72
|
-
contactHeaderText="Get Started with IntelliOpAI"
|
|
73
|
-
contactSubHeaderText="Ready to revolutionize your workflow? Get in touch with our team to learn how our AI solutions can transform your business operations and drive growth."
|
|
74
|
-
// Root and layout
|
|
75
|
-
className="w-full"
|
|
76
|
-
section={{
|
|
77
|
-
className:
|
|
78
|
-
"py-16 px-4 bg-gradient-to-br from-purple-600 via-purple-700 to-purple-800 dark:from-purple-500 dark:via-purple-600 dark:to-purple-700",
|
|
79
|
-
}}
|
|
80
|
-
container={{
|
|
81
|
-
className: "mx-auto max-w-4xl",
|
|
82
|
-
}}
|
|
83
|
-
// Header slots
|
|
84
|
-
headerWrapper={{ className: "mb-4 text-center" }}
|
|
85
|
-
headerText={{
|
|
86
|
-
className:
|
|
87
|
-
"text-2xl md:text-3xl lg:text-4xl font-bold font-outfit text-white dark:text-white",
|
|
88
|
-
}}
|
|
89
|
-
subheaderText={{
|
|
90
|
-
className:
|
|
91
|
-
"text-base md:text-lg text-white dark:text-gray-200 text-center mb-8 px-4 md:px-14 font-inter leading-relaxed",
|
|
92
|
-
}}
|
|
93
|
-
// Form container
|
|
94
|
-
form={{
|
|
95
|
-
className:
|
|
96
|
-
"bg-white dark:bg-gray-800 p-6 md:p-8 rounded-lg shadow-lg border border-purple-200 dark:border-purple-300",
|
|
97
|
-
}}
|
|
98
|
-
// Fields wrapper and field item
|
|
99
|
-
fieldsWrapper={{ className: "space-y-6" }}
|
|
100
|
-
field={{ className: "space-y-2" }}
|
|
101
|
-
// Label + inputs
|
|
102
|
-
label={{
|
|
103
|
-
className:
|
|
104
|
-
"text-gray-700 dark:text-white text-sm font-semibold block font-inter",
|
|
105
|
-
}}
|
|
106
|
-
input={{
|
|
107
|
-
className:
|
|
108
|
-
"w-full p-3 border border-gray-200 dark:border-gray-600 rounded-md bg-gray-50 dark:bg-gray-700 text-black dark:text-white placeholder-gray-500 dark:placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-purple-500 focus-visible:ring-2 focus-visible:ring-purple-500 focus-visible:ring-offset-0 focus:border-transparent transition-all duration-200",
|
|
109
|
-
}}
|
|
110
|
-
textarea={{
|
|
111
|
-
className:
|
|
112
|
-
"w-full p-3 border border-gray-200 dark:border-gray-600 rounded-md bg-gray-50 dark:bg-gray-700 text-black dark:text-white placeholder-gray-500 dark:placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-purple-500 focus-visible:ring-2 focus-visible:ring-purple-500 focus-visible:ring-offset-0 focus:border-transparent resize-vertical min-h-[120px] transition-all duration-200",
|
|
113
|
-
}}
|
|
114
|
-
// Submit button (split: wrapper/style/text)
|
|
115
|
-
submitButtonWrapper={{ className: "pt-2" }}
|
|
116
|
-
submitButtonStyle={{
|
|
117
|
-
variant: "default",
|
|
118
|
-
size: "lg",
|
|
119
|
-
className:
|
|
120
|
-
"w-full font-semibold text-base shadow-lg hover:shadow-xl transition-all duration-200 hover:-translate-y-0.5 border-0 [--btn-bg:theme(colors.purple.600)] hover:[--btn-hover-bg:theme(colors.purple.700)] [--btn-fg:white] hover:[--btn-hover-fg:white] [--btn-border:transparent]",
|
|
121
|
-
}}
|
|
122
|
-
submitButtonText="Start Your AI Journey"
|
|
123
|
-
onSubmit={handleFormSubmit}
|
|
124
|
-
ariaLabel="Get started with IntelliOpAI contact form"
|
|
125
|
-
/>
|
|
126
|
-
);
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
// "use client";
|
|
130
|
-
|
|
131
|
-
// import { Contact as SharedContact } from "@/components/sections/Contact";
|
|
132
|
-
|
|
133
|
-
// /**
|
|
134
|
-
// * A preset Contact component customized for the product launch page,
|
|
135
|
-
// * using the shared Contact.tsx with predefined styles and content.
|
|
136
|
-
// *
|
|
137
|
-
// * Features:
|
|
138
|
-
// * - "Get Started with IntelliOpAI" heading with custom typography
|
|
139
|
-
// * - Purple-themed styling matching the brand
|
|
140
|
-
// * - Custom form fields optimized for product launch
|
|
141
|
-
// * - Responsive design with proper spacing
|
|
142
|
-
// * - Dark mode support with consistent theming
|
|
143
|
-
// * - Clean, modern design with hover effects
|
|
144
|
-
// */
|
|
145
|
-
// export function Contact() {
|
|
146
|
-
// return (
|
|
147
|
-
// <SharedContact
|
|
148
|
-
// contactHeaderText="Get Started with IntelliOpAI"
|
|
149
|
-
// contactSubHeaderText="Ready to revolutionize your workflow? Get in touch with our team to learn how our AI solutions can transform your business operations and drive growth."
|
|
150
|
-
// fields={[
|
|
151
|
-
// {
|
|
152
|
-
// id: "name",
|
|
153
|
-
// label: "Your Full Name",
|
|
154
|
-
// placeholder: "John Doe",
|
|
155
|
-
// required: true,
|
|
156
|
-
// type: "text",
|
|
157
|
-
// },
|
|
158
|
-
// {
|
|
159
|
-
// id: "email",
|
|
160
|
-
// label: "Email Address",
|
|
161
|
-
// placeholder: "you@example.com",
|
|
162
|
-
// required: true,
|
|
163
|
-
// type: "email",
|
|
164
|
-
// },
|
|
165
|
-
// {
|
|
166
|
-
// id: "company",
|
|
167
|
-
// label: "Company Name",
|
|
168
|
-
// placeholder: "Your Company",
|
|
169
|
-
// required: false,
|
|
170
|
-
// type: "text",
|
|
171
|
-
// },
|
|
172
|
-
// {
|
|
173
|
-
// id: "phone",
|
|
174
|
-
// label: "Phone Number",
|
|
175
|
-
// placeholder: "+1 (555) 123-4567",
|
|
176
|
-
// required: false,
|
|
177
|
-
// type: "tel",
|
|
178
|
-
// },
|
|
179
|
-
// {
|
|
180
|
-
// id: "message",
|
|
181
|
-
// label: "Tell us about your project",
|
|
182
|
-
// placeholder: "Describe your business needs and how we can help...",
|
|
183
|
-
// required: true,
|
|
184
|
-
// type: "textarea",
|
|
185
|
-
// },
|
|
186
|
-
// ]}
|
|
187
|
-
// section={{
|
|
188
|
-
// className:
|
|
189
|
-
// "py-16 px-4 bg-gradient-to-br from-purple-600 via-purple-700 to-purple-800 dark:from-purple-500 dark:via-purple-600 dark:to-purple-700",
|
|
190
|
-
// }}
|
|
191
|
-
// container={{
|
|
192
|
-
// className: "max-w-4xl mx-auto",
|
|
193
|
-
// }}
|
|
194
|
-
// header={{
|
|
195
|
-
// className:
|
|
196
|
-
// "text-2xl md:text-3xl lg:text-4xl font-bold text-white dark:text-white text-center mb-4 font-outfit",
|
|
197
|
-
// }}
|
|
198
|
-
// subheader={{
|
|
199
|
-
// className:
|
|
200
|
-
// "text-base md:text-lg text-white dark:text-gray-200 text-center mb-8 px-4 md:px-14 font-inter leading-relaxed",
|
|
201
|
-
// }}
|
|
202
|
-
// form={{
|
|
203
|
-
// className:
|
|
204
|
-
// "bg-white dark:bg-gray-800 p-6 md:p-8 rounded-lg shadow-lg border border-purple-200 dark:border-purple-300",
|
|
205
|
-
// }}
|
|
206
|
-
// field={{
|
|
207
|
-
// className: "mb-6",
|
|
208
|
-
// }}
|
|
209
|
-
// label={{
|
|
210
|
-
// className:
|
|
211
|
-
// "text-gray-700 dark:text-white text-sm font-semibold mb-2 block font-inter",
|
|
212
|
-
// }}
|
|
213
|
-
// input={{
|
|
214
|
-
// className:
|
|
215
|
-
// "w-full p-3 border border-gray-200 dark:border-gray-600 rounded-md bg-gray-50 dark:bg-gray-700 text-black dark:text-white placeholder-gray-500 dark:placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-transparent transition-all duration-200",
|
|
216
|
-
// }}
|
|
217
|
-
// textarea={{
|
|
218
|
-
// className:
|
|
219
|
-
// "w-full p-3 border border-gray-200 dark:border-gray-600 rounded-md bg-gray-50 dark:bg-gray-700 text-black dark:text-white placeholder-gray-500 dark:placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-transparent resize-vertical min-h-[120px] transition-all duration-200",
|
|
220
|
-
// }}
|
|
221
|
-
// submitButton={{
|
|
222
|
-
// text: "Start Your AI Journey",
|
|
223
|
-
// variant: "default",
|
|
224
|
-
// size: "lg",
|
|
225
|
-
// className:
|
|
226
|
-
// "w-full bg-purple-600 hover:bg-purple-700 text-white font-semibold text-base shadow-lg hover:shadow-xl transition-all duration-200 hover:-translate-y-0.5 border-0",
|
|
227
|
-
// }}
|
|
228
|
-
// ariaLabel="Get started with IntelliOpAI contact form"
|
|
229
|
-
// />
|
|
230
|
-
// );
|
|
231
|
-
// }
|
|
1
|
+
// app/templates/productlaunch/componnets/Contact.tsx
|
|
2
|
+
|
|
3
|
+
"use client";
|
|
4
|
+
|
|
5
|
+
import React from "react";
|
|
6
|
+
import {
|
|
7
|
+
Contact as SharedContact,
|
|
8
|
+
ContactField,
|
|
9
|
+
} from "@/components/sections/Contact";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* A preset Contact component customized for the product launch page,
|
|
13
|
+
* using the shared Contact.tsx with predefined styles and content.
|
|
14
|
+
*
|
|
15
|
+
* Features:
|
|
16
|
+
* - "Get Started with IntelliOpAI" heading with custom typography
|
|
17
|
+
* - Purple-themed styling matching the brand
|
|
18
|
+
* - Custom form fields optimized for product launch
|
|
19
|
+
* - Responsive design with proper spacing
|
|
20
|
+
* - Dark mode support with consistent theming
|
|
21
|
+
* - Clean, modern design with hover effects
|
|
22
|
+
*/
|
|
23
|
+
const productLaunchContactFormData: ContactField[] = [
|
|
24
|
+
{
|
|
25
|
+
id: "name",
|
|
26
|
+
label: "Your Full Name",
|
|
27
|
+
placeholder: "John Doe",
|
|
28
|
+
required: true,
|
|
29
|
+
type: "text",
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
id: "email",
|
|
33
|
+
label: "Email Address",
|
|
34
|
+
placeholder: "you@example.com",
|
|
35
|
+
required: true,
|
|
36
|
+
type: "email",
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
id: "company",
|
|
40
|
+
label: "Company Name",
|
|
41
|
+
placeholder: "Your Company",
|
|
42
|
+
required: false,
|
|
43
|
+
type: "text",
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
id: "phone",
|
|
47
|
+
label: "Phone Number",
|
|
48
|
+
placeholder: "+1 (555) 123-4567",
|
|
49
|
+
required: false,
|
|
50
|
+
type: "tel",
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
id: "message",
|
|
54
|
+
label: "Tell us about your project",
|
|
55
|
+
placeholder: "Describe your business needs and how we can help...",
|
|
56
|
+
required: true,
|
|
57
|
+
type: "textarea",
|
|
58
|
+
},
|
|
59
|
+
];
|
|
60
|
+
|
|
61
|
+
export function Contact() {
|
|
62
|
+
const handleFormSubmit = (e: React.FormEvent<HTMLFormElement>) => {
|
|
63
|
+
e.preventDefault();
|
|
64
|
+
const data = Object.fromEntries(new FormData(e.currentTarget).entries());
|
|
65
|
+
console.log("Contact form submitted:", data);
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
return (
|
|
69
|
+
<SharedContact
|
|
70
|
+
id="contact"
|
|
71
|
+
fields={productLaunchContactFormData}
|
|
72
|
+
contactHeaderText="Get Started with IntelliOpAI"
|
|
73
|
+
contactSubHeaderText="Ready to revolutionize your workflow? Get in touch with our team to learn how our AI solutions can transform your business operations and drive growth."
|
|
74
|
+
// Root and layout
|
|
75
|
+
className="w-full"
|
|
76
|
+
section={{
|
|
77
|
+
className:
|
|
78
|
+
"py-16 px-4 bg-gradient-to-br from-purple-600 via-purple-700 to-purple-800 dark:from-purple-500 dark:via-purple-600 dark:to-purple-700",
|
|
79
|
+
}}
|
|
80
|
+
container={{
|
|
81
|
+
className: "mx-auto max-w-4xl",
|
|
82
|
+
}}
|
|
83
|
+
// Header slots
|
|
84
|
+
headerWrapper={{ className: "mb-4 text-center" }}
|
|
85
|
+
headerText={{
|
|
86
|
+
className:
|
|
87
|
+
"text-2xl md:text-3xl lg:text-4xl font-bold font-outfit text-white dark:text-white",
|
|
88
|
+
}}
|
|
89
|
+
subheaderText={{
|
|
90
|
+
className:
|
|
91
|
+
"text-base md:text-lg text-white dark:text-gray-200 text-center mb-8 px-4 md:px-14 font-inter leading-relaxed",
|
|
92
|
+
}}
|
|
93
|
+
// Form container
|
|
94
|
+
form={{
|
|
95
|
+
className:
|
|
96
|
+
"bg-white dark:bg-gray-800 p-6 md:p-8 rounded-lg shadow-lg border border-purple-200 dark:border-purple-300",
|
|
97
|
+
}}
|
|
98
|
+
// Fields wrapper and field item
|
|
99
|
+
fieldsWrapper={{ className: "space-y-6" }}
|
|
100
|
+
field={{ className: "space-y-2" }}
|
|
101
|
+
// Label + inputs
|
|
102
|
+
label={{
|
|
103
|
+
className:
|
|
104
|
+
"text-gray-700 dark:text-white text-sm font-semibold block font-inter",
|
|
105
|
+
}}
|
|
106
|
+
input={{
|
|
107
|
+
className:
|
|
108
|
+
"w-full p-3 border border-gray-200 dark:border-gray-600 rounded-md bg-gray-50 dark:bg-gray-700 text-black dark:text-white placeholder-gray-500 dark:placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-purple-500 focus-visible:ring-2 focus-visible:ring-purple-500 focus-visible:ring-offset-0 focus:border-transparent transition-all duration-200",
|
|
109
|
+
}}
|
|
110
|
+
textarea={{
|
|
111
|
+
className:
|
|
112
|
+
"w-full p-3 border border-gray-200 dark:border-gray-600 rounded-md bg-gray-50 dark:bg-gray-700 text-black dark:text-white placeholder-gray-500 dark:placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-purple-500 focus-visible:ring-2 focus-visible:ring-purple-500 focus-visible:ring-offset-0 focus:border-transparent resize-vertical min-h-[120px] transition-all duration-200",
|
|
113
|
+
}}
|
|
114
|
+
// Submit button (split: wrapper/style/text)
|
|
115
|
+
submitButtonWrapper={{ className: "pt-2" }}
|
|
116
|
+
submitButtonStyle={{
|
|
117
|
+
variant: "default",
|
|
118
|
+
size: "lg",
|
|
119
|
+
className:
|
|
120
|
+
"w-full font-semibold text-base shadow-lg hover:shadow-xl transition-all duration-200 hover:-translate-y-0.5 border-0 [--btn-bg:theme(colors.purple.600)] hover:[--btn-hover-bg:theme(colors.purple.700)] [--btn-fg:white] hover:[--btn-hover-fg:white] [--btn-border:transparent]",
|
|
121
|
+
}}
|
|
122
|
+
submitButtonText="Start Your AI Journey"
|
|
123
|
+
onSubmit={handleFormSubmit}
|
|
124
|
+
ariaLabel="Get started with IntelliOpAI contact form"
|
|
125
|
+
/>
|
|
126
|
+
);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
// "use client";
|
|
130
|
+
|
|
131
|
+
// import { Contact as SharedContact } from "@/components/sections/Contact";
|
|
132
|
+
|
|
133
|
+
// /**
|
|
134
|
+
// * A preset Contact component customized for the product launch page,
|
|
135
|
+
// * using the shared Contact.tsx with predefined styles and content.
|
|
136
|
+
// *
|
|
137
|
+
// * Features:
|
|
138
|
+
// * - "Get Started with IntelliOpAI" heading with custom typography
|
|
139
|
+
// * - Purple-themed styling matching the brand
|
|
140
|
+
// * - Custom form fields optimized for product launch
|
|
141
|
+
// * - Responsive design with proper spacing
|
|
142
|
+
// * - Dark mode support with consistent theming
|
|
143
|
+
// * - Clean, modern design with hover effects
|
|
144
|
+
// */
|
|
145
|
+
// export function Contact() {
|
|
146
|
+
// return (
|
|
147
|
+
// <SharedContact
|
|
148
|
+
// contactHeaderText="Get Started with IntelliOpAI"
|
|
149
|
+
// contactSubHeaderText="Ready to revolutionize your workflow? Get in touch with our team to learn how our AI solutions can transform your business operations and drive growth."
|
|
150
|
+
// fields={[
|
|
151
|
+
// {
|
|
152
|
+
// id: "name",
|
|
153
|
+
// label: "Your Full Name",
|
|
154
|
+
// placeholder: "John Doe",
|
|
155
|
+
// required: true,
|
|
156
|
+
// type: "text",
|
|
157
|
+
// },
|
|
158
|
+
// {
|
|
159
|
+
// id: "email",
|
|
160
|
+
// label: "Email Address",
|
|
161
|
+
// placeholder: "you@example.com",
|
|
162
|
+
// required: true,
|
|
163
|
+
// type: "email",
|
|
164
|
+
// },
|
|
165
|
+
// {
|
|
166
|
+
// id: "company",
|
|
167
|
+
// label: "Company Name",
|
|
168
|
+
// placeholder: "Your Company",
|
|
169
|
+
// required: false,
|
|
170
|
+
// type: "text",
|
|
171
|
+
// },
|
|
172
|
+
// {
|
|
173
|
+
// id: "phone",
|
|
174
|
+
// label: "Phone Number",
|
|
175
|
+
// placeholder: "+1 (555) 123-4567",
|
|
176
|
+
// required: false,
|
|
177
|
+
// type: "tel",
|
|
178
|
+
// },
|
|
179
|
+
// {
|
|
180
|
+
// id: "message",
|
|
181
|
+
// label: "Tell us about your project",
|
|
182
|
+
// placeholder: "Describe your business needs and how we can help...",
|
|
183
|
+
// required: true,
|
|
184
|
+
// type: "textarea",
|
|
185
|
+
// },
|
|
186
|
+
// ]}
|
|
187
|
+
// section={{
|
|
188
|
+
// className:
|
|
189
|
+
// "py-16 px-4 bg-gradient-to-br from-purple-600 via-purple-700 to-purple-800 dark:from-purple-500 dark:via-purple-600 dark:to-purple-700",
|
|
190
|
+
// }}
|
|
191
|
+
// container={{
|
|
192
|
+
// className: "max-w-4xl mx-auto",
|
|
193
|
+
// }}
|
|
194
|
+
// header={{
|
|
195
|
+
// className:
|
|
196
|
+
// "text-2xl md:text-3xl lg:text-4xl font-bold text-white dark:text-white text-center mb-4 font-outfit",
|
|
197
|
+
// }}
|
|
198
|
+
// subheader={{
|
|
199
|
+
// className:
|
|
200
|
+
// "text-base md:text-lg text-white dark:text-gray-200 text-center mb-8 px-4 md:px-14 font-inter leading-relaxed",
|
|
201
|
+
// }}
|
|
202
|
+
// form={{
|
|
203
|
+
// className:
|
|
204
|
+
// "bg-white dark:bg-gray-800 p-6 md:p-8 rounded-lg shadow-lg border border-purple-200 dark:border-purple-300",
|
|
205
|
+
// }}
|
|
206
|
+
// field={{
|
|
207
|
+
// className: "mb-6",
|
|
208
|
+
// }}
|
|
209
|
+
// label={{
|
|
210
|
+
// className:
|
|
211
|
+
// "text-gray-700 dark:text-white text-sm font-semibold mb-2 block font-inter",
|
|
212
|
+
// }}
|
|
213
|
+
// input={{
|
|
214
|
+
// className:
|
|
215
|
+
// "w-full p-3 border border-gray-200 dark:border-gray-600 rounded-md bg-gray-50 dark:bg-gray-700 text-black dark:text-white placeholder-gray-500 dark:placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-transparent transition-all duration-200",
|
|
216
|
+
// }}
|
|
217
|
+
// textarea={{
|
|
218
|
+
// className:
|
|
219
|
+
// "w-full p-3 border border-gray-200 dark:border-gray-600 rounded-md bg-gray-50 dark:bg-gray-700 text-black dark:text-white placeholder-gray-500 dark:placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-transparent resize-vertical min-h-[120px] transition-all duration-200",
|
|
220
|
+
// }}
|
|
221
|
+
// submitButton={{
|
|
222
|
+
// text: "Start Your AI Journey",
|
|
223
|
+
// variant: "default",
|
|
224
|
+
// size: "lg",
|
|
225
|
+
// className:
|
|
226
|
+
// "w-full bg-purple-600 hover:bg-purple-700 text-white font-semibold text-base shadow-lg hover:shadow-xl transition-all duration-200 hover:-translate-y-0.5 border-0",
|
|
227
|
+
// }}
|
|
228
|
+
// ariaLabel="Get started with IntelliOpAI contact form"
|
|
229
|
+
// />
|
|
230
|
+
// );
|
|
231
|
+
// }
|
|
@@ -1,86 +1,86 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
|
-
import { FAQ as SharedFAQ } from "@/components/sections/FAQ";
|
|
4
|
-
import { ChevronDown, ChevronUp } from "lucide-react";
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Preset FAQ component for the product launch page.
|
|
8
|
-
*/
|
|
9
|
-
export function FAQ() {
|
|
10
|
-
return (
|
|
11
|
-
<SharedFAQ
|
|
12
|
-
faqSectionHeaderText="Frequently Asked Questions"
|
|
13
|
-
faqData={[
|
|
14
|
-
{
|
|
15
|
-
question: "What is IntelliOpAI and how does it work?",
|
|
16
|
-
answer:
|
|
17
|
-
"IntelliOpAI is an advanced AI-powered platform that automates business operations and provides real-time insights. Our system uses machine learning algorithms to analyze your data, streamline workflows, and help you make smarter decisions faster.",
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
question: "Do I need technical expertise to use IntelliOpAI?",
|
|
21
|
-
answer:
|
|
22
|
-
"Not at all! IntelliOpAI is designed with a user-friendly interface that requires no coding knowledge. Our intuitive dashboard and guided setup process make it easy for anyone to get started, regardless of their technical background.",
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
question: "How does IntelliOpAI integrate with my existing systems?",
|
|
26
|
-
answer:
|
|
27
|
-
"IntelliOpAI offers seamless integration with popular business tools and platforms through our robust API and pre-built connectors. We support integration with CRM systems, databases, cloud services, and more to ensure a smooth transition.",
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
question: "What kind of support do you provide?",
|
|
31
|
-
answer:
|
|
32
|
-
"We offer comprehensive 24/7 support including live chat, email support, and dedicated account managers for enterprise clients. Our team of AI experts is always ready to help you maximize the value of your IntelliOpAI implementation.",
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
question: "Is my data secure with IntelliOpAI?",
|
|
36
|
-
answer:
|
|
37
|
-
"Absolutely. We implement enterprise-grade security measures including end-to-end encryption, SOC 2 compliance, and regular security audits. Your data is protected with the highest industry standards and we never share your information with third parties.",
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
question: "Can IntelliOpAI scale with my business growth?",
|
|
41
|
-
answer:
|
|
42
|
-
"Yes! IntelliOpAI is built to scale with your business. Our flexible architecture can handle everything from small startups to large enterprises, automatically adjusting resources and capabilities as your needs evolve.",
|
|
43
|
-
},
|
|
44
|
-
]}
|
|
45
|
-
section={{
|
|
46
|
-
className:
|
|
47
|
-
"py-16 px-5 bg-white dark:bg-black text-gray-800 dark:text-white",
|
|
48
|
-
}}
|
|
49
|
-
container={{
|
|
50
|
-
className: "max-w-6xl mx-auto",
|
|
51
|
-
}}
|
|
52
|
-
heading={{
|
|
53
|
-
className:
|
|
54
|
-
"text-2xl md:text-3xl lg:text-4xl font-bold text-center mb-8 text-gray-800 dark:text-white font-outfit",
|
|
55
|
-
}}
|
|
56
|
-
grid={{
|
|
57
|
-
className: "grid grid-cols-1 lg:grid-cols-2 gap-6 px-5 py-8",
|
|
58
|
-
}}
|
|
59
|
-
item={{
|
|
60
|
-
className: "mb-6 w-full",
|
|
61
|
-
}}
|
|
62
|
-
questionButton={{
|
|
63
|
-
className:
|
|
64
|
-
"bg-gradient-to-r from-purple-600 to-purple-700 hover:from-purple-700 hover:to-purple-800 text-white p-5 cursor-pointer rounded-lg transition-all duration-200 flex items-center justify-between shadow-lg hover:shadow-xl hover:shadow-purple-500/30 hover:-translate-y-0.5 font-inter " +
|
|
65
|
-
// Define the ring and border CSS vars
|
|
66
|
-
"[--btn-ring:theme(colors.purple.500)] dark:[--btn-ring:theme(colors.purple.400)] " +
|
|
67
|
-
"[--btn-border:theme(colors.purple.500)] dark:[--btn-border:theme(colors.purple.400)] " +
|
|
68
|
-
// Ensure mouse focus uses ring color too
|
|
69
|
-
"focus:ring-[var(--btn-ring)]",
|
|
70
|
-
}}
|
|
71
|
-
// Question text styles inherits from button
|
|
72
|
-
questionText={{ className: "" }}
|
|
73
|
-
chevronIcon={{
|
|
74
|
-
className: "h-6 w-6 transition-transform duration-200 flex-shrink-0",
|
|
75
|
-
}}
|
|
76
|
-
openIcon={<ChevronUp className="h-6 w-6" />}
|
|
77
|
-
closedIcon={<ChevronDown className="h-6 w-6" />}
|
|
78
|
-
answer={{
|
|
79
|
-
className:
|
|
80
|
-
"bg-gray-50 dark:bg-gray-800 text-gray-800 dark:text-white rounded-lg overflow-hidden border border-purple-200 dark:border-purple-800 shadow-md",
|
|
81
|
-
}}
|
|
82
|
-
answerText={{ className: "p-5" }}
|
|
83
|
-
ariaLabel="IntelliOpAI frequently asked questions"
|
|
84
|
-
/>
|
|
85
|
-
);
|
|
86
|
-
}
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import { FAQ as SharedFAQ } from "@/components/sections/FAQ";
|
|
4
|
+
import { ChevronDown, ChevronUp } from "lucide-react";
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Preset FAQ component for the product launch page.
|
|
8
|
+
*/
|
|
9
|
+
export function FAQ() {
|
|
10
|
+
return (
|
|
11
|
+
<SharedFAQ
|
|
12
|
+
faqSectionHeaderText="Frequently Asked Questions"
|
|
13
|
+
faqData={[
|
|
14
|
+
{
|
|
15
|
+
question: "What is IntelliOpAI and how does it work?",
|
|
16
|
+
answer:
|
|
17
|
+
"IntelliOpAI is an advanced AI-powered platform that automates business operations and provides real-time insights. Our system uses machine learning algorithms to analyze your data, streamline workflows, and help you make smarter decisions faster.",
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
question: "Do I need technical expertise to use IntelliOpAI?",
|
|
21
|
+
answer:
|
|
22
|
+
"Not at all! IntelliOpAI is designed with a user-friendly interface that requires no coding knowledge. Our intuitive dashboard and guided setup process make it easy for anyone to get started, regardless of their technical background.",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
question: "How does IntelliOpAI integrate with my existing systems?",
|
|
26
|
+
answer:
|
|
27
|
+
"IntelliOpAI offers seamless integration with popular business tools and platforms through our robust API and pre-built connectors. We support integration with CRM systems, databases, cloud services, and more to ensure a smooth transition.",
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
question: "What kind of support do you provide?",
|
|
31
|
+
answer:
|
|
32
|
+
"We offer comprehensive 24/7 support including live chat, email support, and dedicated account managers for enterprise clients. Our team of AI experts is always ready to help you maximize the value of your IntelliOpAI implementation.",
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
question: "Is my data secure with IntelliOpAI?",
|
|
36
|
+
answer:
|
|
37
|
+
"Absolutely. We implement enterprise-grade security measures including end-to-end encryption, SOC 2 compliance, and regular security audits. Your data is protected with the highest industry standards and we never share your information with third parties.",
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
question: "Can IntelliOpAI scale with my business growth?",
|
|
41
|
+
answer:
|
|
42
|
+
"Yes! IntelliOpAI is built to scale with your business. Our flexible architecture can handle everything from small startups to large enterprises, automatically adjusting resources and capabilities as your needs evolve.",
|
|
43
|
+
},
|
|
44
|
+
]}
|
|
45
|
+
section={{
|
|
46
|
+
className:
|
|
47
|
+
"py-16 px-5 bg-white dark:bg-black text-gray-800 dark:text-white",
|
|
48
|
+
}}
|
|
49
|
+
container={{
|
|
50
|
+
className: "max-w-6xl mx-auto",
|
|
51
|
+
}}
|
|
52
|
+
heading={{
|
|
53
|
+
className:
|
|
54
|
+
"text-2xl md:text-3xl lg:text-4xl font-bold text-center mb-8 text-gray-800 dark:text-white font-outfit",
|
|
55
|
+
}}
|
|
56
|
+
grid={{
|
|
57
|
+
className: "grid grid-cols-1 lg:grid-cols-2 gap-6 px-5 py-8",
|
|
58
|
+
}}
|
|
59
|
+
item={{
|
|
60
|
+
className: "mb-6 w-full",
|
|
61
|
+
}}
|
|
62
|
+
questionButton={{
|
|
63
|
+
className:
|
|
64
|
+
"bg-gradient-to-r from-purple-600 to-purple-700 hover:from-purple-700 hover:to-purple-800 text-white p-5 cursor-pointer rounded-lg transition-all duration-200 flex items-center justify-between shadow-lg hover:shadow-xl hover:shadow-purple-500/30 hover:-translate-y-0.5 font-inter " +
|
|
65
|
+
// Define the ring and border CSS vars
|
|
66
|
+
"[--btn-ring:theme(colors.purple.500)] dark:[--btn-ring:theme(colors.purple.400)] " +
|
|
67
|
+
"[--btn-border:theme(colors.purple.500)] dark:[--btn-border:theme(colors.purple.400)] " +
|
|
68
|
+
// Ensure mouse focus uses ring color too
|
|
69
|
+
"focus:ring-[var(--btn-ring)]",
|
|
70
|
+
}}
|
|
71
|
+
// Question text styles inherits from button
|
|
72
|
+
questionText={{ className: "" }}
|
|
73
|
+
chevronIcon={{
|
|
74
|
+
className: "h-6 w-6 transition-transform duration-200 flex-shrink-0",
|
|
75
|
+
}}
|
|
76
|
+
openIcon={<ChevronUp className="h-6 w-6" />}
|
|
77
|
+
closedIcon={<ChevronDown className="h-6 w-6" />}
|
|
78
|
+
answer={{
|
|
79
|
+
className:
|
|
80
|
+
"bg-gray-50 dark:bg-gray-800 text-gray-800 dark:text-white rounded-lg overflow-hidden border border-purple-200 dark:border-purple-800 shadow-md",
|
|
81
|
+
}}
|
|
82
|
+
answerText={{ className: "p-5" }}
|
|
83
|
+
ariaLabel="IntelliOpAI frequently asked questions"
|
|
84
|
+
/>
|
|
85
|
+
);
|
|
86
|
+
}
|