feat(setup): add initial setup wizard for admin account and SMTP configuration

This commit is contained in:
DanielS
2026-07-03 09:55:24 +02:00
parent f5f577ea73
commit 6dc1b1c00c
6 changed files with 560 additions and 2 deletions

View File

@@ -11,8 +11,9 @@ interface HeaderWrapperProps {
export function HeaderWrapper({ navbar, children }: HeaderWrapperProps) {
const pathname = usePathname();
const isAdmin = pathname?.startsWith("/admin");
const isSetup = pathname === "/setup";
if (isAdmin) {
if (isAdmin || isSetup) {
return <>{children}</>;
}