| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157 |
- const DELIMITER = '_'
- // TO ADD ASPECT, increment aspectsArr here
- const aspectsArr = [1, 2, 3, 4, 5, 6]
-
- // TODO: Combine these two
- const allSteps = {
- usa: {
- splash: 'splash',
- name: 'name',
- email: 'email',
- password: 'password',
- zipcode: 'zipcode',
- seeking: 'seeking',
- urgency: 'urgency',
- presence: 'presence',
- duration: 'duration',
- pronouns: 'pronouns',
- language: 'language',
- image: 'image',
- distance: 'distance',
- blurb: 'blurb',
- aspects: 'aspects',
- // experience: 'experience',
- // roles: 'role',
- },
- }
-
- const promptToComponent = {
- splash: 'Splash',
- name: 'FormInput',
- email: 'FormInput',
- password: 'FormInput',
- zipcode: 'FormInput',
- seeking: 'FormDropdown',
- urgency: 'FormDropdown',
- presence: 'FormDropdown',
- duration: 'FormDropdown',
- pronouns: 'FormDropdown',
- language: 'FormDropdown',
- image: 'FormInput',
- distance: 'FormInput',
- blurb: 'FormInput',
- aspects: 'Aspects',
- // experience: 'FormTags',
- // role: 'FormDropdown',
- }
-
- const aspectResponses = {
- usa: {
- never: 'never',
- rarely: 'rarely',
- not_really: 'not really',
- occasionally: 'occasionally',
- mostly: 'mostly',
- often: 'often',
- everytime: 'everytime',
- },
- }
-
- const possible = {}
- possible.usa = {
- email: [],
- name: [],
- seeking: ['position', 'candidate'],
- language: ['english', 'spanish'],
- // key 13
- urgency: [
- 'actively_looking',
- 'open_to_the_right_opportunity',
- 'casually_browsing',
- ],
- // key 11
- presence: ['remote', 'in_person', 'hybrid', 'flexible'],
- // key 10
- duration: ['full-time', 'part-time', 'contract', 'flexible'],
- // Experience and roles concat, key: 14
- experience: ['associate', 'junior', 'mid-level', 'senior', 'staff'],
- roles: {
- type: [
- 'back-end',
- 'database',
- 'front-end',
- 'full-stack',
- 'qa',
- 'security',
- 'system',
- 'test',
- ],
- position: [
- 'administrator',
- 'analyst',
- 'architect',
- 'developer',
- 'engineer', 'manager', 'technician', ],
- candidate: ['hiring_manager', 'recruiter'],
- },
- pronouns: ['she/her', 'she/they', 'he/him', 'he/they', 'they/them'],
- image: [],
- zipcode: [],
- blurb: [],
- }
-
- // TODO: set up a separate object of similar prompts based off of
- // employer/employee, right now is generic
- const promptOverrides = {
- name: "First things first, could you provide us with your name? [break] I am called [break] when others address me.",
- email: "In order for others to reach out to you on Siimee, you'll need to provide your email address.[break]When reaching out to me, [break] is my preferred email.",
- password:
- "So far so good! Next we'll need you to establish a super secret password. Your password should be at least 10 characters long and have at least 2 special characters.[break]My [break] is a very secure passcode that only I will have access to!",
- zipcode: "Looking good! You're doing great. The next piece of info we'll need is your zip code. That way we can be sure to only show you other people in your area.[break]My zip code, [break] is the general area where I wish to see results in.",
- seeking: "Alright, let's continue! What are you seeking? Are you looking to find a position to be employed in, or are you looking to employ a candidate?[break] I am a [break] seeking an employer/employee.",
- blurb: "Please provide us with a short blurb about yourself. What's your backstory?[break] My origin story starts like this:[break]",
- image: "Hey, you're almost done! Please provide an image of yourself so others can recognize you if you ever meet up IRL:",
- pronouns: 'When others refer to you, what pronouns do you prefer they use?[break]I prefer to be called [break] when others refer to me.',
- urgency: "How soon do you need the position filled or you need to be employed? [break]I am currently [break] when it comes to employment opportunities right now.",
- presence: "Would you prefer remote, hybrid, in-person work?[break] Personally I'd prefer a [break] job right now. It's just what works best for me.",
- duration: "What kind of duration would you prefer? Are you looking for part-time, full-time, other?[break] Currently, I'm looking for a [break] job at this time.",
- language: "What language is your native language?[break] I consider [break] language as my native language.",
- distance: "What distance from your home are you looking to work in?[break] Preferably, I'd like to work [break] from my place of residence.",
- }
-
- const inputPlaceholders = {
- name: 'Joe Doe',
- email: 'Joe@mailme.com',
- zipcode: '90012',
- password: 'supersecr3tp@ssword',
- blurb: 'my backstory starts long long ago...',
- distance: '5 mi',
- }
-
- const invalidInputPrompts = {
- name: "So sorry, but what's your name?",
- email: "It looks like that email isn't valid, try en email that is formatted like so: joe@joe.com",
- password: "That password doesn't fit our requirements, please follow the above instructions to generate a secure password.",
- zipcode: "Oops! That isn't a recognized zipcode, please enter a 5 digit zipcode like: 97869",
- blurb: "Whoa! Cool story. Unfortunately your backstory is either too long or too short. Please tell us a bit about yourself between 1 and 100 characters.",
- image: "It appears you didn't upload an image. Please provide Siimee with an image in case you want to show others what you look like.",
- seeking: "In order to provide you with the best results, Siimee will need to know whether you're an employer looking to fill a position, or a candidate looking for an employment. Please take a look at our above options and choose one.",
- pronouns: "Ensuring that others on our platform are aware of what your preferred pronouns are is important to us. Please choose from one of the above options.",
- urgency: "Looks like you left this field blank. Take a look at our provided options and tell us when you'd like be employed.",
- presence: "Hold up! So sorry to put a pause here, but it looks like you haven't chosen whether to work remotely or in person. No worries, if you're unsure, just choose the 'flexible' option.",
- duration: "Looks like you haven't filled out what kind of work you're most interested in. As in, part-time, full-time. Take a look at our above options and choose whatever feels right for you right now. You can always edit them later!",
- language: "We try our best to provide results in the language of your choosing. ¿Prefieres ver resultados en español? Or would you prefer to see results in english?",
- distance: "Whoa! You either left this field blank or tried to input an astronomically large distance you'd like to see results from. Please input a distance you'd like to see results in.",
- }
-
- export {
- promptOverrides,
- promptToComponent,
- inputPlaceholders,
- invalidInputPrompts,
- allSteps,
- aspectResponses,
- aspectsArr,
- possible,
- DELIMITER,
- }
|