updated skills and formatting

This commit is contained in:
liyunze 2025-04-07 09:31:44 +10:00
parent 85476550dd
commit 8f41a1ccec
5 changed files with 26 additions and 28 deletions

View file

@ -1,4 +1,4 @@
{
"plugins": ["prettier-plugin-svelte", "prettier-plugin-astro"],
"plugins": ["prettier-plugin-tailwindcss","prettier-plugin-svelte", "prettier-plugin-astro"],
"tabWidth": 4
}

View file

@ -16,9 +16,10 @@
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "5.0.1",
"prettier": "^3.4.2",
"prettier": "^3.5.3",
"prettier-plugin-astro": "^0.14.1",
"prettier-plugin-svelte": "^3.3.3",
"prettier-plugin-tailwindcss": "^0.6.11",
},
},
},
@ -691,12 +692,14 @@
"preferred-pm": ["preferred-pm@4.1.1", "", { "dependencies": { "find-up-simple": "^1.0.0", "find-yarn-workspace-root2": "1.2.16", "which-pm": "^3.0.1" } }, "sha512-rU+ZAv1Ur9jAUZtGPebQVQPzdGhNzaEiQ7VL9+cjsAWPHFYOccNXPNiev1CCDSOg/2j7UujM7ojNhpkuILEVNQ=="],
"prettier": ["prettier@3.4.2", "", { "bin": { "prettier": "bin/prettier.cjs" } }, "sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ=="],
"prettier": ["prettier@3.5.3", "", { "bin": { "prettier": "bin/prettier.cjs" } }, "sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw=="],
"prettier-plugin-astro": ["prettier-plugin-astro@0.14.1", "", { "dependencies": { "@astrojs/compiler": "^2.9.1", "prettier": "^3.0.0", "sass-formatter": "^0.7.6" } }, "sha512-RiBETaaP9veVstE4vUwSIcdATj6dKmXljouXc/DDNwBSPTp8FRkLGDSGFClKsAFeeg+13SB0Z1JZvbD76bigJw=="],
"prettier-plugin-svelte": ["prettier-plugin-svelte@3.3.3", "", { "peerDependencies": { "prettier": "^3.0.0", "svelte": "^3.2.0 || ^4.0.0-next.0 || ^5.0.0-next.0" } }, "sha512-yViK9zqQ+H2qZD1w/bH7W8i+bVfKrD8GIFjkFe4Thl6kCT9SlAsXVNmt3jCvQOCsnOhcvYgsoVlRV/Eu6x5nNw=="],
"prettier-plugin-tailwindcss": ["prettier-plugin-tailwindcss@0.6.11", "", { "peerDependencies": { "@ianvs/prettier-plugin-sort-imports": "*", "@prettier/plugin-pug": "*", "@shopify/prettier-plugin-liquid": "*", "@trivago/prettier-plugin-sort-imports": "*", "@zackad/prettier-plugin-twig": "*", "prettier": "^3.0", "prettier-plugin-astro": "*", "prettier-plugin-css-order": "*", "prettier-plugin-import-sort": "*", "prettier-plugin-jsdoc": "*", "prettier-plugin-marko": "*", "prettier-plugin-multiline-arrays": "*", "prettier-plugin-organize-attributes": "*", "prettier-plugin-organize-imports": "*", "prettier-plugin-sort-imports": "*", "prettier-plugin-style-order": "*", "prettier-plugin-svelte": "*" }, "optionalPeers": ["@ianvs/prettier-plugin-sort-imports", "@prettier/plugin-pug", "@shopify/prettier-plugin-liquid", "@trivago/prettier-plugin-sort-imports", "@zackad/prettier-plugin-twig", "prettier-plugin-astro", "prettier-plugin-css-order", "prettier-plugin-import-sort", "prettier-plugin-jsdoc", "prettier-plugin-marko", "prettier-plugin-multiline-arrays", "prettier-plugin-organize-attributes", "prettier-plugin-organize-imports", "prettier-plugin-sort-imports", "prettier-plugin-style-order", "prettier-plugin-svelte"] }, "sha512-YxaYSIvZPAqhrrEpRtonnrXdghZg1irNg4qrjboCXrpybLWVs55cW2N3juhspVJiO0JBvYJT8SYsJpc8OQSnsA=="],
"prismjs": ["prismjs@1.29.0", "", {}, "sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q=="],
"prompts": ["prompts@2.4.2", "", { "dependencies": { "kleur": "^3.0.3", "sisteransi": "^1.0.5" } }, "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q=="],
@ -929,6 +932,8 @@
"p-locate/p-limit": ["p-limit@2.3.0", "", { "dependencies": { "p-try": "^2.0.0" } }, "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w=="],
"prettier-plugin-astro/prettier": ["prettier@3.4.2", "", { "bin": { "prettier": "bin/prettier.cjs" } }, "sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ=="],
"prompts/kleur": ["kleur@3.0.3", "", {}, "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w=="],
"read-cache/pify": ["pify@2.3.0", "", {}, "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog=="],

