Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
}
}
}
9 changes: 9 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ export default defineNuxtConfig({
}
},

vite: {
server: {
allowedHosts: ['pretendo.network']
}
},

modules: [
'@nuxt/eslint',
'@nuxt/fonts',
Expand Down Expand Up @@ -58,6 +64,9 @@ export default defineNuxtConfig({
strategy: 'no_prefix',
defaultLocale: 'en-US',
vueI18n: '../i18n.config.ts',
bundle: {
optimizeTranslationDirective: false
},
locales: [
{ code: 'ar-AR', name: 'العربية', file: 'ar_AR.json' },
{ code: 'ast', name: 'Asturianu', file: 'ast.json' },
Expand Down
9,959 changes: 7,258 additions & 2,701 deletions package-lock.json

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"build": "nuxt build",
"prepare": "nuxt prepare",
"dev": "nuxt dev",
"dev:host": "nuxt dev --host",
"lint": "eslint .",
"lint:fix": "eslint . --fix"
},
Expand All @@ -19,13 +20,22 @@
"@nuxt/fonts": "^0.11.1",
"@nuxt/icon": "^1.11.0",
"@nuxtjs/i18n": "^9.5.3",
"@pretendonetwork/mii-js": "^1.0.9",
"base64-arraybuffer": "^1.0.2",
"eslint": "^9.24.0",
"feed": "^4.2.2",
"node-stdlib-browser": "^1.2.0",
"nuxt": "^3.16.2",
"vue": "^3.5.13",
"vue-router": "^4.5.0"
},
"overrides": {
"vite": "^6.3.2"
},
"devDependencies": {
"@iconify-json/fa": "^1.2.2",
"@iconify-json/fa6-brands": "^1.2.6",
"@iconify-json/ph": "^1.2.2",
"@pretendonetwork/eslint-config": "^0.0.8",
"eslint-plugin-vue": "^10.0.0",
"sass-embedded": "^1.86.3"
Expand Down
13 changes: 7 additions & 6 deletions src/assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
--green-shade-0: #37a985;
--green-shade-1: #59c9a5;

--red-shade-2: #ff4580;
--red-shade-1: #a9375b;
--yellow-shade-1: #ffd966;

Expand All @@ -38,7 +39,7 @@ body,
width: 100%;
max-width: 100vw;
position: relative; /* This fixes overflow-x not hiding on Safari on mobile */
overflow-x: hidden;
overflow: hidden;
margin: 0;
color: var(--text-shade-3);
justify-content: center;
Expand Down Expand Up @@ -231,27 +232,27 @@ input[type="range"] {
input[type="range"]::-webkit-slider-runnable-track {
background: var(--bg-shade-3);
height: 1rem;
border-radius: 1rem;
border-radius: .25rem;
}
input[type="range"]::-moz-range-track {
background: var(--bg-shade-3);
border-radius: 1rem;
border-radius: .25rem;
height: 1rem;
}
input[type="range"]::-webkit-slider-thumb {
appearance: none;
-webkit-appearance: none;
width: 1.5rem;
height: 3rem;
margin-top: -1rem;
margin-top: -1.25rem;
background-color: var(--accent-shade-1);
border-radius: 0.5rem;
border-radius: .5rem;
}
input[type="range"]::-moz-range-thumb {
width: 1.5rem;
height: 3rem;
border: none;
border-radius: 0.5rem;
border-radius: .5rem;
background-color: var(--accent-shade-1);
}
input[type="range"]:focus {
Expand Down
Loading