From 89eb8523e9b9da48bb91a56755d296b49e9cd8c4 Mon Sep 17 00:00:00 2001 From: Christos Panagiotakopoulos Date: Fri, 28 Oct 2022 13:15:19 +0200 Subject: [PATCH] feat: registration --- package.json | 1 + public/index.html | 1 + src/components/register/SignUp.vue | 133 ++++++++++++++++++++++++++++- src/pages/Register.vue | 2 +- tsconfig.json | 2 +- yarn.lock | 5 ++ 6 files changed, 141 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index c14cb19a..d5ed5d2d 100644 --- a/package.json +++ b/package.json @@ -50,6 +50,7 @@ "vue3-lazyload": "^0.3.6" }, "devDependencies": { + "@hcaptcha/types": "^1.0.3", "@babel/core": "^7.19.1", "@babel/eslint-parser": "^7.19.1", "@playwright/test": "^1.25.2", diff --git a/public/index.html b/public/index.html index 5f1393c1..6a6bef35 100644 --- a/public/index.html +++ b/public/index.html @@ -5,6 +5,7 @@ + <%= htmlWebpackPlugin.options.title %> diff --git a/src/components/register/SignUp.vue b/src/components/register/SignUp.vue index f31a3940..c9170295 100644 --- a/src/components/register/SignUp.vue +++ b/src/components/register/SignUp.vue @@ -1 +1,132 @@ - + + + diff --git a/src/pages/Register.vue b/src/pages/Register.vue index c7176bf9..f811caca 100644 --- a/src/pages/Register.vue +++ b/src/pages/Register.vue @@ -60,7 +60,7 @@ onMounted(async () => {
- +

diff --git a/tsconfig.json b/tsconfig.json index dfd194a2..1017dbb8 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,7 +13,7 @@ "sourceMap": true, "baseUrl": ".", "noUnusedLocals": true, - "types": ["webpack-env"], + "types": ["webpack-env", "@hcaptcha/types"], "paths": { "@/*": ["src/*"] }, diff --git a/yarn.lock b/yarn.lock index 1f09cf0f..a8d08c42 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1275,6 +1275,11 @@ dependencies: "@hapi/hoek" "^9.0.0" +"@hcaptcha/types@^1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@hcaptcha/types/-/types-1.0.3.tgz#baf10a4361a45ff1c64862dfb8dc9bbc8292a8fe" + integrity sha512-1mbU6eSGawRrqeahRrOzZo/SVLI6oZ5/azuBpSyVrRRR96CnS3fOVDWfzxpngfxKD0/I9Rwu6c/3ITqD8rXeTQ== + "@humanwhocodes/config-array@^0.11.6": version "0.11.6" resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.6.tgz#6a51d603a3aaf8d4cf45b42b3f2ac9318a4adc4b"