diff --git a/bun.lockb b/bun.lockb index 9da8c4d..7cd14c2 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/components/ContactButtons.vue b/components/ContactButtons.vue new file mode 100644 index 0000000..1b92410 --- /dev/null +++ b/components/ContactButtons.vue @@ -0,0 +1,65 @@ + + + + + diff --git a/contact.md b/contact.md index b6d88b2..14f03e7 100644 --- a/contact.md +++ b/contact.md @@ -8,56 +8,7 @@ hero: --- -
- - - -
-
- - - -
+ diff --git a/eslint.config.js b/eslint.config.js index ae3bc50..a903817 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,13 +1,15 @@ import globals from "globals"; -import pluginJs from "@eslint/js"; -import tseslint from "typescript-eslint"; -import pluginVue from "eslint-plugin-vue"; +import js from "@eslint/js"; +import ts from "typescript-eslint"; +import vue from "eslint-plugin-vue"; +import prettier from "eslint-config-prettier"; export default [ { files: ["**/*.{js,mjs,cjs,ts,vue}"] }, { ignores: [".vitepress/dist", ".vitepress/cache"] }, { languageOptions: { globals: globals.browser } }, - pluginJs.configs.recommended, - ...tseslint.configs.recommended, - ...pluginVue.configs["flat/essential"], + js.configs.recommended, + ...ts.configs.recommended, + ...vue.configs["flat/recommended"], + prettier, ]; diff --git a/mjfs-us.md b/mjfs-us.md index 2c1de9e..4f528f8 100644 --- a/mjfs-us.md +++ b/mjfs-us.md @@ -3,5 +3,5 @@ This website is simple but effective and powered by [VitePress](https://vitepress.dev/). A static site generator that uses Vite and Vue under the hood. -The content is composed with Markdown then staticly rendered and deployed to AWS S3/Cloudfront for -max performance and SEO optimization. +The content is composed with Markdown/Vue files then staticly rendered and deployed to AWS +S3/Cloudfront for max performance and SEO optimization. diff --git a/package.json b/package.json index 92ec6b4..2dc7e21 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "@vueuse/components": "^10.11.0", "@vueuse/core": "^10.11.0", "eslint": "9.x", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-vue": "^9.26.0", "globals": "^15.6.0", "prettier": "^3.3.2", @@ -19,10 +20,13 @@ "typescript": "^5.0.0" }, "scripts": { - "dev": "bunx --bun vitepress dev", - "build": "bunx --bun vitepress build", - "preview": "bunx --bun vitepress preview", + "dev": "bun vitepress dev", + "build": "bun vitepress build", + "preview": "bun vitepress preview", + "typecheck": "bunx vue-tsc", "format": "prettier -w .", - "lint": "eslint ." + "lint": "eslint .", + "check": "bun run format && bun run lint && bun run typecheck", + "clean": "rm -rf ./.vitepress/cache/ ./.vitepress/dist/" } }