-
-
setEmail(e.target.value)}
- required
- disabled={loading}
- />
+ {/* Main Content */}
+
+
+ {/* Header */}
+
+
+
+ Welcome back
+
+ Sign in to CodeIntel
+
+
+ Continue your AI-powered code exploration
+
+
+
+ {/* Login Card */}
+
+
+
-
-
-
-
- Don't have an account?{' '}
-
- Sign up
-
-
-
-
-
+ {/* Sign up link */}
+
+ Don't have an account?{' '}
+
+ Sign up for free
+
+
+
+
);
}
diff --git a/frontend/src/components/auth/SignupForm.tsx b/frontend/src/components/auth/SignupForm.tsx
index d20d05c..becf7c6 100644
--- a/frontend/src/components/auth/SignupForm.tsx
+++ b/frontend/src/components/auth/SignupForm.tsx
@@ -4,9 +4,33 @@ import { useNavigate, Link } from 'react-router-dom';
import { Button } from '../ui/button';
import { Input } from '../ui/input';
import { Label } from '../ui/label';
-import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from '../ui/card';
import { Alert, AlertDescription } from '../ui/alert';
+// Icons
+const CodeIntelLogo = () => (
+
+ CI
+
+)
+
+const GitHubIcon = () => (
+
+)
+
+const RocketIcon = () => (
+
+)
+
+const CheckIcon = () => (
+
+)
+
export function SignupForm() {
const [email, setEmail] = useState('');
const [password, setPassword] = useState('');
@@ -33,7 +57,7 @@ export function SignupForm() {
setLoading(true);
try {
await signUp(email, password);
- navigate('/');
+ navigate('/dashboard');
} catch (err: any) {
setError(err.message || 'Signup failed');
} finally {
@@ -41,83 +65,147 @@ export function SignupForm() {
}
};
+ const features = [
+ 'Unlimited semantic code search',
+ 'Index your private repositories',
+ 'AI-powered code analysis',
+ 'MCP integration with Claude'
+ ];
+
return (
-
-
-
- Create an account
-
- Enter your email to get started with CodeIntel
-
-
-
-