Compare commits
10 Commits
Author | SHA1 | Date | |
---|---|---|---|
36fbe8a685 | |||
110586942d | |||
515de7f747 | |||
2a541196a4 | |||
78da0877c7 | |||
0739d3bf7b | |||
5279267c8e | |||
b3dc4c3d73 | |||
f65fc0a0ea | |||
befc14d894 |
@@ -8,7 +8,7 @@ module.exports = {
|
||||
'eslint:recommended'
|
||||
],
|
||||
parserOptions: {
|
||||
parser: 'babel-eslint'
|
||||
parser: '@babel/eslint-parser'
|
||||
},
|
||||
rules: {
|
||||
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
||||
|
631
.yarn/releases/yarn-3.0.2.cjs
vendored
873
.yarn/releases/yarn-3.4.1.cjs
vendored
Executable file
@@ -4,4 +4,4 @@ plugins:
|
||||
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
|
||||
spec: "@yarnpkg/plugin-interactive-tools"
|
||||
|
||||
yarnPath: .yarn/releases/yarn-3.0.2.cjs
|
||||
yarnPath: .yarn/releases/yarn-3.4.1.cjs
|
||||
|
43
package.json
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "csgowtf",
|
||||
"version": "1.0.8",
|
||||
"version": "1.0.9",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"serve": "vue-cli-service serve",
|
||||
@@ -8,36 +8,39 @@
|
||||
"lint": "vue-cli-service lint"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fontsource/open-sans": "^4.5.14",
|
||||
"@fontsource/orbitron": "^4.5.11",
|
||||
"@popperjs/core": "^2.11.6",
|
||||
"axios": "^1.1.3",
|
||||
"bootstrap": "^5.2.2",
|
||||
"core-js": "^3.26.0",
|
||||
"axios": "^1.3.4",
|
||||
"bootstrap": "^5.2.3",
|
||||
"core-js": "^3.29.0",
|
||||
"dotenv-webpack": "^8.0.1",
|
||||
"echarts": "^5.4.0",
|
||||
"echarts": "^5.4.1",
|
||||
"fork-awesome": "^1.2.0",
|
||||
"http-status-codes": "^2.2.0",
|
||||
"iso-639-1": "^2.1.15",
|
||||
"jquery": "^3.6.1",
|
||||
"luxon": "^3.1.0",
|
||||
"jquery": "^3.6.3",
|
||||
"luxon": "^3.2.1",
|
||||
"string-sanitizer": "^2.0.2",
|
||||
"vue": "^3.2.41",
|
||||
"vue": "^3.2.47",
|
||||
"vue-matomo": "^4.2.0",
|
||||
"vue-router": "^4.1.6",
|
||||
"vue3-cookies": "^1.0.6",
|
||||
"vuex": "^4.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vue/cli-plugin-babel": "~4.5.19",
|
||||
"@vue/cli-plugin-eslint": "~4.5.19",
|
||||
"@vue/cli-plugin-router": "~4.5.19",
|
||||
"@vue/cli-plugin-vuex": "~4.5.19",
|
||||
"@vue/cli-service": "~4.5.19",
|
||||
"@vue/compiler-sfc": "^3.2.41",
|
||||
"babel-eslint": "^10.1.0",
|
||||
"eslint": "^6.8.0",
|
||||
"eslint-plugin-vue": "^7.20.0",
|
||||
"sass": "^1.56.0",
|
||||
"sass-loader": "^10.2.1"
|
||||
"@babel/core": "^7.21.0",
|
||||
"@babel/eslint-parser": "^7.19.1",
|
||||
"@vue/cli-plugin-babel": "~5.0.8",
|
||||
"@vue/cli-plugin-eslint": "~5.0.8",
|
||||
"@vue/cli-plugin-router": "~5.0.8",
|
||||
"@vue/cli-plugin-vuex": "~5.0.8",
|
||||
"@vue/cli-service": "~5.0.8",
|
||||
"@vue/compiler-sfc": "^3.2.47",
|
||||
"eslint": "^8.35.0",
|
||||
"eslint-plugin-vue": "^9.9.0",
|
||||
"sass": "^1.58.3",
|
||||
"sass-loader": "^13.2.0"
|
||||
},
|
||||
"packageManager": "yarn@3.0.2"
|
||||
"packageManager": "yarn@3.4.1"
|
||||
}
|
||||
|
Before Width: | Height: | Size: 213 KiB After Width: | Height: | Size: 74 KiB |
@@ -1643,66 +1643,50 @@
|
||||
</g>
|
||||
<g id="Layer_2">
|
||||
<g>
|
||||
<path fill="#210000" d="M4.773,14.572c0-0.139,0.003-0.162-0.128-0.203c-0.049-0.015-0.083-0.049-0.083-0.102
|
||||
c0-0.109,0.124-0.116,0.139-0.116h0.991v2.388c0,0.139-0.004,0.161,0.127,0.202c0.049,0.015,0.083,0.049,0.083,0.102
|
||||
c0,0.108-0.124,0.116-0.139,0.116H4.701c-0.015,0-0.139-0.008-0.139-0.116c0-0.053,0.034-0.087,0.083-0.102
|
||||
c0.131-0.041,0.128-0.063,0.128-0.202V14.572z M5.861,14.151c0.356,0,0.567,0.038,0.743,0.139
|
||||
c0.278,0.165,0.387,0.413,0.387,0.729c0,0.315-0.109,0.563-0.387,0.728c-0.176,0.101-0.387,0.139-0.743,0.139v-0.217
|
||||
c0.221-0.042,0.233-0.195,0.233-0.379v-0.567c0-0.169-0.034-0.323-0.233-0.353V14.151z"/>
|
||||
<path fill="#210000" d="M7.52,14.572c0-0.139,0.004-0.162-0.127-0.203c-0.049-0.015-0.083-0.049-0.083-0.102
|
||||
c0-0.109,0.124-0.116,0.139-0.116h0.991v2.388c0,0.139-0.003,0.161,0.128,0.202c0.049,0.015,0.083,0.049,0.083,0.102
|
||||
c0,0.108-0.124,0.116-0.139,0.116H7.448c-0.015,0-0.139-0.008-0.139-0.116c0-0.053,0.034-0.087,0.083-0.102
|
||||
C7.523,16.7,7.52,16.678,7.52,16.539V14.572z M8.608,14.151h0.019c0.244,0,0.499-0.008,0.724,0.101
|
||||
c0.251,0.124,0.379,0.331,0.383,0.616c0.008,0.432-0.277,0.619-0.66,0.709v0.007c0.334,0.049,0.653,0.146,0.66,0.544v0.331
|
||||
c0,0.033-0.011,0.108,0.038,0.108c0.06,0,0.071-0.108,0.162-0.108c0.049,0,0.109,0.056,0.109,0.108
|
||||
c0,0.109-0.124,0.248-0.207,0.312c-0.127,0.105-0.263,0.136-0.424,0.136c-0.161,0-0.308-0.042-0.424-0.158
|
||||
c-0.131-0.135-0.15-0.3-0.15-0.477v-0.255c0-0.172-0.003-0.383-0.229-0.405v-0.221c0.203-0.019,0.229-0.143,0.229-0.327v-0.454
|
||||
c0-0.188-0.041-0.278-0.229-0.346V14.151z"/>
|
||||
<path fill="#210000" d="M11.362,16.539c0,0.139-0.004,0.161,0.127,0.202c0.049,0.015,0.083,0.049,0.083,0.102
|
||||
c0,0.108-0.124,0.116-0.139,0.116h-1.062c-0.015,0-0.139-0.008-0.139-0.116c0-0.053,0.034-0.087,0.083-0.102
|
||||
c0.131-0.041,0.127-0.063,0.127-0.202v-1.967c0-0.139,0.004-0.162-0.127-0.203c-0.049-0.015-0.083-0.049-0.083-0.102
|
||||
c0-0.109,0.124-0.116,0.139-0.116h1.062c0.015,0,0.139,0.007,0.139,0.116c0,0.053-0.034,0.086-0.083,0.102
|
||||
c-0.131,0.041-0.127,0.063-0.127,0.203V16.539z"/>
|
||||
<path fill="#210000" d="M12.052,14.151h0.954l0.401,1.152h0.008l0.169-0.623h0.007v0.683l-0.477,1.595h-0.109l-0.785-2.324
|
||||
c-0.019-0.056-0.038-0.112-0.067-0.161c-0.034-0.056-0.049-0.102-0.113-0.105c-0.045-0.004-0.146-0.011-0.146-0.102
|
||||
C11.895,14.151,12.007,14.151,12.052,14.151z M12.21,15.101h0.007l0.21,0.619v0.646c0.06,0.469,0.3,0.323,0.3,0.485
|
||||
c0,0.116-0.154,0.108-0.195,0.108h-0.428c-0.042,0-0.195,0.008-0.195-0.108c0-0.162,0.24-0.016,0.3-0.485V15.101z M13.76,14.151
|
||||
h0.991c0.015,0,0.139,0.007,0.139,0.116c0,0.053-0.034,0.086-0.083,0.102c-0.131,0.041-0.128,0.063-0.128,0.203v1.967
|
||||
c0,0.139-0.003,0.161,0.128,0.202c0.049,0.015,0.083,0.049,0.083,0.102c0,0.108-0.124,0.116-0.139,0.116h-1.062
|
||||
c-0.015,0-0.139-0.008-0.139-0.116c0-0.053,0.034-0.087,0.083-0.102c0.132-0.041,0.128-0.063,0.128-0.202V14.151z"/>
|
||||
<path fill="#210000" d="M15.317,14.151h0.991v2.808h-0.991c-0.015,0-0.139-0.008-0.139-0.116c0-0.053,0.034-0.087,0.083-0.102
|
||||
c0.131-0.041,0.127-0.063,0.127-0.202v-1.967c0-0.139,0.004-0.162-0.127-0.203c-0.049-0.015-0.083-0.049-0.083-0.102
|
||||
C15.178,14.159,15.302,14.151,15.317,14.151z M16.477,14.151h0.836v0.762c0,0.019-0.004,0.09-0.116,0.09
|
||||
c-0.064,0-0.083-0.038-0.102-0.094c-0.098-0.304-0.289-0.488-0.619-0.541V14.151z M16.477,15.405
|
||||
c0.157-0.041,0.228-0.188,0.262-0.33c0.019-0.064,0.041-0.124,0.12-0.124c0.116,0,0.098,0.135,0.098,0.165v0.811
|
||||
c0,0.03,0.019,0.165-0.098,0.165c-0.079,0-0.102-0.06-0.12-0.124c-0.034-0.143-0.105-0.289-0.262-0.33V15.405z M16.477,16.741
|
||||
c0.303-0.037,0.536-0.244,0.637-0.544c0.026-0.056,0.049-0.116,0.116-0.116c0.12,0,0.109,0.113,0.109,0.127v0.751h-0.863V16.741z
|
||||
"/>
|
||||
<path fill="#210000" d="M17.591,14.151h0.54v0.218c-0.195,0.139-0.248,0.386-0.281,0.585c-0.012,0.083-0.03,0.18-0.136,0.18
|
||||
c-0.112,0-0.123-0.094-0.123-0.109V14.151z M18.3,14.151h0.92v2.388c0,0.139-0.004,0.161,0.127,0.202
|
||||
c0.049,0.015,0.083,0.049,0.083,0.102c0,0.108-0.124,0.116-0.139,0.116h-1.062c-0.015,0-0.139-0.008-0.139-0.116
|
||||
c0-0.053,0.033-0.087,0.082-0.102c0.132-0.041,0.128-0.063,0.128-0.202V14.151z M19.929,15.026c0,0.015-0.011,0.109-0.124,0.109
|
||||
c-0.104,0-0.123-0.098-0.135-0.18c-0.034-0.199-0.086-0.447-0.281-0.585v-0.218h0.54V15.026z"/>
|
||||
<path fill="#210000" d="M21.237,16.539c0,0.139-0.004,0.161,0.128,0.202c0.049,0.015,0.082,0.049,0.082,0.102
|
||||
c0,0.108-0.124,0.116-0.139,0.116h-1.062c-0.015,0-0.139-0.008-0.139-0.116c0-0.053,0.034-0.087,0.083-0.102
|
||||
c0.131-0.041,0.127-0.063,0.127-0.202v-1.967c0-0.139,0.004-0.162-0.127-0.203c-0.049-0.015-0.083-0.049-0.083-0.102
|
||||
c0-0.109,0.124-0.116,0.139-0.116h1.062c0.015,0,0.139,0.007,0.139,0.116c0,0.053-0.033,0.086-0.082,0.102
|
||||
c-0.132,0.041-0.128,0.063-0.128,0.203V16.539z"/>
|
||||
<path fill="#210000" d="M21.928,14.151h0.953l0.402,1.152h0.007l0.169-0.623h0.008v0.683l-0.477,1.595h-0.109l-0.784-2.324
|
||||
c-0.019-0.056-0.037-0.112-0.067-0.161c-0.034-0.056-0.049-0.102-0.112-0.105c-0.046-0.004-0.146-0.011-0.146-0.102
|
||||
C21.771,14.151,21.883,14.151,21.928,14.151z M22.085,15.101h0.008l0.21,0.619v0.646c0.061,0.469,0.301,0.323,0.301,0.485
|
||||
c0,0.116-0.154,0.108-0.195,0.108H21.98c-0.041,0-0.195,0.008-0.195-0.108c0-0.162,0.24-0.016,0.3-0.485V15.101z M23.636,14.151
|
||||
h0.991c0.015,0,0.139,0.007,0.139,0.116c0,0.053-0.034,0.086-0.083,0.102c-0.131,0.041-0.127,0.063-0.127,0.203v1.967
|
||||
c0,0.139-0.004,0.161,0.127,0.202c0.049,0.015,0.083,0.049,0.083,0.102c0,0.108-0.124,0.116-0.139,0.116h-1.062
|
||||
c-0.015,0-0.139-0.008-0.139-0.116c0-0.053,0.033-0.087,0.082-0.102c0.132-0.041,0.128-0.063,0.128-0.202V14.151z"/>
|
||||
<path fill="#210000" d="M25.191,14.151h0.991v2.808h-0.991c-0.015,0-0.139-0.008-0.139-0.116c0-0.053,0.034-0.087,0.083-0.102
|
||||
c0.131-0.041,0.127-0.063,0.127-0.202v-1.967c0-0.139,0.004-0.162-0.127-0.203c-0.049-0.015-0.083-0.049-0.083-0.102
|
||||
C25.053,14.159,25.177,14.151,25.191,14.151z M26.352,14.151h0.837v0.762c0,0.019-0.004,0.09-0.116,0.09
|
||||
c-0.063,0-0.082-0.038-0.102-0.094c-0.098-0.304-0.289-0.488-0.619-0.541V14.151z M26.352,15.405
|
||||
c0.158-0.041,0.229-0.188,0.263-0.33c0.019-0.064,0.041-0.124,0.12-0.124c0.116,0,0.098,0.135,0.098,0.165v0.811
|
||||
c0,0.03,0.019,0.165-0.098,0.165c-0.079,0-0.102-0.06-0.12-0.124c-0.033-0.143-0.104-0.289-0.263-0.33V15.405z M26.352,16.741
|
||||
c0.304-0.037,0.537-0.244,0.639-0.544c0.026-0.056,0.049-0.116,0.116-0.116c0.12,0,0.108,0.113,0.108,0.127v0.751h-0.863V16.741z
|
||||
"/>
|
||||
<path fill="#210000" d="M6.604,17.264c-1.024-0.019-1.508-0.795-1.508-1.75c0-1.075,0.605-1.838,1.508-1.871v0.27
|
||||
c-0.224,0.047-0.298,0.238-0.298,0.433v2.206c0,0.195,0.074,0.387,0.298,0.442V17.264z M6.813,13.644
|
||||
c0.172,0.004,0.53,0.186,0.651,0.186c0.07,0,0.098-0.028,0.125-0.088c0.028-0.061,0.061-0.098,0.126-0.098
|
||||
c0.149,0,0.149,0.144,0.149,0.167v1.08c0,0.023,0,0.167-0.149,0.167c-0.098,0-0.154-0.079-0.172-0.167
|
||||
c-0.079-0.377-0.298-0.861-0.73-0.978V13.644z M7.73,16.185c0.088,0,0.14,0.074,0.14,0.158c-0.009,0.382-0.572,0.94-1.056,0.921
|
||||
v-0.27c0.358-0.079,0.661-0.316,0.763-0.661C7.604,16.254,7.632,16.185,7.73,16.185z"/>
|
||||
<path fill="#210000" d="M9.199,14.891l-0.438,1.592c-0.074,0.284-0.009,0.363,0.149,0.433c0.075,0.032,0.14,0.061,0.14,0.153
|
||||
c0,0.131-0.149,0.126-0.242,0.126H8.273c-0.093,0-0.261-0.005-0.261-0.14c0-0.111,0.079-0.107,0.181-0.158
|
||||
c0.098-0.051,0.224-0.158,0.312-0.488l0.559-2.043h0.014L9.199,14.891z M9.697,16.292h-0.68l0.065-0.27h0.568l-0.47-2.057
|
||||
l0.061-0.251h1.028l0.698,2.941c0.028,0.131,0.033,0.219,0.163,0.274c0.065,0.028,0.116,0.061,0.116,0.145
|
||||
c0,0.126-0.167,0.121-0.256,0.121H9.832c-0.093,0-0.228-0.01-0.228-0.13c0-0.075,0.028-0.099,0.089-0.131
|
||||
c0.121-0.069,0.139-0.103,0.098-0.284L9.697,16.292z"/>
|
||||
<path fill="#210000" d="M12.674,13.913c-0.177,0.061-0.33,0.191-0.33,0.382c0,0.228,0.125,0.368,0.679,0.582
|
||||
c0.824,0.317,1.01,0.754,1.01,1.182c0,0.722-0.6,1.191-1.289,1.205v-0.27c0.224-0.069,0.415-0.172,0.424-0.428
|
||||
c0.009-0.293-0.335-0.415-0.559-0.512c-0.586-0.247-1.131-0.512-1.131-1.243c0-0.708,0.512-1.145,1.196-1.168V13.913z
|
||||
M11.479,16.152c0-0.098,0.019-0.228,0.149-0.228c0.093,0,0.158,0.074,0.172,0.153c0.065,0.373,0.326,0.833,0.735,0.917v0.27
|
||||
c-0.405-0.009-0.493-0.172-0.661-0.172c-0.149,0-0.135,0.153-0.251,0.153c-0.144,0-0.144-0.172-0.144-0.195V16.152z
|
||||
M13.908,14.648c0,0.107-0.019,0.224-0.153,0.224c-0.112,0-0.154-0.088-0.168-0.182c-0.051-0.344-0.339-0.698-0.703-0.777v-0.27
|
||||
c0.293,0.004,0.605,0.181,0.656,0.181c0.121,0,0.112-0.167,0.233-0.167c0.144,0,0.135,0.158,0.135,0.196V14.648z"/>
|
||||
<path fill="#210000" d="M15.837,17.264c-1.024-0.019-1.508-0.795-1.508-1.75c0-1.075,0.605-1.838,1.508-1.871v0.27
|
||||
c-0.224,0.047-0.298,0.238-0.298,0.433v2.206c0,0.195,0.074,0.387,0.298,0.442V17.264z M16.047,13.644
|
||||
c0.172,0.004,0.53,0.186,0.651,0.186c0.07,0,0.098-0.028,0.126-0.088c0.027-0.061,0.061-0.098,0.125-0.098
|
||||
c0.149,0,0.149,0.144,0.149,0.167v1.08c0,0.023,0,0.167-0.149,0.167c-0.098,0-0.153-0.079-0.172-0.167
|
||||
c-0.079-0.377-0.298-0.861-0.73-0.978V13.644z M16.964,16.185c0.088,0,0.14,0.074,0.14,0.158c-0.01,0.382-0.573,0.94-1.057,0.921
|
||||
v-0.27c0.358-0.079,0.661-0.316,0.763-0.661C16.838,16.254,16.866,16.185,16.964,16.185z"/>
|
||||
<path fill="#210000" d="M18.433,14.891l-0.438,1.592c-0.074,0.284-0.009,0.363,0.149,0.433c0.074,0.032,0.14,0.061,0.14,0.153
|
||||
c0,0.131-0.149,0.126-0.242,0.126h-0.535c-0.094,0-0.261-0.005-0.261-0.14c0-0.111,0.079-0.107,0.182-0.158
|
||||
c0.098-0.051,0.223-0.158,0.312-0.488l0.559-2.043h0.014L18.433,14.891z M18.931,16.292h-0.68l0.065-0.27h0.567l-0.47-2.057
|
||||
l0.061-0.251h1.028l0.698,2.941c0.028,0.131,0.032,0.219,0.163,0.274c0.065,0.028,0.116,0.061,0.116,0.145
|
||||
c0,0.126-0.168,0.121-0.256,0.121h-1.159c-0.093,0-0.228-0.01-0.228-0.13c0-0.075,0.027-0.099,0.088-0.131
|
||||
c0.121-0.069,0.14-0.103,0.098-0.284L18.931,16.292z"/>
|
||||
<path fill="#210000" d="M22.043,17.194h-1.182c-0.103,0-0.219-0.01-0.219-0.145c0-0.064,0.042-0.106,0.103-0.125
|
||||
c0.163-0.052,0.158-0.079,0.158-0.252v-2.438c0-0.07,0.009-0.195-0.079-0.223c-0.094-0.033-0.182-0.047-0.182-0.163
|
||||
c0-0.121,0.116-0.135,0.209-0.135h1.191V17.194z M22.253,13.713c0.791-0.009,1.452,0.54,1.508,1.74
|
||||
c0.051,1.094-0.735,1.741-1.508,1.741v-0.27c0.284-0.038,0.298-0.303,0.298-0.479v-1.983c0-0.177-0.014-0.442-0.298-0.479V13.713
|
||||
z"/>
|
||||
<path fill="#210000" d="M24.253,13.713h1.229v3.481h-1.229c-0.019,0-0.173-0.01-0.173-0.145c0-0.064,0.042-0.106,0.103-0.125
|
||||
c0.163-0.052,0.158-0.079,0.158-0.252v-2.438c0-0.172,0.005-0.2-0.158-0.251c-0.061-0.019-0.103-0.06-0.103-0.125
|
||||
C24.08,13.723,24.234,13.713,24.253,13.713z M25.69,13.713h1.038v0.944c0,0.023-0.005,0.112-0.145,0.112
|
||||
c-0.079,0-0.103-0.046-0.125-0.116c-0.121-0.377-0.358-0.605-0.769-0.67V13.713z M25.69,15.268
|
||||
c0.195-0.051,0.284-0.232,0.326-0.41c0.023-0.079,0.051-0.153,0.148-0.153c0.145,0,0.121,0.167,0.121,0.205v1.005
|
||||
c0,0.037,0.023,0.205-0.121,0.205c-0.098,0-0.125-0.074-0.148-0.153c-0.042-0.177-0.131-0.358-0.326-0.41V15.268z M25.69,16.925
|
||||
c0.377-0.047,0.666-0.303,0.791-0.675c0.033-0.07,0.061-0.144,0.145-0.144c0.149,0,0.135,0.14,0.135,0.158v0.931h-1.07V16.925z"
|
||||
/>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
|
Before Width: | Height: | Size: 216 KiB After Width: | Height: | Size: 214 KiB |
Before Width: | Height: | Size: 2.4 MiB After Width: | Height: | Size: 2.1 MiB |
Before Width: | Height: | Size: 226 KiB After Width: | Height: | Size: 265 KiB |
12
src/App.vue
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<img alt="" class="bg-img" src="">
|
||||
<header>
|
||||
<Nav/>
|
||||
<CompNav/>
|
||||
</header>
|
||||
<main>
|
||||
<div :style="{height: offset + 'px'}"/>
|
||||
@@ -9,20 +9,19 @@
|
||||
<router-view name="main"/>
|
||||
</main>
|
||||
<footer class="mt-auto">
|
||||
<Footer/>
|
||||
<CompFooter/>
|
||||
</footer>
|
||||
<CookieConsentBtn id="cookie-btn"/>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Nav from "@/components/Nav";
|
||||
import Footer from "@/components/Footer";
|
||||
import CookieConsentBtn from "@/components/CookieConsentBtn";
|
||||
import {onMounted, ref} from "vue";
|
||||
import InfoModal from "@/components/InfoModal";
|
||||
import CompFooter from "@/components/CompFooter";
|
||||
import CompNav from "@/components/CompNav";
|
||||
|
||||
export default {
|
||||
components: {InfoModal, Footer, Nav, CookieConsentBtn},
|
||||
components: {CompNav, CompFooter, InfoModal},
|
||||
setup() {
|
||||
const offset = ref(0)
|
||||
|
||||
@@ -52,7 +51,6 @@ export default {
|
||||
<style lang="scss">
|
||||
@font-face {
|
||||
font-family: "Obitron";
|
||||
src: local("Obitron"), url("../public/fonts/Orbitron-VariableFont_wght.ttf") format("truetype");
|
||||
}
|
||||
|
||||
.bg-img {
|
||||
|
@@ -19,7 +19,7 @@ import {onMounted, reactive} from "vue";
|
||||
import {GetWeaponDmg} from "@/utils";
|
||||
|
||||
export default {
|
||||
name: "Details",
|
||||
name: "CompDetails",
|
||||
components: {MultiKillsChart},
|
||||
setup() {
|
||||
const store = useStore()
|
@@ -3,14 +3,14 @@
|
||||
<div class="text">
|
||||
<p class="fs-6">Made with <i class="fa fa-heart text-warning" aria-hidden="true"></i>, <span
|
||||
style="color: #41b883">Vue.js</span> and<a aria-label="Gitea" class="text-warning ms-2"
|
||||
href="https://git.harting.dev/CSGOWTF"
|
||||
href="https://somegit.dev/CSGOWTF"
|
||||
target="_blank">
|
||||
<i aria-hidden="true" class="fa fa-gitea"></i>
|
||||
</a></p>
|
||||
|
||||
<div class="d-flex justify-content-center align-items-center gap-4">
|
||||
<p><a class="text-decoration-none text-warning"
|
||||
href="https://git.harting.dev/CSGOWTF/csgowtf/issues"
|
||||
href="https://somegit.dev/CSGOWTF/csgowtf/issues"
|
||||
target="_blank">Issue Tracker</a></p>
|
||||
<p class="text-muted">Version {{ version }}</p>
|
||||
<p>
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "Footer",
|
||||
name: "CompFooter",
|
||||
setup() {
|
||||
const version = process.env.VUE_APP_VERSION
|
||||
return {version}
|
@@ -52,7 +52,7 @@ import {closeNav, GetUser, GoToPlayer} from '@/utils'
|
||||
import {StatusCodes as STATUS} from "http-status-codes";
|
||||
|
||||
export default {
|
||||
name: 'Nav',
|
||||
name: 'CompNav',
|
||||
setup() {
|
||||
const store = useStore()
|
||||
const data = reactive({
|
@@ -1,74 +0,0 @@
|
||||
<template>
|
||||
<div v-if="!consent" class="card text-end bg-secondary text-white border border-1">
|
||||
<div class="card-body">
|
||||
<form class="mb-1">
|
||||
<div class="form-check">
|
||||
<input id="essential-cookies" checked class="form-check-input" disabled type="checkbox" value="">
|
||||
<label class="form-check-label" for="essential-cookies">
|
||||
Essential
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input id="tracking" v-model="tracking" class="form-check-input" type="checkbox">
|
||||
<label class="form-check-label" for="tracking">
|
||||
Matomo
|
||||
</label>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<a href="/privacy-policy" class="text-muted">Privacy Policy</a>
|
||||
|
||||
<div class="d-flex justify-content-between mt-2">
|
||||
<button class="btn btn-outline-primary" type="button" @click="handleConsentForget">Decline</button>
|
||||
<button class="btn btn-info" type="button" @click="handleConsent">Accept</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {onMounted, ref} from "vue";
|
||||
import {useCookies} from 'vue3-cookies'
|
||||
|
||||
export default {
|
||||
name: "CookieConsentBtn",
|
||||
setup() {
|
||||
const tracking = ref(true)
|
||||
const {cookies} = useCookies()
|
||||
const consent = ref(false)
|
||||
|
||||
const handleConsent = () => {
|
||||
window._paq.push(['rememberCookieConsentGiven'])
|
||||
cookies.set('consent', 'given', Infinity)
|
||||
|
||||
if (tracking.value){
|
||||
window._paq.push(['rememberConsentGiven'])
|
||||
}
|
||||
consent.value = true
|
||||
}
|
||||
const handleConsentForget = () => {
|
||||
consent.value = true
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
window._paq.push(['requireCookieConsent']);
|
||||
window._paq.push(['trackPageView']);
|
||||
|
||||
if (cookies.get('consent') === 'given')
|
||||
consent.value = true
|
||||
})
|
||||
|
||||
return {handleConsent, handleConsentForget, tracking, consent}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.card {
|
||||
z-index: 10;
|
||||
}
|
||||
form {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
}
|
||||
</style>
|
@@ -17,6 +17,7 @@ if (process.env.VUE_APP_TRACKING) {
|
||||
host: process.env.VUE_APP_TRACK_URL,
|
||||
siteId: process.env.VUE_APP_TRACK_ID,
|
||||
router: router,
|
||||
disableCookies: true,
|
||||
}
|
||||
)
|
||||
}
|
||||
|
@@ -17,7 +17,7 @@ const routes = [
|
||||
path: '/',
|
||||
name: 'Home',
|
||||
components: {
|
||||
main: lazyLoadView('Home')
|
||||
main: lazyLoadView('HomeView')
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -31,14 +31,14 @@ const routes = [
|
||||
path: '/matches',
|
||||
name: 'Explore',
|
||||
components: {
|
||||
main: lazyLoadView('Explore')
|
||||
main: lazyLoadView('ExploreView')
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/player/:id',
|
||||
name: 'Player',
|
||||
components: {
|
||||
main: lazyLoadView('Player'),
|
||||
main: lazyLoadView('PlayerView'),
|
||||
},
|
||||
props: true
|
||||
},
|
||||
@@ -46,7 +46,7 @@ const routes = [
|
||||
path: '/match/:match_id',
|
||||
name: 'Match',
|
||||
components: {
|
||||
main: lazyLoadView('Match')
|
||||
main: lazyLoadView('MatchView')
|
||||
},
|
||||
props: true,
|
||||
children: [
|
||||
@@ -65,7 +65,7 @@ const routes = [
|
||||
{
|
||||
path: 'details',
|
||||
components: {
|
||||
score: lazyLoadComponent('Details')
|
||||
score: lazyLoadComponent('CompDetails')
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -92,21 +92,21 @@ const routes = [
|
||||
path: '/404',
|
||||
name: '404',
|
||||
components: {
|
||||
main: lazyLoadErrorPages('404')
|
||||
main: lazyLoadErrorPages('Error404')
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/500',
|
||||
name: '500',
|
||||
components: {
|
||||
main: lazyLoadErrorPages('500')
|
||||
main: lazyLoadErrorPages('Error500')
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/502',
|
||||
name: '502',
|
||||
components: {
|
||||
main: lazyLoadErrorPages('502')
|
||||
main: lazyLoadErrorPages('Error502')
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@@ -1,39 +1,20 @@
|
||||
// Custom.scss
|
||||
//@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
|
||||
@font-face {
|
||||
font-family: "OpenSans";
|
||||
src: local('OpenSans'),
|
||||
url("/fonts/OpenSans-VariableFont_wdth,wght.woff2") format("woff2"),
|
||||
url("/fonts/OpenSans-VariableFont_wdth,wght.ttf") format("truetype");
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "OpenSansItalic";
|
||||
src: local('OpenSansItalic'),
|
||||
url("/fonts/OpenSans-Italic-VariableFont_wdth,wght.woff2") format("woff2"),
|
||||
url("/fonts/OpenSans-Italic-VariableFont_wdth,wght.ttf") format("truetype");
|
||||
font-display: swap;
|
||||
}
|
||||
@import "~@fontsource/orbitron/index.css";
|
||||
@import "~@fontsource/open-sans/index.css";
|
||||
@import "~@fontsource/open-sans/variable-full.css";
|
||||
@import "~fork-awesome/css/fork-awesome.css";
|
||||
|
||||
@font-face {
|
||||
font-family: "CSRegular";
|
||||
src: local('CSRegular'),
|
||||
url("/fonts/cs_regular.woff2") format("woff2"),
|
||||
url("/fonts/cs_regular.ttf") format("truetype");
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Orbitron";
|
||||
src: local('Orbitron'),
|
||||
url("/fonts/Orbitron-VariableFont_wght.woff2") format("woff2"),
|
||||
url("/fonts/Orbitron-VariableFont_wght.ttf") format("truetype");
|
||||
url("../../public/fonts/cs_regular.woff2") format("woff2"),
|
||||
url("../../public/fonts/cs_regular.woff2") format("truetype");
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
// Default variable overrides
|
||||
$font-family-base: 'OpenSans';
|
||||
$font-family-base: 'Open SansVariable';
|
||||
$body-color: white;
|
||||
|
||||
$primary: #888f98;
|
||||
@@ -54,8 +35,7 @@ $success: #609926;
|
||||
}
|
||||
|
||||
// Bootstrap
|
||||
@import "../../node_modules/bootstrap/scss/bootstrap";
|
||||
@import "../../node_modules/fork-awesome/css/fork-awesome.css";
|
||||
@import "~bootstrap/scss/bootstrap";
|
||||
|
||||
:root {
|
||||
// CSGO COLORS
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import {DateTime, Duration} from "luxon/build/es6/luxon";
|
||||
import {DateTime, Duration} from "luxon";
|
||||
|
||||
export const ConvertTickToTime = (tick, rate = 64) => {
|
||||
const time = Duration.fromObject({hours: 0, minutes: 0, seconds: tick / rate || 0})
|
||||
|
@@ -29,7 +29,7 @@ import {useStore} from "vuex";
|
||||
import router from "@/router";
|
||||
|
||||
export default {
|
||||
name: 'Explore',
|
||||
name: 'ExploreView',
|
||||
components: {MatchesTable},
|
||||
setup() {
|
||||
document.title = "Matches | csgoWTF"
|
@@ -84,7 +84,7 @@ import {onBeforeMount, ref} from "vue";
|
||||
import {useStore} from "vuex";
|
||||
|
||||
export default {
|
||||
name: 'Home',
|
||||
name: 'HomeView',
|
||||
setup() {
|
||||
setTitle('Home')
|
||||
const store = useStore()
|
||||
@@ -148,12 +148,12 @@ table {
|
||||
.main-content {
|
||||
.head {
|
||||
// display jpg
|
||||
background-image: url("/images/map_screenshots/default.jpg");
|
||||
background-image: url("../../public/images/map_screenshots/default.png");
|
||||
}
|
||||
|
||||
.head {
|
||||
// display webp if possible
|
||||
background-image: url("/images/map_screenshots/default.webp");
|
||||
background-image: url("../../public/images/map_screenshots/default.png");
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
@@ -163,7 +163,7 @@ table {
|
||||
}
|
||||
|
||||
.text-up {
|
||||
font-family: "OpenSans", sans-serif;
|
||||
font-family: "Open Sans", sans-serif;
|
||||
font-size: 40%;
|
||||
vertical-align: top;
|
||||
text-shadow: 10px -5px 1rem rgba(0, 0, 0, 0.5);
|
@@ -163,11 +163,11 @@ import {
|
||||
} from "@/utils";
|
||||
import {useStore} from "vuex";
|
||||
import {useRoute} from 'vue-router'
|
||||
import {DateTime} from "luxon/build/es6/luxon";
|
||||
import {DateTime} from "luxon";
|
||||
import {FOOTER_HEIGHT, NAV_HEIGHT} from "@/constants";
|
||||
|
||||
export default {
|
||||
name: 'Match',
|
||||
name: 'MatchView',
|
||||
props: ['match_id'],
|
||||
setup(props) {
|
||||
const store = useStore()
|
@@ -166,7 +166,7 @@ import PlayerSideInfo from "@/components/PlayerSideInfo";
|
||||
import {StatusCodes as STATUS} from "http-status-codes";
|
||||
|
||||
export default {
|
||||
name: 'Player',
|
||||
name: 'PlayerView',
|
||||
components: {PlayerSideInfo, MatchesTable},
|
||||
props: ['id'],
|
||||
setup(props) {
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "404"
|
||||
name: "ErrorPage404"
|
||||
}
|
||||
</script>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "500"
|
||||
name: "ErrorPage500"
|
||||
}
|
||||
</script>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "502"
|
||||
name: "ErrorPage502"
|
||||
}
|
||||
</script>
|
||||
|
@@ -5,6 +5,6 @@ module.exports = {
|
||||
configureWebpack: {
|
||||
plugins: [
|
||||
new Dotenv()
|
||||
]
|
||||
],
|
||||
}
|
||||
}
|
||||
|