--- import Layout from "@/layouts/Layout.astro" import { getI18n } from "@/i18n/utils" import { href, ROUTES } from "@/lib/routes" const { locale, t } = getI18n(Astro) const titleLabel = t("my account") const pleaseLabel = t("please log in") const loginLabel = t("login") const historyLabel = t("my history") const savedLooksLabel = t("saved looks") const loginUrl = href(locale, ROUTES.login) + "?redirect=" + encodeURIComponent(href(locale, ROUTES.account)) const archiveUrl = href(locale, ROUTES.runwayLooks) // 预翻译常量:Alpine 表达式里没有 t()(t 仅 Astro 服务端存在),文案一律走模板插值。 const removeLabel = t("remove") const itemsLabel = t("items") const clearHistoryLabel = t("clear history") const noSavedLabel = t("no saved looks yet") const noHistoryLabel = t("no history yet") const browseLabel = t("browse the archive") --- {pleaseLabel} {titleLabel} {loginLabel} {t("member profile")} {t("vip")} Portfolio Studio Archive 2026 Paris · Milan · Tokyo Index 01{savedLooksLabel} 02{historyLabel} {savedLooksLabel} {itemsLabel} {t('galleries')} {t('images')} {noSavedLabel} {browseLabel} {removeLabel} ‹ Prev Next › {historyLabel} {itemsLabel} {clearHistoryLabel} {noHistoryLabel} {browseLabel} {removeLabel} ‹ Prev Next ›
{pleaseLabel}
{titleLabel}
{t("member profile")}
Portfolio Studio
Archive 2026
Paris · Milan · Tokyo
Index
{itemsLabel}
{noSavedLabel}
{noHistoryLabel}