feat(fe2): segmenation checkup

This commit is contained in:
Dimitrie Stefanescu
2023-06-13 11:56:55 +01:00
parent d781503553
commit 4da3dcdcc7
2 changed files with 12 additions and 9 deletions
@@ -43,11 +43,14 @@
@mouseleave="rotateGently(Math.random() * 2)"
>
<h2 class="text-center text-2xl font-bold">Thanks!</h2>
<p class="text-center">One last thing. What's your job title?</p>
<p class="text-center">
Last thing! Please select the role that best describes you:
</p>
<div class="grid grid-cols-2 gap-4">
<FormButton
v-for="val in OnboardingRole"
:key="val"
class="text-xs hover:scale-[1.05]"
@click="setRole(val)"
@mouseenter="rotateGently(Math.random() * 2)"
@focus="rotateGently(Math.random() * 2)"
@@ -3,25 +3,25 @@ export enum OnboardingIndustry {
Engineering = 'engineering',
Construction = 'construction',
Design = 'design',
Gaming = 'gaming',
Software = 'software',
Other = 'other'
}
export enum OnboardingRole {
BimManager = 'bim-manager',
ComputationalDesigner = 'computational-designer',
Architect = 'architect',
Engineer = 'engineer',
SoftwareDeveloper = 'software-developer',
DesignerOrEngineer = 'designer-or-engineer',
Manager = 'manager',
Student = 'student',
Other = 'other'
}
export const RoleTitleMap: Record<OnboardingRole, string> = {
[OnboardingRole.Architect]: 'Architect',
[OnboardingRole.BimManager]: 'BIM Manager',
[OnboardingRole.Engineer]: 'Engineer',
[OnboardingRole.SoftwareDeveloper]: 'Software Developer',
[OnboardingRole.ComputationalDesigner]: 'Computational Designer',
[OnboardingRole.SoftwareDeveloper]: 'Software Developer',
[OnboardingRole.DesignerOrEngineer]: 'Designer Or Engineer',
[OnboardingRole.Manager]: 'Manager',
[OnboardingRole.Student]: 'Student',
[OnboardingRole.Other]: 'Other'
}