update
This commit is contained in:
@ -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 />
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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} />
|
||||
|
||||
@ -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 />
|
||||
|
||||
@ -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>
|
||||
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user