fix(admin): persist data directory and pass env vars

This commit is contained in:
Schubert Ferenc 2026-07-03 22:25:04 +02:00
parent 99e8201745
commit 1d7e7c41c9
39 changed files with 1297 additions and 32 deletions

13
app/admin/login/page.tsx Normal file
View file

@ -0,0 +1,13 @@
import type { Metadata } from "next";
import AdminLoginForm from "@/components/admin/AdminLoginForm";
export const metadata: Metadata = {
title: "Admin Login | Funktechnik Schubert",
robots: { index: false, follow: false },
};
export default async function AdminLoginPage({ searchParams }: { searchParams: Promise<{ next?: string }> }) {
const params = await searchParams;
const nextPath = params.next?.startsWith("/admin") ? params.next : "/admin";
return <AdminLoginForm nextPath={nextPath} />;
}