"use client"; import { useSignupFlow } from "@/hooks/use-signup-flow"; import { Button } from "@/components/ui/button"; import { Input } from "@/components/ui/input"; import { ArrowRight, Home, Inbox } from "lucide-react"; import Link from "next/link"; export default function SignupPage() { const { step, owner, organization, isLoading, error, emailSent, canContinueAccount, canContinueOrganization, goNext, goBack, sendMagicLink, updateOwner, updateOrganization, } = useSignupFlow(); // Success view after email sent if (emailSent) { return (
We sent a verification link to {owner.email}. Click the link to complete your signup.
Get started with Your App
{error}
Already have an account?{" "} Sign in
)}