Улучшение legal документов: читаемость в dark mode, английские версии, чекбокс принятия условий при регистрации
This commit is contained in:
@@ -248,11 +248,33 @@ const RegisterPage = () => {
|
||||
value={password}
|
||||
onChange={(e) => setPassword(e.target.value)}
|
||||
placeholder={t('auth.register.passwordPlaceholder')}
|
||||
className="w-full px-5 py-3 mb-6 border border-gray-300 rounded-full focus:outline-none focus:ring-2 focus:ring-ospab-primary"
|
||||
className="w-full px-5 py-3 mb-4 border border-gray-300 rounded-full focus:outline-none focus:ring-2 focus:ring-ospab-primary"
|
||||
required
|
||||
disabled={isLoading}
|
||||
/>
|
||||
|
||||
{/* Terms and Privacy Checkbox */}
|
||||
<div className="mb-6 text-left">
|
||||
<label className="flex items-start">
|
||||
<input
|
||||
type="checkbox"
|
||||
required
|
||||
className="mt-1 mr-2 h-4 w-4 text-ospab-primary focus:ring-ospab-primary border-gray-300 rounded"
|
||||
disabled={isLoading}
|
||||
/>
|
||||
<span className="text-sm text-gray-600">
|
||||
{t('auth.register.terms')}{' '}
|
||||
<Link to={localePath('/terms')} target="_blank" className="text-ospab-primary hover:underline">
|
||||
{t('auth.register.termsLink')}
|
||||
</Link>
|
||||
{' '}{t('auth.register.and')}{' '}
|
||||
<Link to={localePath('/privacy')} target="_blank" className="text-ospab-primary hover:underline">
|
||||
{t('auth.register.privacyLink')}
|
||||
</Link>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
{/* Cloudflare Turnstile Captcha */}
|
||||
<div className="mb-6 flex justify-center">
|
||||
<Turnstile
|
||||
|
||||
Reference in New Issue
Block a user