diff --git a/client/nuxt.config.ts b/client/nuxt.config.ts index 77dbfa1..b6a1a09 100644 --- a/client/nuxt.config.ts +++ b/client/nuxt.config.ts @@ -7,6 +7,10 @@ export default defineNuxtConfig({ srcDir: 'src/', ssr: false, telemetry: false, + compatibilityDate: '2025-04-17', + devtools: { + enabled: false, + }, modules: [ '@pinia/nuxt', 'nuxt-icons', diff --git a/client/package.json b/client/package.json index 082175d..f6578f1 100644 --- a/client/package.json +++ b/client/package.json @@ -14,7 +14,7 @@ "http-proxy": "^1.18.1", "nuxt": "^3.16.2", "sass": "^1.86.3", - "sass-loader": "^13.3.3", + "sass-loader": "^16.0.5", "typescript-strict-plugin": "^2.4.4", "webpack": "^5.99.5" }, diff --git a/client/pnpm-lock.yaml b/client/pnpm-lock.yaml index e0af77c..5d6e241 100644 --- a/client/pnpm-lock.yaml +++ b/client/pnpm-lock.yaml @@ -58,8 +58,8 @@ importers: specifier: ^1.86.3 version: 1.86.3 sass-loader: - specifier: ^13.3.3 - version: 13.3.3(sass@1.86.3)(webpack@5.99.5) + specifier: ^16.0.5 + version: 16.0.5(sass@1.86.3)(webpack@5.99.5) typescript-strict-plugin: specifier: ^2.4.4 version: 2.4.4 @@ -3349,17 +3349,17 @@ packages: resolution: {integrity: sha512-b3rppTKm9T+PsVCBEOUR46GWI7fdOs00VKZ1+9c1EWDaDMvjQc6tUwuFyIprgGgTcWoVHSKrU8H31ZHA2e0RHA==} engines: {node: '>=10'} - sass-loader@13.3.3: - resolution: {integrity: sha512-mt5YN2F1MOZr3d/wBRcZxeFgwgkH44wVc2zohO2YF6JiOMkiXe4BYRZpSu2sO1g71mo/j16txzUhsKZlqjVGzA==} - engines: {node: '>= 14.15.0'} + sass-loader@16.0.5: + resolution: {integrity: sha512-oL+CMBXrj6BZ/zOq4os+UECPL+bWqt6OAC6DWS8Ln8GZRcMDjlJ4JC3FBDuHJdYaFWIdKNIBYmtZtK2MaMkNIw==} + engines: {node: '>= 18.12.0'} peerDependencies: - fibers: '>= 3.1.0' + '@rspack/core': 0.x || 1.x node-sass: ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 sass: ^1.3.0 sass-embedded: '*' webpack: ^5.0.0 peerDependenciesMeta: - fibers: + '@rspack/core': optional: true node-sass: optional: true @@ -3367,6 +3367,8 @@ packages: optional: true sass-embedded: optional: true + webpack: + optional: true sass@1.86.3: resolution: {integrity: sha512-iGtg8kus4GrsGLRDLRBRHY9dNVA78ZaS7xr01cWnS7PEMQyFtTqBiyCrfpTYTZXRWM94akzckYjh8oADfFNTzw==} @@ -7778,12 +7780,12 @@ snapshots: safe-stable-stringify@2.5.0: {} - sass-loader@13.3.3(sass@1.86.3)(webpack@5.99.5): + sass-loader@16.0.5(sass@1.86.3)(webpack@5.99.5): dependencies: neo-async: 2.6.2 - webpack: 5.99.5 optionalDependencies: sass: 1.86.3 + webpack: 5.99.5 sass@1.86.3: dependencies: diff --git a/client/src/assets/css/components.scss b/client/src/assets/css/components.scss deleted file mode 100644 index 2ada391..0000000 --- a/client/src/assets/css/components.scss +++ /dev/null @@ -1,5 +0,0 @@ -@import './colors.scss'; -@import './media.scss'; - -$font-primary: 'Wendy One'; -$font-secondary: 'Dosis'; diff --git a/client/src/assets/css/fonts-definition.scss b/client/src/assets/css/fonts-definition.scss new file mode 100644 index 0000000..a7d72ad --- /dev/null +++ b/client/src/assets/css/fonts-definition.scss @@ -0,0 +1,26 @@ +@font-face { + font-family: 'Wendy One'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(/fonts/wendy-one/WendyOne-Regular.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} + +@font-face { + font-family: 'Dosis'; + font-style: normal; + font-weight: 300; + font-display: swap; + src: url(/fonts/dosis/dosis-300.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} + +@font-face { + font-family: 'Dosis'; + font-style: normal; + font-weight: 800; + font-display: swap; + src: url(/fonts/dosis/dosis-800.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} diff --git a/client/src/assets/css/fonts.scss b/client/src/assets/css/fonts.scss index a7d72ad..1d98029 100644 --- a/client/src/assets/css/fonts.scss +++ b/client/src/assets/css/fonts.scss @@ -1,26 +1,2 @@ -@font-face { - font-family: 'Wendy One'; - font-style: normal; - font-weight: 400; - font-display: swap; - src: url(/fonts/wendy-one/WendyOne-Regular.woff2) format('woff2'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; -} - -@font-face { - font-family: 'Dosis'; - font-style: normal; - font-weight: 300; - font-display: swap; - src: url(/fonts/dosis/dosis-300.woff2) format('woff2'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; -} - -@font-face { - font-family: 'Dosis'; - font-style: normal; - font-weight: 800; - font-display: swap; - src: url(/fonts/dosis/dosis-800.woff2) format('woff2'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; -} +$font-primary: 'Wendy One'; +$font-secondary: 'Dosis'; diff --git a/client/src/components/AlertBox.vue b/client/src/components/AlertBox.vue index 16044da..eede4c9 100644 --- a/client/src/components/AlertBox.vue +++ b/client/src/components/AlertBox.vue @@ -7,7 +7,7 @@ \ No newline at end of file diff --git a/client/src/components/Button.vue b/client/src/components/Button.vue index 924a545..bf959f1 100644 --- a/client/src/components/Button.vue +++ b/client/src/components/Button.vue @@ -27,16 +27,17 @@ defineProps({ \ No newline at end of file diff --git a/client/src/components/ModalDialog.vue b/client/src/components/ModalDialog.vue index c24d501..0228923 100644 --- a/client/src/components/ModalDialog.vue +++ b/client/src/components/ModalDialog.vue @@ -20,7 +20,7 @@ const emit = defineEmits(['close']) diff --git a/client/src/components/Playground.vue b/client/src/components/Playground.vue index 56d004a..3d33e2b 100644 --- a/client/src/components/Playground.vue +++ b/client/src/components/Playground.vue @@ -80,7 +80,7 @@ sources.forEach((source, index) => {