mirror of
https://github.com/10h30/astroplate.git
synced 2026-07-11 10:46:07 +09:00
update packages and navigation
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
|
"plugins": ["prettier-plugin-astro"],
|
||||||
"overrides": [
|
"overrides": [
|
||||||
{
|
{
|
||||||
"files": ["*.astro"],
|
"files": ["*.astro"],
|
||||||
|
|||||||
+18
-18
@@ -17,9 +17,9 @@
|
|||||||
"@astrojs/mdx": "^0.19.7",
|
"@astrojs/mdx": "^0.19.7",
|
||||||
"@astrojs/react": "^2.2.1",
|
"@astrojs/react": "^2.2.1",
|
||||||
"@astrojs/rss": "^2.4.3",
|
"@astrojs/rss": "^2.4.3",
|
||||||
"@astrojs/sitemap": "^1.3.3",
|
"@astrojs/sitemap": "^2.0.1",
|
||||||
"@astrojs/tailwind": "^4.0.0",
|
"@astrojs/tailwind": "^4.0.0",
|
||||||
"astro": "^2.7.4",
|
"astro": "^2.9.1",
|
||||||
"astro-auto-import": "^0.3.0",
|
"astro-auto-import": "^0.3.0",
|
||||||
"date-fns": "^2.30.0",
|
"date-fns": "^2.30.0",
|
||||||
"date-fns-tz": "^2.0.0",
|
"date-fns-tz": "^2.0.0",
|
||||||
@@ -27,9 +27,9 @@
|
|||||||
"fuse.js": "^6.6.2",
|
"fuse.js": "^6.6.2",
|
||||||
"github-slugger": "^2.0.0",
|
"github-slugger": "^2.0.0",
|
||||||
"gray-matter": "^4.0.3",
|
"gray-matter": "^4.0.3",
|
||||||
"marked": "^5.1.0",
|
"marked": "^5.1.1",
|
||||||
"prettier-plugin-astro": "^0.10.0",
|
"prettier-plugin-astro": "^0.11.0",
|
||||||
"prettier-plugin-tailwindcss": "^0.3.0",
|
"prettier-plugin-tailwindcss": "^0.4.1",
|
||||||
"prop-types": "^15.8.1",
|
"prop-types": "^15.8.1",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-dom": "^18.2.0",
|
"react-dom": "^18.2.0",
|
||||||
@@ -37,24 +37,24 @@
|
|||||||
"react-lite-youtube-embed": "^2.3.52",
|
"react-lite-youtube-embed": "^2.3.52",
|
||||||
"remark-collapse": "^0.1.2",
|
"remark-collapse": "^0.1.2",
|
||||||
"remark-toc": "^8.0.1",
|
"remark-toc": "^8.0.1",
|
||||||
"sharp": "^0.32.1",
|
"sharp": "^0.32.4",
|
||||||
"swiper": "^10.0.3"
|
"swiper": "^10.0.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tailwindcss/forms": "^0.5.3",
|
"@tailwindcss/forms": "^0.5.4",
|
||||||
"@tailwindcss/typography": "^0.5.9",
|
"@tailwindcss/typography": "^0.5.9",
|
||||||
"@types/marked": "^5.0.0",
|
"@types/marked": "^5.0.1",
|
||||||
"@types/node": "20.4.0",
|
"@types/node": "20.4.3",
|
||||||
"@types/react": "18.2.14",
|
"@types/react": "18.2.15",
|
||||||
"@types/react-dom": "18.2.6",
|
"@types/react-dom": "18.2.7",
|
||||||
"autoprefixer": "^10.4.14",
|
"autoprefixer": "^10.4.14",
|
||||||
"eslint": "^8.44.0",
|
"eslint": "^8.45.0",
|
||||||
"postcss": "^8.4.24",
|
"postcss": "^8.4.27",
|
||||||
"prettier": "^3.0.0",
|
"prettier": "^3.0.0",
|
||||||
"prettier-plugin-astro": "^0.10.0",
|
"prettier-plugin-astro": "^0.11.0",
|
||||||
"prettier-plugin-tailwindcss": "^0.3.0",
|
"prettier-plugin-tailwindcss": "^0.4.1",
|
||||||
"sass": "^1.63.6",
|
"sass": "^1.64.1",
|
||||||
"tailwindcss": "^3.3.2",
|
"tailwindcss": "^3.3.3",
|
||||||
"tailwind-bootstrap-grid": "^5.0.1",
|
"tailwind-bootstrap-grid": "^5.0.1",
|
||||||
"typescript": "5.1.6"
|
"typescript": "5.1.6"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -70,19 +70,19 @@
|
|||||||
|
|
||||||
### 👉 Install Dependencies
|
### 👉 Install Dependencies
|
||||||
|
|
||||||
```
|
```bash
|
||||||
npm install
|
npm install
|
||||||
```
|
```
|
||||||
|
|
||||||
### 👉 Development Command
|
### 👉 Development Command
|
||||||
|
|
||||||
```
|
```bash
|
||||||
npm run dev
|
npm run dev
|
||||||
```
|
```
|
||||||
|
|
||||||
### 👉 Build Command
|
### 👉 Build Command
|
||||||
|
|
||||||
```
|
```bash
|
||||||
npm run build
|
npm run build
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -31,26 +31,23 @@ const { pathname } = Astro.url;
|
|||||||
<!-- navbar toggler -->
|
<!-- navbar toggler -->
|
||||||
<input id="nav-toggle" type="checkbox" class="hidden" />
|
<input id="nav-toggle" type="checkbox" class="hidden" />
|
||||||
<label
|
<label
|
||||||
id="show-button"
|
|
||||||
for="nav-toggle"
|
for="nav-toggle"
|
||||||
class="order-3 flex cursor-pointer items-center text-dark dark:text-white lg:order-1 lg:hidden"
|
class="order-3 cursor-pointer text-dark dark:text-white lg:order-1"
|
||||||
>
|
>
|
||||||
|
<span id="show-button" class="flex items-center lg:order-1 lg:hidden">
|
||||||
<svg class="h-6 fill-current" viewBox="0 0 20 20">
|
<svg class="h-6 fill-current" viewBox="0 0 20 20">
|
||||||
<title>Menu Open</title>
|
<title>Menu Open</title>
|
||||||
<path d="M0 3h20v2H0V3z m0 6h20v2H0V9z m0 6h20v2H0V0z"></path>
|
<path d="M0 3h20v2H0V3z m0 6h20v2H0V9z m0 6h20v2H0V0z"></path>
|
||||||
</svg>
|
</svg>
|
||||||
</label>
|
</span>
|
||||||
<label
|
<span id="hide-button" class="hidden items-center lg:order-1">
|
||||||
id="hide-button"
|
|
||||||
for="nav-toggle"
|
|
||||||
class="order-3 hidden cursor-pointer items-center text-dark dark:text-white lg:order-1"
|
|
||||||
>
|
|
||||||
<svg class="h-6 fill-current" viewBox="0 0 20 20">
|
<svg class="h-6 fill-current" viewBox="0 0 20 20">
|
||||||
<title>Menu Close</title>
|
<title>Menu Close</title>
|
||||||
<polygon
|
<polygon
|
||||||
points="11 9 22 9 22 11 11 11 11 22 9 22 9 11 -2 11 -2 9 9 9 9 -2 11 -2"
|
points="11 9 22 9 22 11 11 11 11 22 9 22 9 11 -2 11 -2 9 9 9 9 -2 11 -2"
|
||||||
transform="rotate(45 10 10)"></polygon>
|
transform="rotate(45 10 10)"></polygon>
|
||||||
</svg>
|
</svg>
|
||||||
|
</span>
|
||||||
</label>
|
</label>
|
||||||
<!-- /navbar toggler -->
|
<!-- /navbar toggler -->
|
||||||
<ul
|
<ul
|
||||||
|
|||||||
Reference in New Issue
Block a user