diff --git a/.drone.yml b/.drone.yml
index 3d70f04..7417071 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -50,6 +50,8 @@ steps:
- npm run fetchData
- npm run lint
- npm run build
+ environment:
+ NODE_ENV: 'production'
- name: deploy on s3
image: minio/mc
@@ -94,6 +96,8 @@ steps:
- npm run fetchData
- npm run lint
- npm run build
+ environment:
+ NODE_ENV: 'staging'
- name: deploy on s3
image: minio/mc
diff --git a/.eslintrc.cjs b/.eslintrc.cjs
index ed2ab70..2850572 100644
--- a/.eslintrc.cjs
+++ b/.eslintrc.cjs
@@ -3,6 +3,9 @@ require("@rushstack/eslint-patch/modern-module-resolution");
module.exports = {
root: true,
+ globals: {
+ process: true,
+ },
extends: [
"plugin:vue/vue3-essential",
"eslint:recommended",
diff --git a/public/abacus.svg b/public/abacus.svg
new file mode 100644
index 0000000..bdf5931
--- /dev/null
+++ b/public/abacus.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/assets/base.css b/src/assets/base.css
index b3f8bac..5a78c01 100644
--- a/src/assets/base.css
+++ b/src/assets/base.css
@@ -93,4 +93,5 @@ body {
position: absolute;
border: none;
box-shadow: 0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12);
+ cursor: pointer;
}
diff --git a/src/components/Question.vue b/src/components/Question.vue
index 00b960c..694cc05 100644
--- a/src/components/Question.vue
+++ b/src/components/Question.vue
@@ -26,6 +26,13 @@ function slideMove(splide, newIndex) {
answerWeight.value = props.question.answers[newIndex].weight;
emits("answerSelected", props.question, answerWeight);
}
+const isProduction = process.env.NODE_ENV == "production";
+const displayPopup = ref(false);
+function showHidePopup() {
+ displayPopup.value = !displayPopup.value;
+}
+const h = ref();
+const d = ref();
@@ -73,7 +80,26 @@ function slideMove(splide, newIndex) {
-
+
+
+
+
+
+
+
+