Restore from Gitea ZIP snapshot (12.08.2026) after full instance reinstall
Git history was lost when the previous Gitea instance was wiped and reinstalled due to an unresolved corruption bug — this commit is the last known-good file content, exported before the reinstall. Prior commit history is not recoverable through this path.
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
import { redirect } from "next/navigation";
|
||||
import { getCurrentSession } from "@/lib/auth/session";
|
||||
import { getPrestige } from "@/lib/prestige/service";
|
||||
import { PrestigeShopPanel } from "@/components/prestige-shop-panel";
|
||||
|
||||
export default async function ShopPage() {
|
||||
const session = await getCurrentSession();
|
||||
if (!session) redirect("/login");
|
||||
|
||||
const prestige = await getPrestige(session.user.id);
|
||||
|
||||
return (
|
||||
<div className="mx-auto w-full max-w-2xl flex-1 px-4 py-8 sm:px-6">
|
||||
<h1 className="mb-1 font-display text-2xl font-bold tracking-tight">Магазин престижа</h1>
|
||||
<p className="mb-6 text-sm text-text-muted">
|
||||
Кристаллы зарабатываются за прохождение кликер-подземелий до конца — отдельная валюта от монет в кошельке,
|
||||
тратится на постоянные улучшения на аккаунте.
|
||||
</p>
|
||||
<PrestigeShopPanel initialPrestige={prestige} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user