This commit is contained in:
toom1996
2026-09-14 00:42:45 +08:00
parent d6cb616337
commit 548155625d
22 changed files with 707 additions and 454 deletions

View File

@ -181,7 +181,7 @@ const browseLabel = t("browse the archive")
</style>
<script>
import { toAbs } from "@/lib/api"
import { toAbs } from "@/lib/request"
import { getUser } from "@/lib/auth"
import { getFavorites, removeFavorite, fetchFavoritesPage } from "@/lib/favorites"
import { fetchHistoryPage, removeHistory, clearHistory } from "@/lib/history"

View File

@ -124,7 +124,8 @@ const pageTitle = `${loginLabel} — Portfolio Studio`
</main>
<script>
import { login, getUser } from "@/lib/auth"
import { getUser } from "@/lib/auth"
import { login } from "@/lib/api"
import { clientHref, ROUTES } from "@/lib/routes"
document.addEventListener("alpine:init", () => {

View File

@ -182,7 +182,7 @@ const browseLabel = t("browse the archive")
</style>
<script>
import { toAbs } from "@/lib/api"
import { toAbs } from "@/lib/request"
import { getUser } from "@/lib/auth"
import { getFavorites, removeFavorite, fetchFavoritesPage } from "@/lib/favorites"
import { fetchHistoryPage, removeHistory, clearHistory } from "@/lib/history"

View File

@ -124,7 +124,8 @@ const pageTitle = `${loginLabel} — Portfolio Studio`
</main>
<script>
import { login, getUser } from "@/lib/auth"
import { getUser } from "@/lib/auth"
import { login } from "@/lib/api"
import { clientHref, ROUTES } from "@/lib/routes"
document.addEventListener("alpine:init", () => {