PWA Settings

Fixed webmanifest generation and pwa icon.

Made nav bar text optional.
This commit is contained in:
Stefan Lazic committed 2026-08-07 13:38:11 +01:00
1 parent a702320d4e
commit 769d3f9ebc
23 files changed
+1065 -91

No files matched your search

@@ -14,7 +14,12 @@ import { safeRedirectPath } from "@/lib/utils/safe-redirect";
export function SignInForm() {
const searchParams = useSearchParams();
const callbackUrl = safeRedirectPath(searchParams.get("callbackUrl"), "/home");
// "/" rather than a hardcoded "/home" — the role isn't known client-side
// before sign-in completes, so a bare sign-in (no callbackUrl) routes
// through the root welcome page's own post-auth redirect, which already
// knows how to send a barber/owner/super admin to their Calendar tab
// instead of the customer home. See src/app/page.tsx.
const callbackUrl = safeRedirectPath(searchParams.get("callbackUrl"), "/");
const [formError, setFormError] = useState<string | null>(null);
const {