import Link from "next/link" import { Logo } from "@/components/shared/logo" import { signUp, signInWithGoogle } from "@/app/actions/auth" export default async function SignupPage({ searchParams, }: { searchParams: Promise<{ error?: string; success?: string }> }) { const params = await searchParams const error = params.error const success = params.success if (success === "check-email") { return (
✉️

Check your email

We sent a confirmation link to your email. Click it to activate your account.

Back to sign in
) } return (

Create your account

Start managing your properties for free

{/* Google OAuth */}
or sign up with email
{error && (
{decodeURIComponent(error)}
)}

By signing up you agree to our{" "} Terms {" "}and{" "} Privacy Policy.

Already have an account?{" "} Sign in

) } function GoogleIcon() { return ( ) }