update
Some checks failed
deploy / deploy (push) Has been cancelled

This commit is contained in:
toom1996
2026-08-19 20:42:42 +08:00
parent e1552feb8c
commit 975c55feb2
8 changed files with 568 additions and 55 deletions

View File

@ -1,6 +1,6 @@
---
import Layout from "@/layouts/Layout.astro"
import Article from "@/components/pages/article.astro"
import RunwayLookDetail from "@/components/RunwayLooksDetail.astro"
import { fetchArticleById } from "@/lib/data"
// 按需 SSR:服务端按 ?id= 取数并渲染(保留既有 /en/article?id= 链接,无需改动其他页面)
@ -23,5 +23,5 @@ if (!id) {
---
<Layout>
<Article article={article} locale="en" apiBase={API} error={error} />
<RunwayLookDetail article={article} locale="en" apiBase={API} error={error} />
</Layout>