super-fit-web-app / src / utils / signUpRoutes.ts
signUpRoutes.ts
Raw
export const signUpRoutes = [
	{
		route: 'account/create/name',
		title: 'Congrats on taking the first steps to a new you.',
		subtitle: 'Lets get started with your name',
		inputs: [
			{
				label: 'Your Name',
				type: 'TextField',
				id: 'name'
			}
		],
		nextRoute: 'goals'
	},
	{
		route: 'account/create/goals',
		title: 'names Goal',
		subtitle: 'What is your goal with fitness?',
		buttons: [
			{
				text: 'Loose Weight',
				id: 'lswt'
			},
			{
				text: 'Gain Weight',
				id: 'gnwt'
			},
			{
				text: 'Gain Muscle',
				id: 'gnmscl'
			},
			{
				text: 'Tone Up',
				id: 'tnup'
			},
			{
				text: 'Maintain Composition',
				id: 'mtncomp'
			}
		],
		nextRoute: 'activity'
	},
	{
		route: 'account/create/activity',
		title: 'Activity Level',
		subtitle: 'What is your activity level?',
		buttons: [
			{
				text: 'Not Very Active'
			},
			{
				text: 'Slightly Active'
			},
			{
				text: 'Active'
			},
			{
				text: 'Very Active'
			}
		],
		nextRoute: 'demographic-1'
	},
	{
		route: 'account/create/demographic-1',
		title: 'Your Biology',
		subtitle: 'Tell me about your physical biology',
		radios: [
			{
				label: 'Gender',
				aria: 'gender-radio-buttons',
				selections: [
					'Male',
					'Female'
				]
			}
		],
		inputs: [
			{
				label: 'Date of Birth',
				type: 'DatePicker',
				id: 'dtofbr'
			}
		],
		nextRoute: 'demographic-2'
	},
	{
		route: 'account/create/demographic-2',
		title: 'You',
		subtitle: 'Tell me about your height and weight.',
		inputs: [
			{
				label: 'Height (cm)',
				type: 'TextField',
				id: 'hgt'
			},
			{
				label: 'Weight (kg)',
				type: 'TextField',
				id: 'wght'
			},
			{
				label: 'Goal Weight (kg)',
				type: 'TextField',
				id: 'glwght'
			}
		],
		nextRoute: 'account/create'
	},
	{
		route: 'account/create',
		title: 'Account',
		subtitle: 'Now create your account',
		inputs: [
			{
				label: 'Email address',
				type: 'TextField',
				id: 'eml'
			},
			{
				label: 'Password',
				type: 'Password',
				id: 'pwd'
			}
		]
	}
];