diff --git a/.env.example b/.env.example index c9a5518..d610064 100644 --- a/.env.example +++ b/.env.example @@ -1,9 +1,11 @@ BASE_URL= API_URL= -CLIENT_ID= -CLIENT_SECRET= +NUXT_SECRET= -API_TOKEN= +DISCORD_CLIENT_ID= +DISCORD_CLIENT_SECRET= + +BLAGUES_API_TOKEN= SEO=false diff --git a/.eslintrc.json b/.eslintrc.json index 56e4e83..8bb2599 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,31 +1,6 @@ { - "root": true, - "env": { - "browser": true, - "node": true - }, - "parserOptions": { - "parser": "@babel/eslint-parser", - "requireConfigFile": false - }, - "extends": ["@nuxtjs", "plugin:nuxt/recommended", "prettier"], - "plugins": ["prettier"], + "extends": ["@nuxtjs/eslint-config-typescript"], "rules": { - "vue/no-v-html": "off", - "curly": [2, "multi-line"], - "vue/attribute-hyphenation": ["error", "never"], - "unicorn/number-literal-case": "off", - "no-console": "warn", - "no-debugger": "warn", - "prettier/prettier": [ - 2, - { - "singleQuote": true, - "semi": false, - "tabWidth": 2, - "endOfLine": "lf", - "printWidth": 120 - } - ] + "vue/multi-word-component-names": "off" } } diff --git a/.gitignore b/.gitignore index e8f682b..517e1ce 100644 --- a/.gitignore +++ b/.gitignore @@ -1,90 +1,11 @@ -# Created by .ignore support plugin (hsz.mobi) -### Node template -# Logs -/logs -*.log -npm-debug.log* -yarn-debug.log* -yarn-error.log* - -# Runtime data -pids -*.pid -*.seed -*.pid.lock - -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov - -# Coverage directory used by tools like istanbul -coverage - -# nyc test coverage -.nyc_output - -# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) -.grunt - -# Bower dependency directory (https://bower.io/) -bower_components - -# node-waf configuration -.lock-wscript - -# Compiled binary addons (https://nodejs.org/api/addons.html) -build/Release - -# Dependency directories -node_modules/ -jspm_packages/ - -# TypeScript v1 declaration files -typings/ - -# Optional npm cache directory -.npm - -# Optional eslint cache -.eslintcache - -# Optional REPL history -.node_repl_history - -# Output of 'npm pack' -*.tgz - -# Yarn Integrity file -.yarn-integrity - -# dotenv environment variables file -.env - -# parcel-bundler cache (https://parceljs.org/) -.cache - -# next.js build output -.next - -# nuxt.js build output +node_modules +*.log* .nuxt - -# Nuxt generate +.nitro +.cache +.output +.env dist - -# vuepress build output -.vuepress/dist - -# Serverless directories -.serverless - -# IDE / Editor -.idea - -# Service worker -sw.* - -# macOS .DS_Store - -# Vim swap files -*.swp +.stylelintcache +sw.js diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..cf04042 --- /dev/null +++ b/.npmrc @@ -0,0 +1,2 @@ +shamefully-hoist=true +strict-peer-dependencies=false diff --git a/.nvmrc b/.nvmrc deleted file mode 100644 index 431076a..0000000 --- a/.nvmrc +++ /dev/null @@ -1 +0,0 @@ -16.16.0 diff --git a/.prettierrc.json b/.prettierrc.json deleted file mode 100644 index 524f335..0000000 --- a/.prettierrc.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "singleQuote": true, - "semi": false, - "tabWidth": 2, - "endOfLine": "lf", - "printWidth": 120 -} diff --git a/assets/css/reset.css b/assets/css/reset.css index f5e0b49..90761a3 100644 --- a/assets/css/reset.css +++ b/assets/css/reset.css @@ -134,8 +134,6 @@ table { /* apply a natural box layout model to all elements */ *, *::before, -*::after, -*::before, *::after { box-sizing: border-box; } diff --git a/commitlint.config.js b/commitlint.config.js index b4ccd5c..5597ca3 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -1,6 +1,6 @@ module.exports = { extends: ['@commitlint/config-conventional'], rules: { - 'subject-case': [2, 'always', 'sentence-case'], - }, + 'subject-case': [2, 'always', 'sentence-case'] + } } diff --git a/components/Footer.vue b/components/Footer.vue index f9c88ae..dcc2d37 100644 --- a/components/Footer.vue +++ b/components/Footer.vue @@ -40,6 +40,7 @@ footer { .separator { margin: 0 8px; } + @media screen and (max-width: 720px) { flex-direction: column; diff --git a/components/Header.vue b/components/Header.vue index 4715984..3151024 100644 --- a/components/Header.vue +++ b/components/Header.vue @@ -1,27 +1,46 @@ -