import { useState } from 'react' import { SignIn, SignUp } from '@clerk/clerk-react' const cardStyles = { rootBox: { width: '100%', }, card: { background: '#ffffff', borderRadius: '16px', boxShadow: '0 4px 24px rgba(0,0,0,0.08)', border: '1px solid #e5e7eb', }, headerTitle: { color: '#0b0b0d', fontSize: '1.25rem', fontWeight: 700, }, headerSubtitle: { color: '#6b7280', }, formButtonPrimary: { background: '#111827', borderRadius: '8px', fontSize: '0.9rem', fontWeight: 600, transition: 'opacity 0.2s ease', }, formFieldInput: { background: '#f9fafb', border: '1px solid #e5e7eb', borderRadius: '8px', color: '#0b0b0d', transition: 'border-color 0.2s ease', }, formFieldInput__focused: { borderColor: '#111827', }, formFieldLabel: { color: '#6b7280', fontWeight: 500, }, dividerLine: { background: '#e5e7eb', }, dividerText: { color: '#9ca3af', }, socialButtonsBlockButton: { background: '#f9fafb', border: '1px solid #e5e7eb', borderRadius: '8px', color: '#0b0b0d', fontWeight: 500, transition: 'all 0.2s ease', }, footerActionLink: { color: '#111827', fontWeight: 600, }, footer: { display: 'none', }, socialButtonsBlockButton__google: { background: '#ffffff', }, socialButtonsBlockButton__github: { background: '#ffffff', }, identityPreviewEditButton: { color: '#111827', }, formFieldAction: { color: '#111827', }, formFieldError: { color: '#dc2626', }, alert: { borderRadius: '8px', }, alertText: { color: '#0b0b0d', }, otpCodeFieldInput: { background: '#f9fafb', border: '1px solid #e5e7eb', borderRadius: '8px', color: '#0b0b0d', }, } export default function SignInPage() { const [mode, setMode] = useState('sign-in') return (

ReAct Agent

{mode === 'sign-in' ? 'Welcome back' : 'Create your account'}

{/* Mode toggle */}
{mode === 'sign-in' ? ( ) : ( )}
) }