();
}
diff --git a/src/RealCV.Web/Components/Pages/Account/Register.razor b/src/RealCV.Web/Components/Pages/Account/Register.razor
index f8f7cd5..125e7ba 100644
--- a/src/RealCV.Web/Components/Pages/Account/Register.razor
+++ b/src/RealCV.Web/Components/Pages/Account/Register.razor
@@ -71,6 +71,17 @@
+
+
-
- By creating an account, you agree to our
- Terms of Service
- and
- Privacy Policy
-
-
Already have an account?
@@ -183,7 +187,8 @@
UserName = _model.Email,
Email = _model.Email,
Plan = Domain.Enums.UserPlan.Free,
- ChecksUsedThisMonth = 0
+ ChecksUsedThisMonth = 0,
+ TermsAcceptedAt = DateTime.UtcNow
};
var result = await UserManager.CreateAsync(user, _model.Password);
@@ -222,5 +227,8 @@
[System.ComponentModel.DataAnnotations.Required(ErrorMessage = "Please confirm your password")]
[System.ComponentModel.DataAnnotations.Compare(nameof(Password), ErrorMessage = "Passwords do not match")]
public string ConfirmPassword { get; set; } = string.Empty;
+
+ [System.ComponentModel.DataAnnotations.Range(typeof(bool), "true", "true", ErrorMessage = "You must agree to the Terms of Service")]
+ public bool AgreeToTerms { get; set; }
}
}
diff --git a/src/RealCV.Web/wwwroot/app.css b/src/RealCV.Web/wwwroot/app.css
index 636c335..04448b0 100644
--- a/src/RealCV.Web/wwwroot/app.css
+++ b/src/RealCV.Web/wwwroot/app.css
@@ -49,9 +49,9 @@
/* Surface colors */
--realcv-bg-page: #F8FAFC;
- --realcv-bg-surface: #FFFFFF;
+ --realcv-bg-surface: #FAFAF9;
--realcv-bg-muted: #F1F5F9;
- --realcv-bg-elevated: #FFFFFF;
+ --realcv-bg-elevated: #FEFEFE;
/* Footer & header */
--realcv-header-bg: #FFFFFF;