Skip to content

Commit 69b2476

Browse files
committed
feat: Add Non-Profit tab to Job Page with welcome card
1 parent ae01934 commit 69b2476

File tree

10 files changed

+506
-105
lines changed

10 files changed

+506
-105
lines changed

apps/jobboard-mobile/lib/core/constants/app_constants.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ class AppConstants {
66
static String get baseUrl => _devBaseUrl;
77

88
static String _getBaseUrl() {
9-
return 'https://jobboard-backend-728855696411.europe-west1.run.app/api';
10-
//return 'https://jobboard-backend-test-728855696411.europe-west1.run.app/api';
9+
//return 'https://jobboard-backend-728855696411.europe-west1.run.app/api';
10+
return 'https://jobboard-backend-test-728855696411.europe-west1.run.app/api';
1111
//return 'http://localhost:8080/api';
1212
//return 'http://10.0.2.2:8080/api';
1313
}

apps/jobboard-mobile/lib/core/services/api_service.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ class ApiService {
183183
int? minSalary,
184184
int? maxSalary,
185185
bool? inclusiveOpportunity,
186+
bool? nonProfit,
186187
}) async {
187188
final queryParams = <String, dynamic>{};
188189

@@ -204,6 +205,9 @@ class ApiService {
204205
if (inclusiveOpportunity != null) {
205206
queryParams['inclusiveOpportunity'] = inclusiveOpportunity;
206207
}
208+
if (nonProfit != null) {
209+
queryParams['nonProfit'] = nonProfit;
210+
}
207211

208212

209213
final uri = _buildUri('/jobs', queryParams);

0 commit comments

Comments
 (0)