chore(ops): harden deployment and runtime setup
This commit is contained in:
parent
1d7e7c41c9
commit
c35bd5877e
30 changed files with 534 additions and 61 deletions
|
|
@ -4,6 +4,7 @@ import Image from "next/image";
|
|||
import Link from "next/link";
|
||||
import { usePathname, useRouter } from "next/navigation";
|
||||
import type { ReactNode } from "react";
|
||||
import { appVersion } from "@/lib/runtime/version";
|
||||
|
||||
const navItems = [
|
||||
["Dashboard", "/admin"],
|
||||
|
|
@ -40,6 +41,7 @@ export default function AdminShell({ children }: { children: ReactNode }) {
|
|||
</Link>
|
||||
))}
|
||||
</nav>
|
||||
<p className="admin-version">v{appVersion}</p>
|
||||
<button className="admin-logout" type="button" onClick={logout}>Abmelden</button>
|
||||
</aside>
|
||||
<div className="admin-main">{children}</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue