diff --git a/frontend/app/login/page.tsx b/frontend/app/login/page.tsx
index 6fbf75c..e54e11a 100644
--- a/frontend/app/login/page.tsx
+++ b/frontend/app/login/page.tsx
@@ -97,13 +97,13 @@ export default function LoginPage() {
>
TODO
-
Back to website
-
+ */}
diff --git a/frontend/app/signup/page.tsx b/frontend/app/signup/page.tsx
index c825fa4..9403148 100644
--- a/frontend/app/signup/page.tsx
+++ b/frontend/app/signup/page.tsx
@@ -12,7 +12,7 @@ import { Button } from "@/components/ui/button";
import { Input } from "@/components/ui/input";
import { Label } from "@/components/ui/label";
import { Icons } from "@/components/icons";
-import { Checkbox } from "@/components/ui/checkbox";
+// import { Checkbox } from "@/components/ui/checkbox";
import Image from "next/image";
export default function SignupPage() {
@@ -20,13 +20,12 @@ export default function SignupPage() {
const { login } = useAuth();
const [isLoading, setIsLoading] = useState(false);
const [formData, setFormData] = useState({
- firstName: "",
- lastName: "",
+ username: "",
email: "",
password: "",
});
const [showPassword, setShowPassword] = useState(false);
- const [agreedToTerms, setAgreedToTerms] = useState(false);
+ // const [agreedToTerms, setAgreedToTerms] = useState(false);
const handleChange = (e: React.ChangeEvent) => {
const { name, value } = e.target;
@@ -36,16 +35,15 @@ export default function SignupPage() {
const handleSubmit = async (e: React.FormEvent) => {
e.preventDefault();
- if (!agreedToTerms) {
- toast.error("You must agree to the Terms & Conditions");
- return;
- }
+ // if (!agreedToTerms) {
+ // toast.error("You must agree to the Terms & Conditions");
+ // return;
+ // }
setIsLoading(true);
try {
- const { firstName, lastName, email, password } = formData;
- const username = `${firstName} ${lastName}`.trim();
+ const { username, email, password } = formData;
const user = await signupUserApi({ username, email, password });
// In a real app, we'd get a token back from signup or do a separate login
@@ -105,13 +103,13 @@ export default function SignupPage() {
>
TODO
-
Back to website
-
+ */}
@@ -125,35 +123,19 @@ export default function SignupPage() {