This commit is contained in:
toom1996
2026-09-15 00:31:31 +08:00
parent afff2d9a49
commit 199300b203
27 changed files with 114 additions and 132 deletions

View File

@ -1,6 +1,6 @@
---
// 语言由 Astro.currentLocale 运行时决定,实现见 components/pages/AccountPage.astro(en/cn 共用)。
import AccountPage from "@/components/pages/AccountPage.astro"
// 语言由 Astro.currentLocale 运行时决定,实现见 components/views/AccountPage.astro(en/cn 共用)。
import AccountPage from "@/components/views/AccountPage.astro"
---
<AccountPage />

View File

@ -1,8 +1,8 @@
---
import Layout from '@/layouts/Layout.astro'
import Index from '@/components/Index.astro'
import Home from '@/components/views/Home.astro'
---
<Layout>
<Index />
<Layout title="时尚档案" description="Xisoa 时尚档案收录全球时装周走秀造型与街头抓拍,可按品牌、季节、城市检索。" keywords="时尚档案,走秀,街拍,时装周,品牌,季节">
<Home />
</Layout>

View File

@ -1,9 +1,9 @@
---
export const prerender = false
// 语言由 Astro.currentLocale 运行时决定,实现见 components/pages/ItemPage.astro(en/cn 共用)。
// 语言由 Astro.currentLocale 运行时决定,实现见 components/views/ItemPage.astro(en/cn 共用)。
// id 必须在此取出后透传:prerender 只认页面模块的导出,Astro.params 留在页面更直观。
import ItemPage from "@/components/pages/ItemPage.astro"
import ItemPage from "@/components/views/ItemPage.astro"
---
<ItemPage id={Astro.params.id} />

View File

@ -1,6 +1,6 @@
---
// 语言由 Astro.currentLocale 运行时决定,实现见 components/pages/LoginPage.astro(en/cn 共用)。
import LoginPage from "@/components/pages/LoginPage.astro"
// 语言由 Astro.currentLocale 运行时决定,实现见 components/views/LoginPage.astro(en/cn 共用)。
import LoginPage from "@/components/views/LoginPage.astro"
---
<LoginPage />

View File

@ -1,7 +1,7 @@
---
import Layout from '@/layouts/Layout.astro'
import RunwayLooks from '@/components/RunwayLooks.astro'
import RunwayLooks from '@/components/views/RunwayLooks.astro'
---
<Layout>
<Layout title="走秀造型" description="浏览全球时装周走秀造型,按品牌、季节与年份筛选 —— Xisoa 时尚档案。" keywords="走秀,时装周,造型,品牌,季节,系列">
<RunwayLooks />
</Layout>

View File

@ -1,7 +1,7 @@
---
import Layout from '@/layouts/Layout.astro'
import StreetSnaps from '@/components/StreetSnaps.astro'
import StreetSnaps from '@/components/views/StreetSnaps.astro'
---
<Layout>
<Layout title="街拍" description="来自全球城市的街头抓拍,按城市与年份浏览 —— Xisoa 时尚档案。" keywords="街拍,街头风格,时尚,城市,抓拍">
<StreetSnaps />
</Layout>

View File

@ -1,6 +1,6 @@
---
// 语言由 Astro.currentLocale 运行时决定,实现见 components/pages/AccountPage.astro(en/cn 共用)。
import AccountPage from "@/components/pages/AccountPage.astro"
// 语言由 Astro.currentLocale 运行时决定,实现见 components/views/AccountPage.astro(en/cn 共用)。
import AccountPage from "@/components/views/AccountPage.astro"
---
<AccountPage />

View File

@ -1,8 +1,8 @@
---
import Layout from '@/layouts/Layout.astro'
import Index from '@/components/Index.astro'
import Home from '@/components/views/Home.astro'
---
<Layout>
<Index />
<Layout title="Fashion Archive" description="Xisoa is a fashion archive of runway looks and street style snaps — browse by brand, season and city." keywords="fashion archive,runway looks,street style,fashion week,brand,season">
<Home />
</Layout>

View File

@ -1,9 +1,9 @@
---
export const prerender = false
// 语言由 Astro.currentLocale 运行时决定,实现见 components/pages/ItemPage.astro(en/cn 共用)。
// 语言由 Astro.currentLocale 运行时决定,实现见 components/views/ItemPage.astro(en/cn 共用)。
// id 必须在此取出后透传:prerender 只认页面模块的导出,Astro.params 留在页面更直观。
import ItemPage from "@/components/pages/ItemPage.astro"
import ItemPage from "@/components/views/ItemPage.astro"
---
<ItemPage id={Astro.params.id} />

View File

@ -1,6 +1,6 @@
---
// 语言由 Astro.currentLocale 运行时决定,实现见 components/pages/LoginPage.astro(en/cn 共用)。
import LoginPage from "@/components/pages/LoginPage.astro"
// 语言由 Astro.currentLocale 运行时决定,实现见 components/views/LoginPage.astro(en/cn 共用)。
import LoginPage from "@/components/views/LoginPage.astro"
---
<LoginPage />

View File

@ -1,7 +1,7 @@
---
import Layout from '@/layouts/Layout.astro'
import RunwayLooks from '@/components/RunwayLooks.astro'
import RunwayLooks from '@/components/views/RunwayLooks.astro'
---
<Layout>
<Layout title="Runway Looks" description="Browse runway looks from fashion weeks around the world — filter by brand, season and year on Xisoa." keywords="runway looks,fashion week,runway,brand,season,collection">
<RunwayLooks />
</Layout>

View File

@ -1,7 +1,7 @@
---
import Layout from '@/layouts/Layout.astro'
import StreetSnaps from '@/components/StreetSnaps.astro'
import StreetSnaps from '@/components/views/StreetSnaps.astro'
---
<Layout>
<Layout title="Street Style" description="Street style snaps from cities around the world — browse by city and year on Xisoa." keywords="street style,street snaps,fashion,street photography,city">
<StreetSnaps />
</Layout>

View File

@ -4,9 +4,9 @@
// 若需强制跳 /en,应在此加 redirect 或 middleware —— 当前保持现状,未做跳转。
import Layout from '@/layouts/Layout.astro'
import Index from '@/components/Index.astro'
import Home from '@/components/views/Home.astro'
---
<Layout>
<Index />
<Layout title="Fashion Archive" description="Xisoa is a fashion archive of runway looks and street style snaps — browse by brand, season and city." keywords="fashion archive,runway looks,street style,fashion week,brand,season">
<Home />
</Layout>