- {formData.aiType && (
- 0 && (
+
- {t(`aiTypes.${formData.aiType}.description`)}
-
+ {formData.aiTypes.map((aiId) => (
+
+ {t(`aiTypes.${aiId}.title`)}:{' '}
+ {t(`aiTypes.${aiId}.description`)}
+
+ ))}
+
)}
diff --git a/src/components/configurator/WizardContainer.tsx b/src/components/configurator/WizardContainer.tsx
index d8ba313..802889c 100644
--- a/src/components/configurator/WizardContainer.tsx
+++ b/src/components/configurator/WizardContainer.tsx
@@ -13,7 +13,7 @@ import StepComplete from './StepComplete';
export interface WizardFormData {
services: string[];
aiEnabled: boolean;
- aiType: string | null;
+ aiTypes: string[];
industry: string | null;
scope: string;
timeline: string | null;
@@ -59,7 +59,7 @@ const makeVariants = (direction: 1 | -1) => ({
const DEFAULT_FORM_DATA: WizardFormData = {
services: [],
aiEnabled: false,
- aiType: null,
+ aiTypes: [],
industry: null,
scope: '',
timeline: null,