import Link from "next/link" import { Logo } from "@/components/shared/logo" import { TurnstileWidget } from "@/components/shared/turnstile-widget" import { signUp, signInWithGoogle } from "@/app/actions/auth" import { isGoogleConfigured } from "@/lib/auth" import { pageMetadata } from "@/lib/seo" // /signup is listed in the sitemap as a conversion landing page, so it needs // its own title, description and canonical rather than inheriting the "Sign in" // title from app/(auth)/layout.tsx. export const metadata = pageMetadata({ title: "Create your free Property Management Network account", absoluteTitle: true, description: "Create a free landlord account — track rent, maintenance, leases and expenses for your first property. No credit card required.", path: "/signup", }) export default async function SignupPage({ searchParams, }: { searchParams: Promise<{ error?: string; success?: string; next?: string }> }) { const params = await searchParams const error = params.error const success = params.success const next = typeof params.next === "string" && params.next.startsWith("/") ? params.next : "" if (success === "check-email") { return (
We sent a confirmation link to your email. Click it to activate your account.
Back to sign inStart managing your properties for free
By signing up you agree to our{" "} Terms {" "}and{" "} Privacy Policy.
Already have an account?{" "} Sign in