diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 744402a..c9e2fc8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,9 +2,9 @@ name: Node.js CI on: push: - branches: ['main'] + branches: ["main"] pull_request: - branches: ['main'] + branches: ["main"] jobs: build: @@ -18,7 +18,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: 22 - cache: 'npm' + cache: "npm" - name: Install dependencies run: npm ci diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..70b0f5d --- /dev/null +++ b/.prettierignore @@ -0,0 +1,18 @@ +node_modules/ +.output/ +.nuxt/ +dist/ +build/ +public/build/ +.vscode/ +.pnp.* +coverage/ +*.log +*.lock +pnpm-lock.yaml +.env +.env.* +.DS_Store + +# ignore generated images +public/images/generated/ diff --git a/.prettierrc b/.prettierrc index b52a92b..772614b 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,5 +1,13 @@ { - "singleQuote": true, - "semi": false, - "printWidth": 100 + "printWidth": 100, + "tabWidth": 2, + "useTabs": false, + "semi": true, + "singleQuote": false, + "trailingComma": "all", + "bracketSpacing": true, + "arrowParens": "always", + "endOfLine": "lf", + "htmlWhitespaceSensitivity": "css", + "bracketSameLine": true } diff --git a/.vscode/settings.json b/.vscode/settings.json index 85d22f5..19b1473 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -19,5 +19,9 @@ "spacegrotesk", "Tailwindcss", "vuex" - ] + ], + "dependi.npm.lockFileEnabled": false, + "[vue]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + } } diff --git a/app/app.vue b/app/app.vue index 703151a..0369acb 100644 --- a/app/app.vue +++ b/app/app.vue @@ -1,20 +1,43 @@ - @@ -39,6 +62,10 @@ useHead({ filter: blur(1rem); } +html { + scroll-behavior: smooth; +} + html.dark { color-scheme: dark; } diff --git a/app/components/OgImage/About.vue b/app/components/OgImage/About.vue index 947d9c9..b4a2a3c 100644 --- a/app/components/OgImage/About.vue +++ b/app/components/OgImage/About.vue @@ -1,19 +1,19 @@