From ca6c5d0e3d64693272f16071f6da386d43420764 Mon Sep 17 00:00:00 2001 From: antoinezanardi Date: Sat, 8 Aug 2020 15:39:28 +0200 Subject: [PATCH] feat(About): About page added. Closes #11 --- CHANGELOG.md | 23 +++ README.md | 6 +- package-lock.json | 52 +++++-- package.json | 9 +- src/assets/scss/styles.scss | 1 + src/components/About/About.vue | 196 ++++++++++++++++++++++++ src/components/Home/Home.vue | 21 ++- src/plugins/index.js | 1 + src/plugins/router/index.js | 13 +- src/plugins/vue-github-buttons/index.js | 4 + src/plugins/vue-i18n/fr.json | 43 +++++- 11 files changed, 340 insertions(+), 29 deletions(-) create mode 100644 src/components/About/About.vue create mode 100644 src/plugins/vue-github-buttons/index.js diff --git a/CHANGELOG.md b/CHANGELOG.md index 258fa46..bdca790 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,28 @@ # 📈 LIST OF CHANGES FOR WEREWOLVES ASSISTANT WEB +## 1.0.0-beta.2 (2020-08-03) + +### 🚀 New features + +* `About` page added with a lot of useful information. + +### 🌟 Enhancements + +* Pick-up line added on Home page for explaining the concept of Werewolves Assistant. + +### 📚 Documentation + +* Links for [Werewolves Assistant API](https://github.com/antoinezanardi/werewolves-assistant-api) and demos on `README.md` open now a new tab when clicked. + +### 📦 Packages + +* `vue-github-buttons` installed with version `3.1.0`. +* `bootstrap` updated to version `4.5.2`. +* `sass-loader` updated to version `9.0.3`. +* `vue-router` updated to version `3.4.2`. + +--- + ## 1.0.0-beta.1 (2020-08-03) ### 🚀 New features diff --git a/README.md b/README.md index 9dfab62..1307d4d 100644 --- a/README.md +++ b/README.md @@ -12,13 +12,13 @@ [![ForTheBadge uses-js](http://ForTheBadge.com/images/badges/uses-js.svg)](https://GitHub.com/antoinezanardi/werewolves-assistant-web) ## 🐺 Description -Werewolves Assistant Web is a Vue web app using the [Werewolves Assistant API](https://github.com/antoinezanardi/werewolves-assistant-api). +Werewolves Assistant Web is a Vue web app using the Werewolves Assistant API. Thanks to this app, being the game master of the Werewolves of Millers Hollow game is so easy ! Try it out now with live demos below. ## 🌻 Live demos Two environments are set up: -* **Sandbox**: https://sandbox.werewolves-assistant.antoinezanardi.fr -* **Production**: https://werewolves-assistant.antoinezanardi.fr +* **Sandbox**: Join here +* **Production**: Join here For your tests, please use the **Sandbox URL**. diff --git a/package-lock.json b/package-lock.json index d7b04d6..101d3e5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "werewolves-assistant-web", - "version": "0.2.0", + "version": "1.0.0-beta.1", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -1750,9 +1750,9 @@ "dev": true }, "bootstrap": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-4.5.0.tgz", - "integrity": "sha512-Z93QoXvodoVslA+PWNdk23Hze4RBYIkpb5h8I2HY2Tu2h7A0LpAgLcyrhrSUyo2/Oxm2l1fRZPs1e5hnxnliXA==" + "version": "4.5.2", + "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-4.5.2.tgz", + "integrity": "sha512-vlGn0bcySYl/iV+BGA544JkkZP5LB3jsmkeKLFQakCOwCM3AOk7VkldBz4jrzSe+Z0Ezn99NVXa1o45cQY4R6A==" }, "brace-expansion": { "version": "1.1.11", @@ -5653,6 +5653,11 @@ "mime-types": "^2.1.12" } }, + "format-thousands": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/format-thousands/-/format-thousands-1.1.1.tgz", + "integrity": "sha1-eXW+4wM42QBjkNpYMdsLQcMj+/o=" + }, "forwarded": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz", @@ -8793,7 +8798,8 @@ "neo-async": { "version": "2.6.1", "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.1.tgz", - "integrity": "sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw==" + "integrity": "sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw==", + "dev": true }, "nice-try": { "version": "1.0.5", @@ -8828,6 +8834,11 @@ } } }, + "node-fetch": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz", + "integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==" + }, "node-forge": { "version": "0.9.0", "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.9.0.tgz", @@ -11056,13 +11067,13 @@ } }, "sass-loader": { - "version": "9.0.2", - "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-9.0.2.tgz", - "integrity": "sha512-nphcum3jNI442njnrZ5wJgSNX5lfEOHOKHCLf+PrTIaleploKqAMUuT9CVKjf+lyi6c2MCGPHh1vb9nGsjnZJA==", + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-9.0.3.tgz", + "integrity": "sha512-fOwsP98ac1VMme+V3+o0HaaMHp8Q/C9P+MUazLFVi3Jl7ORGHQXL1XeRZt3zLSGZQQPC8xE42Y2WptItvGjDQg==", "requires": { - "klona": "^1.1.1", + "klona": "^1.1.2", "loader-utils": "^2.0.0", - "neo-async": "^2.6.1", + "neo-async": "^2.6.2", "schema-utils": "^2.7.0", "semver": "^7.3.2" }, @@ -11085,6 +11096,11 @@ "json5": "^2.1.2" } }, + "neo-async": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==" + }, "schema-utils": { "version": "2.7.0", "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.0.tgz", @@ -12832,6 +12848,16 @@ } } }, + "vue-github-buttons": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/vue-github-buttons/-/vue-github-buttons-3.1.0.tgz", + "integrity": "sha512-x0b9bdhP5xZOD5kQ9+nnCzvKqVyHb4moqN2l06mjYB/k2WRdW5jiAWlneUgoPFwPvcqM40vrTDXVvBrS0MMlEQ==", + "requires": { + "format-thousands": "^1.1.1", + "node-fetch": "^2.3.0", + "tslib": "^1.9.3" + } + }, "vue-hot-reload-api": { "version": "2.3.4", "resolved": "https://registry.npmjs.org/vue-hot-reload-api/-/vue-hot-reload-api-2.3.4.tgz", @@ -12896,9 +12922,9 @@ } }, "vue-router": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.3.4.tgz", - "integrity": "sha512-SdKRBeoXUjaZ9R/8AyxsdTqkOfMcI5tWxPZOUX5Ie1BTL5rPSZ0O++pbiZCeYeythiZIdLEfkDiQPKIaWk5hDg==" + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.4.2.tgz", + "integrity": "sha512-n3Ok70hW0EpcJF4lcWIwSHAQbFTnIOLl/fhO8+oTs4jHNtBNsovcVvPZeTOyKEd8C3xF1Crft2ASuOiVT5K1mw==" }, "vue-select": { "version": "3.10.7", diff --git a/package.json b/package.json index cbfaf2c..3533cbc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "werewolves-assistant-web", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "private": true, "scripts": { "start": "npm run serve", @@ -18,23 +18,24 @@ "@sentry/integrations": "^5.20.1", "animate.css": "^4.1.0", "axios": "^0.19.2", - "bootstrap": "^4.5.0", + "bootstrap": "^4.5.2", "epic-spinners": "^1.1.0", "jquery": "^3.5.1", "jsonwebtoken": "^8.5.1", "node-sass": "^4.14.1", "popper.js": "^1.16.1", "qs": "^6.9.4", - "sass-loader": "^9.0.2", + "sass-loader": "^9.0.3", "sweetalert2": "^9.17.1", "uniqid": "^5.2.0", "v-tooltip": "^2.0.3", "vee-validate": "^3.3.8", "vue": "^2.6.11", "vue-flip": "^1.0.2", + "vue-github-buttons": "^3.1.0", "vue-i18n": "^8.20.0", "vue-roller": "^1.12.3", - "vue-router": "^3.2.0", + "vue-router": "^3.4.2", "vue-select": "^3.10.7", "vue-toasted": "^1.1.28", "vuex": "^3.5.1" diff --git a/src/assets/scss/styles.scss b/src/assets/scss/styles.scss index 2db1739..63ee78c 100644 --- a/src/assets/scss/styles.scss +++ b/src/assets/scss/styles.scss @@ -1,5 +1,6 @@ @import "../../../node_modules/animate.css/animate.min.css"; @import "../../../node_modules/@fortawesome/fontawesome-free/css/all.min.css"; +@import "../../../node_modules/vue-github-buttons/dist/vue-github-buttons.min.css"; @import "colors"; @import "all"; diff --git a/src/components/About/About.vue b/src/components/About/About.vue new file mode 100644 index 0000000..4b2341b --- /dev/null +++ b/src/components/About/About.vue @@ -0,0 +1,196 @@ + + + + + \ No newline at end of file diff --git a/src/components/Home/Home.vue b/src/components/Home/Home.vue index 81c48fe..646d3b9 100644 --- a/src/components/Home/Home.vue +++ b/src/components/Home/Home.vue @@ -3,12 +3,16 @@
+ Wolf

- Wolf +

+ + +

-
+