diff --git a/.prettierrc b/.prettierrc index 21b54aa..4f634ae 100755 --- a/.prettierrc +++ b/.prettierrc @@ -1,4 +1,5 @@ { + "plugins": ["prettier-plugin-astro"], "overrides": [ { "files": ["*.astro"], diff --git a/package.json b/package.json index 0e1dff9..f4d1158 100755 --- a/package.json +++ b/package.json @@ -17,9 +17,9 @@ "@astrojs/mdx": "^0.19.7", "@astrojs/react": "^2.2.1", "@astrojs/rss": "^2.4.3", - "@astrojs/sitemap": "^1.3.3", + "@astrojs/sitemap": "^2.0.1", "@astrojs/tailwind": "^4.0.0", - "astro": "^2.7.4", + "astro": "^2.9.1", "astro-auto-import": "^0.3.0", "date-fns": "^2.30.0", "date-fns-tz": "^2.0.0", @@ -27,9 +27,9 @@ "fuse.js": "^6.6.2", "github-slugger": "^2.0.0", "gray-matter": "^4.0.3", - "marked": "^5.1.0", - "prettier-plugin-astro": "^0.10.0", - "prettier-plugin-tailwindcss": "^0.3.0", + "marked": "^5.1.1", + "prettier-plugin-astro": "^0.11.0", + "prettier-plugin-tailwindcss": "^0.4.1", "prop-types": "^15.8.1", "react": "^18.2.0", "react-dom": "^18.2.0", @@ -37,24 +37,24 @@ "react-lite-youtube-embed": "^2.3.52", "remark-collapse": "^0.1.2", "remark-toc": "^8.0.1", - "sharp": "^0.32.1", - "swiper": "^10.0.3" + "sharp": "^0.32.4", + "swiper": "^10.0.4" }, "devDependencies": { - "@tailwindcss/forms": "^0.5.3", + "@tailwindcss/forms": "^0.5.4", "@tailwindcss/typography": "^0.5.9", - "@types/marked": "^5.0.0", - "@types/node": "20.4.0", - "@types/react": "18.2.14", - "@types/react-dom": "18.2.6", + "@types/marked": "^5.0.1", + "@types/node": "20.4.3", + "@types/react": "18.2.15", + "@types/react-dom": "18.2.7", "autoprefixer": "^10.4.14", - "eslint": "^8.44.0", - "postcss": "^8.4.24", + "eslint": "^8.45.0", + "postcss": "^8.4.27", "prettier": "^3.0.0", - "prettier-plugin-astro": "^0.10.0", - "prettier-plugin-tailwindcss": "^0.3.0", - "sass": "^1.63.6", - "tailwindcss": "^3.3.2", + "prettier-plugin-astro": "^0.11.0", + "prettier-plugin-tailwindcss": "^0.4.1", + "sass": "^1.64.1", + "tailwindcss": "^3.3.3", "tailwind-bootstrap-grid": "^5.0.1", "typescript": "5.1.6" } diff --git a/readme.md b/readme.md index e98df46..1f480cb 100755 --- a/readme.md +++ b/readme.md @@ -70,19 +70,19 @@ ### 👉 Install Dependencies -``` +```bash npm install ``` ### 👉 Development Command -``` +```bash npm run dev ``` ### 👉 Build Command -``` +```bash npm run build ``` diff --git a/src/layouts/partials/Header.astro b/src/layouts/partials/Header.astro index 40dd758..2c022c6 100755 --- a/src/layouts/partials/Header.astro +++ b/src/layouts/partials/Header.astro @@ -31,26 +31,23 @@ const { pathname } = Astro.url; -