fix(admin): persist data directory and pass env vars
This commit is contained in:
parent
99e8201745
commit
1d7e7c41c9
39 changed files with 1297 additions and 32 deletions
24
app/admin/seo/page.tsx
Normal file
24
app/admin/seo/page.tsx
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
import { redirect } from "next/navigation";
|
||||
import AdminShell from "@/components/admin/AdminShell";
|
||||
import { requireAdminSession } from "@/lib/admin/auth";
|
||||
import { defaultTitle, siteName, siteUrl } from "@/app/seo";
|
||||
|
||||
export default async function AdminSeoPage() {
|
||||
if (!await requireAdminSession()) redirect("/admin/login");
|
||||
|
||||
return (
|
||||
<AdminShell>
|
||||
<div className="admin-page-head">
|
||||
<p className="eyebrow">Sichtbarkeit</p>
|
||||
<h1>SEO Verwaltung</h1>
|
||||
</div>
|
||||
<section className="admin-card admin-form">
|
||||
<label>Seitentitel<input readOnly value={defaultTitle} /></label>
|
||||
<label>Site Name<input readOnly value={siteName} /></label>
|
||||
<label>Basis-URL<input readOnly value={siteUrl} /></label>
|
||||
<label>Meta Description<textarea readOnly value="Service, Reparatur, Diagnose und Abgleich von Funktechnik, CB-Funk, Amateurfunk und Kommunikationstechnik." /></label>
|
||||
<p className="admin-muted">Live-Bearbeitung pro Seite ist vorbereitet und wird in einer späteren Publishing-Ausbaustufe aktiviert.</p>
|
||||
</section>
|
||||
</AdminShell>
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue