Add registration flow and improve admin post management

This commit is contained in:
爱喝水的木子
2026-03-19 20:17:56 +08:00
parent 50a1e476c8
commit 17f5f6adcb
28 changed files with 799 additions and 192 deletions

View File

@@ -1,22 +1,23 @@
import LoginForm from "./login-form";
import { Suspense } from "react";
export const metadata = {
title: "登录 - Push Info"
title: "登录 - OPC Solo Feed"
};
export default function LoginPage() {
return (
<div className="mx-auto max-w-md rounded-2xl bg-white/90 p-8 shadow-sm ring-1 ring-slate-100">
<h1 className="text-2xl font-semibold text-slate-900"></h1>
<p className="mt-2 text-sm text-slate-600">
/ ADMIN_PASS
</p>
<p className="mt-2 text-sm text-slate-600">使</p>
<div className="mt-6">
<Suspense fallback={null}>
<LoginForm />
</Suspense>
<LoginForm />
</div>
<p className="mt-4 text-sm text-slate-500">
{" "}
<a href="/register" className="text-brand-600 hover:text-brand-700">
</a>
</p>
</div>
);
}