also looking at this
refactor(ui): use shared auth submit buttons
#13
4 files
+74
-3
| @@ -112,7 +112,7 @@ async function onRegister(e: Event): Promise<void> { | ||
| 112 | 112 | <input id="register-password" name="password" type="password" required autocomplete="new-password" placeholder="At least 8 characters" :model="password" class="px-3.5 py-2.5 w-full text-sm field" :aria-invalid="error() ? 'true' : 'false'" :aria-describedby="error() ? 'form-error' : ''"> |
| 113 | 113 | </div> |
| 114 | 114 | |
| 115 | <button type="submit" :disabled="loading()" :text="loading() ? 'Creating account…' : 'Create account'" class="py-2.5 w-full font-semibold text-sm btn-solid">Create account</button> | |
| 115 | <Button type="submit" size="sm" fullWidth :disabled="loading()" :label="loading() ? 'Creating account…' : 'Create account'" className="auth-submit">Create account</Button> | |
| 116 | 116 | </form> |
| 117 | 117 | |
| 118 | 118 | @if (anyOauth) |