View file

@ -21,9 +21,10 @@
"typescript": "^5.7.3"
},
"devDependencies": {
"prettier": "^3.4.2",
"@sveltejs/vite-plugin-svelte": "5.0.1",
"prettier": "^3.5.3",
"prettier-plugin-astro": "^0.14.1",
"prettier-plugin-svelte": "^3.3.3",
"@sveltejs/vite-plugin-svelte": "5.0.1"
"prettier-plugin-tailwindcss": "^0.6.11"
}
}

View file

@ -110,14 +110,6 @@ import Line from "../elements/NetworkLine.astro";
>
TailwindCSS
</div>
<div
class="w-fit text-white bg-[#7400EF] md:bg-gray-500 hover:bg-[#7400EF]
rounded-full px-3 py-1 mr-1 my-1
cursor-default
transition-colors duration-300"
>
Vite
</div>
</div>
</div>
</Card>
@ -146,20 +138,12 @@ import Line from "../elements/NetworkLine.astro";
Python
</div>
<div
class="w-fit md:text-white bg-yellow-400 md:bg-gray-500 hover:bg-yellow-400 text-black md:hover:text-black
class="w-fit text-white bg-[#ED8B00] md:bg-gray-500 hover:bg-[#ED8B00]
rounded-full px-3 py-1 mr-1 my-1
cursor-default
transition-colors duration-300"
>
Javascript
</div>
<div
class="w-fit md:text-white bg-[#3178C6] md:bg-gray-500 hover:bg-[#3178C6] text-white md:hover:text-white
rounded-full px-3 py-1 mr-1 my-1
cursor-default
transition-colors duration-300"
>
TypeScript
Java
</div>
<div
class="w-fit text-white bg-[#672079] md:bg-gray-500 hover:bg-[#672079]
@ -186,13 +170,21 @@ import Line from "../elements/NetworkLine.astro";
Go
</div>
<div
class="w-fit text-white bg-gray-500 hover:bg-[#B11700]
class="w-fit text-white bg-[#B11700] md:bg-gray-500 hover:bg-[#B11700]
rounded-full px-3 py-1 mr-1 my-1
cursor-default
transition-colors duration-300"
>
Rust
</div>
<div
class="w-fit text-white bg-[#316192] md:bg-gray-500 hover:bg-[#4479A1]
rounded-full px-3 py-1 mr-1 my-1
cursor-default
transition-colors duration-300"
>
PostgreSQL
</div>
<div
class="w-fit text-white bg-[#4479A1] md:bg-gray-500 hover:bg-[#4479A1]
rounded-full px-3 py-1 mr-1 my-1

View file

@ -34,7 +34,7 @@ import Footer from "../components/sections/FooterComponent.astro";
</p>
<div class="w-full flex flex-row flex-wrap justify-start">
<div
class="w-fit text-white bg-gray-500 hover:bg-[#141414] hover:text-white
class="w-fit text-white bg-[#141414] md:bg-gray-500 hover:bg-[#141414] hover:text-white
rounded-full px-3 py-1 mr-1 my-1
cursor-default
transition-colors duration-300"
@ -42,7 +42,7 @@ import Footer from "../components/sections/FooterComponent.astro";
OBS
</div>
<div
class="w-fit text-white bg-gray-500 hover:bg-gray-50 hover:text-black
class="w-fit text-black md:text-white bg-gray-50 md:bg-gray-500 hover:bg-gray-50 hover:text-black
rounded-full px-3 py-1 mr-1 my-1
cursor-default
transition-colors duration-300"
@ -50,7 +50,7 @@ import Footer from "../components/sections/FooterComponent.astro";
DaVinci Resolve
</div>
<div
class="w-fit text-white bg-gray-500 hover:bg-purple-500
class="w-fit text-white bg-purple-500 md:bg-gray-500 hover:bg-purple-500
rounded-full px-3 py-1 mr-1 my-1
cursor-default
transition-colors duration-300"
@ -58,7 +58,7 @@ import Footer from "../components/sections/FooterComponent.astro";
Twitch
</div>
<div
class="w-fit text-white bg-gray-500 hover:bg-[#ff0000] hover:text-white
class="w-fit text-white bg-[#ff0000] md:bg-gray-500 hover:bg-[#ff0000] hover:text-white
rounded-full px-3 py-1 mr-1 my-1
cursor-default
transition-colors duration-300"