From 697981b482f22401e24c8fcc3b0d50ec6e4a70bf Mon Sep 17 00:00:00 2001 From: Eugene Serb <46799701+eugene-serb@users.noreply.github.com> Date: Thu, 30 Jun 2022 12:35:29 +0300 Subject: [PATCH] Rewrited wavelovers in VueJS, JavaScript, CSS, HTML, JSON --- .gitignore | 24 + README.md | 24 +- babel.config.js | 5 + docs/404.md | 70 + docs/CNAME | 1 + docs/LICENSE.md | 674 + docs/README.md | 31 + about.html => docs/about.html | 0 {assets => docs/assets}/patterns.json | 0 docs/css/app.898cf775.css | 1 + {css => docs/css}/styles.css | 152 +- faq.html => docs/faq.html | 0 {img => docs/img}/android-chrome-192x192.png | Bin {img => docs/img}/android-chrome-512x512.png | Bin {img => docs/img}/apple-touch-icon.png | Bin {img => docs/img}/favicon-16x16.png | Bin {img => docs/img}/favicon-32x32.png | Bin {img => docs/img}/favicon.ico | Bin {img => docs/img}/og.png | Bin docs/index.html | 18 + docs/js/app.6d107a0d.js | 2 + docs/js/app.6d107a0d.js.map | 1 + docs/js/chunk-vendors.b7b248da.js | 2 + docs/js/chunk-vendors.b7b248da.js.map | 1 + robots.txt => docs/robots.txt | 0 site.webmanifest => docs/site.webmanifest | 0 .../sitemap-internal.xml | 6 +- sitemap.xml => docs/sitemap.xml | 2 +- js/scripts.js | 264 - jsconfig.json | 19 + package-lock.json | 19843 ++++++++++++++++ package.json | 43 + public/404.md | 70 + public/CNAME | 1 + public/LICENSE.md | 674 + public/README.md | 31 + public/about.html | 151 + public/assets/patterns.json | 234 + public/css/styles.css | 496 + public/faq.html | 151 + public/img/android-chrome-192x192.png | Bin 0 -> 11770 bytes public/img/android-chrome-512x512.png | Bin 0 -> 38822 bytes public/img/apple-touch-icon.png | Bin 0 -> 10299 bytes public/img/favicon-16x16.png | Bin 0 -> 602 bytes public/img/favicon-32x32.png | Bin 0 -> 1337 bytes public/img/favicon.ico | Bin 0 -> 15406 bytes public/img/og.png | Bin 0 -> 18332 bytes index.html => public/index.html | 24 +- public/robots.txt | 13 + public/site.webmanifest | 20 + public/sitemap-internal.xml | 22 + public/sitemap.xml | 8 + src/App.vue | 17 + src/components/Gamepad.js | 39 + src/components/GamepadItem.vue | 32 + src/components/GamepadList.vue | 32 + src/components/PatternItem.vue | 81 + src/components/PatternList.vue | 48 + src/components/WaveloversApp.vue | 134 + src/main.js | 4 + vue.config.js | 4 + 61 files changed, 23048 insertions(+), 421 deletions(-) create mode 100644 babel.config.js create mode 100644 docs/404.md create mode 100644 docs/CNAME create mode 100644 docs/LICENSE.md create mode 100644 docs/README.md rename about.html => docs/about.html (100%) rename {assets => docs/assets}/patterns.json (100%) create mode 100644 docs/css/app.898cf775.css rename {css => docs/css}/styles.css (79%) rename faq.html => docs/faq.html (100%) rename {img => docs/img}/android-chrome-192x192.png (100%) rename {img => docs/img}/android-chrome-512x512.png (100%) rename {img => docs/img}/apple-touch-icon.png (100%) rename {img => docs/img}/favicon-16x16.png (100%) rename {img => docs/img}/favicon-32x32.png (100%) rename {img => docs/img}/favicon.ico (100%) rename {img => docs/img}/og.png (100%) create mode 100644 docs/index.html create mode 100644 docs/js/app.6d107a0d.js create mode 100644 docs/js/app.6d107a0d.js.map create mode 100644 docs/js/chunk-vendors.b7b248da.js create mode 100644 docs/js/chunk-vendors.b7b248da.js.map rename robots.txt => docs/robots.txt (100%) rename site.webmanifest => docs/site.webmanifest (100%) rename sitemap-internal.xml => docs/sitemap-internal.xml (82%) rename sitemap.xml => docs/sitemap.xml (85%) delete mode 100644 js/scripts.js create mode 100644 jsconfig.json create mode 100644 package-lock.json create mode 100644 package.json create mode 100644 public/404.md create mode 100644 public/CNAME create mode 100644 public/LICENSE.md create mode 100644 public/README.md create mode 100644 public/about.html create mode 100644 public/assets/patterns.json create mode 100644 public/css/styles.css create mode 100644 public/faq.html create mode 100644 public/img/android-chrome-192x192.png create mode 100644 public/img/android-chrome-512x512.png create mode 100644 public/img/apple-touch-icon.png create mode 100644 public/img/favicon-16x16.png create mode 100644 public/img/favicon-32x32.png create mode 100644 public/img/favicon.ico create mode 100644 public/img/og.png rename index.html => public/index.html (90%) create mode 100644 public/robots.txt create mode 100644 public/site.webmanifest create mode 100644 public/sitemap-internal.xml create mode 100644 public/sitemap.xml create mode 100644 src/App.vue create mode 100644 src/components/Gamepad.js create mode 100644 src/components/GamepadItem.vue create mode 100644 src/components/GamepadList.vue create mode 100644 src/components/PatternItem.vue create mode 100644 src/components/PatternList.vue create mode 100644 src/components/WaveloversApp.vue create mode 100644 src/main.js create mode 100644 vue.config.js diff --git a/.gitignore b/.gitignore index dfcfd56..196e672 100644 --- a/.gitignore +++ b/.gitignore @@ -348,3 +348,27 @@ MigrationBackup/ # Ionide (cross platform F# VS Code tools) working folder .ionide/ + +.DS_Store +node_modules +/dist + + +# local env files +.env.local +.env.*.local + +# Log files +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* + +# Editor directories and files +.idea +.vscode +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/README.md b/README.md index d950d2f..543bc4c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Wavelovers -Wavelovers in ***Javascript***, ***HTML*** and ***CSS*** **[[rep](https://github.com/eugene-serb/wavelovers/), [site](https://wavelovers.ru/)]**. +Wavelovers in ***VueJS***, ***Javascript***, ***HTML*** and ***CSS*** **[[rep](https://github.com/eugene-serb/wavelovers/), [site](https://wavelovers.ru/)]**. This is Wavelovers, which can make a vibrating massager out of a gamepad. It has 16 free vibration patterns to play with. @@ -7,3 +7,25 @@ If you are interested in this or my other projects, or would like to suggest and Follow me on Twitter: *[@eugene_serb](https://twitter.com/eugene_serb)* +## Project setup +``` +npm install +``` + +### Compiles and hot-reloads for development +``` +npm run serve +``` + +### Compiles and minifies for production +``` +npm run build +``` + +### Lints and fixes files +``` +npm run lint +``` + +### Customize configuration +See [Configuration Reference](https://cli.vuejs.org/config/). diff --git a/babel.config.js b/babel.config.js new file mode 100644 index 0000000..e955840 --- /dev/null +++ b/babel.config.js @@ -0,0 +1,5 @@ +module.exports = { + presets: [ + '@vue/cli-plugin-babel/preset' + ] +} diff --git a/docs/404.md b/docs/404.md new file mode 100644 index 0000000..e21e09f --- /dev/null +++ b/docs/404.md @@ -0,0 +1,70 @@ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/CNAME b/docs/CNAME new file mode 100644 index 0000000..db815ff --- /dev/null +++ b/docs/CNAME @@ -0,0 +1 @@ +wavelovers.ru \ No newline at end of file diff --git a/docs/LICENSE.md b/docs/LICENSE.md new file mode 100644 index 0000000..f288702 --- /dev/null +++ b/docs/LICENSE.md @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc.f?Y(e,i,s,!0,!1,p):T(t,n,r,i,s,c,u,l,p)},W=(e,t,n,r,i,s,c,u,l)=>{let a=0;const f=t.length;let p=e.length-1,d=f-1;while(a<=p&&a<=d){const r=e[a],o=t[a]=l?rn(t[a]):nn(t[a]);if(!Gt(r,o))break;y(r,o,n,null,i,s,c,u,l),a++}while(a<=p&&a<=d){const r=e[p],o=t[d]=l?rn(t[d]):nn(t[d]);if(!Gt(r,o))break;y(r,o,n,null,i,s,c,u,l),p--,d--}if(a>p){if(a<=d){const e=d+1,o=e