-
- {{ __('4. Are you currently using any Frappe products?') }}
-
-
+
+
+ {{ __('How many students are you planning to teach?') }}
+
@@ -89,19 +65,15 @@ const router = useRouter()
const { brand } = sessionStore()
const persona = reactive({
- role: null,
noOfStudents: null,
useCase: null,
- frappeProducts: null,
})
const submitPersona = () => {
let responses = {
site: user.data?.sitename,
- role: persona.role,
no_of_students: persona.noOfStudents,
use_case: persona.useCase,
- frappe_products: persona.frappeProducts,
}
call('lms.lms.api.capture_user_persona', {
responses: JSON.stringify(responses),
@@ -125,24 +97,6 @@ const skipPersonaForm = () => {
})
}
-const roleOptions = computed(() => {
- const options = [
- 'Trainer / Instructor',
- 'Freelancer / Consultant',
- 'HR / L&D Professional',
- 'School / University Admin',
- 'Software Developer',
- 'Community Manager',
- 'Business Owner / Team Lead',
- 'Other',
- ]
-
- return options.map((option) => ({
- label: option,
- value: option,
- }))
-})
-
const noOfStudentsOptions = computed(() => {
const options = [
'Less than 50',
@@ -173,22 +127,6 @@ const useCaseOptions = computed(() => {
}))
})
-const frappeProductsOptions = computed(() => {
- const options = [
- 'Frappe Framework',
- 'ERPNext / Frappe HR',
- 'Frappe CRM / Helpdesk',
- 'Custom Frappe App',
- 'Other',
- 'Not using any Frappe product',
- ]
-
- return options.map((option) => ({
- label: option,
- value: option,
- }))
-})
-
usePageMeta(() => {
return {
title: 'Persona',