feat: Implement legal sections for Terms of Service and Privacy Policy, including navigation and content loading
This commit is contained in:
@@ -298,6 +298,20 @@ extension StaffNavigator on IModularNavigator {
|
||||
pushNamed(StaffPaths.privacySecurity);
|
||||
}
|
||||
|
||||
/// Navigates to the Terms of Service page.
|
||||
///
|
||||
/// Display the full terms of service document in a dedicated page view.
|
||||
void toTermsOfService() {
|
||||
pushNamed(StaffPaths.termsOfService);
|
||||
}
|
||||
|
||||
/// Navigates to the Privacy Policy page.
|
||||
///
|
||||
/// Display the full privacy policy document in a dedicated page view.
|
||||
void toPrivacyPolicy() {
|
||||
pushNamed(StaffPaths.privacyPolicy);
|
||||
}
|
||||
|
||||
// ==========================================================================
|
||||
// MESSAGING & COMMUNICATION
|
||||
// ==========================================================================
|
||||
|
||||
@@ -215,6 +215,16 @@ class StaffPaths {
|
||||
/// and privacy policy.
|
||||
static const String privacySecurity = '/worker-main/privacy-security/';
|
||||
|
||||
/// Terms of Service page.
|
||||
///
|
||||
/// Display the full terms of service document.
|
||||
static const String termsOfService = '/worker-main/privacy-security/terms/';
|
||||
|
||||
/// Privacy Policy page.
|
||||
///
|
||||
/// Display the full privacy policy document.
|
||||
static const String privacyPolicy = '/worker-main/privacy-security/policy/';
|
||||
|
||||
// ==========================================================================
|
||||
// MESSAGING & COMMUNICATION (Placeholders)
|
||||
// ==========================================================================
|
||||
|
||||
Reference in New Issue
Block a user