Clean up page routing: /work for portfolio, /posts for blog

This commit is contained in:
Kunthawat Greethong
2026-05-01 17:24:26 +07:00
parent e921b82d9e
commit b2a380eb4d
8 changed files with 53 additions and 458 deletions

View File

@@ -42,7 +42,7 @@
"runtime": null
},
"build": {
"buildCommand": "pnpm build 2>&1 | tail -20",
"buildCommand": "pnpm build 2>&1 | tail -25",
"testCommand": null,
"lintCommand": null,
"devCommand": "npm run dev",
@@ -138,6 +138,12 @@
"lastAccessed": 1777620637431,
"type": "file"
},
{
"path": "src/pages/posts/index.astro",
"accessCount": 3,
"lastAccessed": 1777630959283,
"type": "file"
},
{
"path": "src/styles/theme.css",
"accessCount": 2,
@@ -150,18 +156,36 @@
"lastAccessed": 1777618173372,
"type": "file"
},
{
"path": "src/pages/posts/index.astro",
"accessCount": 2,
"lastAccessed": 1777618215078,
"type": "file"
},
{
"path": "src/layouts/BlogBase.astro",
"accessCount": 2,
"lastAccessed": 1777620599150,
"type": "file"
},
{
"path": "src/pages/work/[slug].astro",
"accessCount": 2,
"lastAccessed": 1777630917909,
"type": "file"
},
{
"path": "src/pages/portfolio-index.astro",
"accessCount": 2,
"lastAccessed": 1777630938418,
"type": "file"
},
{
"path": "src/pages/about.astro",
"accessCount": 2,
"lastAccessed": 1777631018052,
"type": "file"
},
{
"path": "src/pages/posts/[slug].astro",
"accessCount": 2,
"lastAccessed": 1777631024601,
"type": "file"
},
{
"path": "src/pages/index.astro",
"accessCount": 1,
@@ -180,24 +204,6 @@
"lastAccessed": 1777616192120,
"type": "file"
},
{
"path": "src/pages/portfolio-index.astro",
"accessCount": 1,
"lastAccessed": 1777616195418,
"type": "file"
},
{
"path": "src/pages/work/[slug].astro",
"accessCount": 1,
"lastAccessed": 1777616198707,
"type": "file"
},
{
"path": "src/pages/about.astro",
"accessCount": 1,
"lastAccessed": 1777616201998,
"type": "file"
},
{
"path": "src/pages/contact.astro",
"accessCount": 1,
@@ -216,12 +222,6 @@
"lastAccessed": 1777616259549,
"type": "file"
},
{
"path": "src/pages/posts/[slug].astro",
"accessCount": 1,
"lastAccessed": 1777618182408,
"type": "file"
},
{
"path": "src/pages/posts/posts-index.astro",
"accessCount": 1,

View File

@@ -9,3 +9,5 @@
{"t":0,"agent":"a42b6ce","agent_type":"unknown","event":"agent_stop","success":true}
{"t":0,"agent":"a3d22ed","agent_type":"unknown","event":"agent_stop","success":true}
{"t":0,"agent":"ad5c4bf","agent_type":"unknown","event":"agent_stop","success":true}
{"t":0,"agent":"a2608de","agent_type":"unknown","event":"agent_stop","success":true}
{"t":0,"agent":"a85220d","agent_type":"unknown","event":"agent_stop","success":true}

View File

@@ -1,5 +1,5 @@
{
"updatedAt": "2026-05-01T07:29:47.145Z",
"updatedAt": "2026-05-01T10:20:22.969Z",
"missions": [
{
"id": "session:33698839-2ad1-4412-9735-43676f5e6beb:none",
@@ -7,7 +7,7 @@
"name": "none",
"objective": "Session mission",
"createdAt": "2026-04-30T23:41:28.830Z",
"updatedAt": "2026-05-01T07:29:47.145Z",
"updatedAt": "2026-05-01T10:20:22.969Z",
"status": "done",
"workerCount": 1,
"taskCounts": {
@@ -27,7 +27,7 @@
"currentStep": null,
"latestUpdate": "completed",
"completedSummary": null,
"updatedAt": "2026-05-01T07:29:47.145Z"
"updatedAt": "2026-05-01T10:20:22.969Z"
}
],
"timeline": [
@@ -110,6 +110,22 @@
"agent": "Explore:a0f2988",
"detail": "completed",
"sourceKey": "session-stop:ad5c4bf39e4876c02"
},
{
"id": "session-stop:a2608de5f03163d75:2026-05-01T07:32:23.209Z",
"at": "2026-05-01T07:32:23.209Z",
"kind": "completion",
"agent": "Explore:a0f2988",
"detail": "completed",
"sourceKey": "session-stop:a2608de5f03163d75"
},
{
"id": "session-stop:a85220dfcd04dafee:2026-05-01T10:20:22.969Z",
"at": "2026-05-01T10:20:22.969Z",
"kind": "completion",
"agent": "Explore:a0f2988",
"detail": "completed",
"sourceKey": "session-stop:a85220dfcd04dafee"
}
]
}

View File

@@ -13,5 +13,5 @@
"total_spawned": 1,
"total_completed": 1,
"total_failed": 0,
"last_updated": "2026-05-01T07:29:47.246Z"
"last_updated": "2026-05-01T10:20:23.070Z"
}