From 51b845e937f44cf6ca04ef8aba100b279bf9e135 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Mon, 4 Dec 2023 12:44:37 +0530 Subject: [PATCH] feat: add setup company UI --- .../dashboard/i18n/locale/en/signup.json | 24 +++++++ .../v3/views/auth/start/SetupCompany.vue | 62 +++++++++++++++++-- .../auth/start/components/ModalLayout.vue | 38 ++++++++++++ 3 files changed, 119 insertions(+), 5 deletions(-) create mode 100644 app/javascript/v3/views/auth/start/components/ModalLayout.vue diff --git a/app/javascript/dashboard/i18n/locale/en/signup.json b/app/javascript/dashboard/i18n/locale/en/signup.json index 1ad4865ff..f0a7064ce 100644 --- a/app/javascript/dashboard/i18n/locale/en/signup.json +++ b/app/javascript/dashboard/i18n/locale/en/signup.json @@ -40,5 +40,29 @@ }, "SUBMIT": "Create account", "HAVE_AN_ACCOUNT": "Already have an account?" + }, + "ONBOARDING": { + "COMPANY": { + "TITLE": "Tell us about your company", + "BODY": "In this section, we'll set up the language, timezone, and company size. This information allows us to provide contextually accurate information and suggest relevant features for you.", + "SUBMIT": "Go to next step", + "COMPANY_NAME": { + "LABEL": "Company name", + "PLACEHOLDER": "Enter your company name", + "ERROR": "Company name is too short." + }, + "TIMEZONE": { + "LABEL": "Timezone", + "PLACEHOLDER": "What timezone do you work from?" + }, + "LOCALE": { + "LABEL": "Language", + "PLACEHOLDER": "Select the language you want to use" + }, + "SIZE": { + "LABEL": "Company size", + "PLACEHOLDER": "How many people work at your company?" + } + } } } diff --git a/app/javascript/v3/views/auth/start/SetupCompany.vue b/app/javascript/v3/views/auth/start/SetupCompany.vue index 84582811b..db010083c 100644 --- a/app/javascript/v3/views/auth/start/SetupCompany.vue +++ b/app/javascript/v3/views/auth/start/SetupCompany.vue @@ -1,11 +1,63 @@ diff --git a/app/javascript/v3/views/auth/start/components/ModalLayout.vue b/app/javascript/v3/views/auth/start/components/ModalLayout.vue new file mode 100644 index 000000000..692776cb9 --- /dev/null +++ b/app/javascript/v3/views/auth/start/components/ModalLayout.vue @@ -0,0 +1,38 @@ + + +