mirror of
https://github.com/formbricks/formbricks.git
synced 2026-01-25 10:30:30 -06:00
Merge branch 'main' of github.com:formbricks/formbricks
This commit is contained in:
@@ -35,6 +35,9 @@ export default function IconRadio({ element, control, onSubmit, disabled }: Icon
|
||||
<RadioGroup.Label className="pb-6 text-center text-lg font-bold text-slate-600 dark:text-slate-300 sm:text-xl md:text-2xl">
|
||||
{element.label}
|
||||
</RadioGroup.Label>
|
||||
<div className="mx-auto -mt-3 mb-3 text-center text-sm text-slate-500 dark:text-slate-300 md:max-w-lg">
|
||||
{element.help}
|
||||
</div>
|
||||
|
||||
<div
|
||||
className={clsx(
|
||||
|
||||
@@ -23,6 +23,7 @@ export interface SurveyElement {
|
||||
id: string;
|
||||
name?: string;
|
||||
label?: string;
|
||||
help?: string;
|
||||
type: "radio" | "text" | "checkbox" | "html";
|
||||
options?: SurveyOption[];
|
||||
component: React.FC<any>;
|
||||
|
||||
@@ -7,7 +7,6 @@ import Textarea from "@/components/engine/Textarea";
|
||||
import ThankYouHeading from "@/components/engine/ThankYouHeading";
|
||||
import ThankYouPlans from "@/components/engine/ThankYouPlans";
|
||||
import LayoutWaitlist from "@/components/shared/LayoutWaitlist";
|
||||
import { NoSymbolIcon, UserIcon } from "@heroicons/react/24/outline";
|
||||
import {
|
||||
OnboardingIcon,
|
||||
PMFIcon,
|
||||
@@ -251,16 +250,17 @@ const WaitlistPage = () => (
|
||||
{
|
||||
id: "goal",
|
||||
type: "radio",
|
||||
label: "What are you here for?",
|
||||
label: "Want to become a beta user?",
|
||||
help: "Answer 3 open-ended questions and get 50% off in the first year.",
|
||||
name: "goal",
|
||||
options: [
|
||||
{
|
||||
label: "Just notify me on launch",
|
||||
label: "No, just notify me on launch",
|
||||
value: "justNotify",
|
||||
frontend: { icon: BellIcon },
|
||||
},
|
||||
{
|
||||
label: "Become a beta user",
|
||||
label: "Yes, take the survey",
|
||||
value: "becomeBetaUser",
|
||||
frontend: { icon: UserCommentIcon },
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user