diff --git a/src/pages/Signup.tsx b/src/pages/Signup.tsx new file mode 100644 index 0000000..62bf3d8 --- /dev/null +++ b/src/pages/Signup.tsx @@ -0,0 +1,132 @@ +import { useState } from "react"; +import { toast } from "sonner"; +import { Link } from "react-router-dom"; +import { Button } from "@/components/ui/button"; +import { Card, CardContent } from "@/components/ui/card"; +import { Input } from "@/components/ui/input"; +import { Label } from "@/components/ui/label"; +import { Checkbox } from "@/components/ui/checkbox"; +import { Separator } from "@/components/ui/separator"; +import { Layers, CheckCircle2 } from "lucide-react"; +import { useAuth } from "@/hooks/use-tygarun"; + +export default function SignupPage() { + const { signup, loading } = useAuth(); + const [name, setName] = useState(""); + const [email, setEmail] = useState(""); + const [password, setPassword] = useState(""); + const [confirmPassword, setConfirmPassword] = useState(""); + const [terms, setTerms] = useState(false); + const [success, setSuccess] = useState(false); + + return ( +
Start your 14-day free trial
++ Already have an account?{" "} + Sign in +
+