Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sponsor/Donate Feature in BLT Flutter #413

Merged
merged 5 commits into from
Jul 4, 2024
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions assets/ant.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/flea.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/scorpion.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/wasp.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 7 additions & 5 deletions lib/src/constants/socialurls_constants.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
Map<String,String> socialUrls = {
"twitter" : "https://twitter.com/owasp",
"slack" : "https://owasp.org/slack/invite",
"github" : "https://github.com/OWASP/BLT",
};
Map<String, String> socialUrls = {
"twitter": "https://twitter.com/owasp",
"slack": "https://owasp.org/slack/invite",
"github": "https://github.com/OWASP/BLT",
"sponsor":
"https://owasp.org/donate/?reponame=www-project-bug-logging-tool&title=OWASP+Bug+Logging+Tool",
};
3 changes: 2 additions & 1 deletion lib/src/pages/companies/company_list_page.dart
Original file line number Diff line number Diff line change
@@ -58,7 +58,8 @@ class CompanyListPageState extends ConsumerState<CompanyListPage>
? Color.fromRGBO(34, 22, 23, 1)
: Theme.of(context).canvasColor,
appBar: AppBar(
backgroundColor: companyColor,
backgroundColor:
isDarkMode ? Color.fromRGBO(58, 21, 31, 1) : Color(0xFFDC4654),
leading: IconButton(
icon: Icon(
Icons.arrow_back_ios_new_rounded,
3 changes: 3 additions & 0 deletions lib/src/pages/drawer/drawer_imports.dart
Original file line number Diff line number Diff line change
@@ -11,3 +11,6 @@ export 'package:flutter_markdown/flutter_markdown.dart';
export 'package:font_awesome_flutter/font_awesome_flutter.dart';
export 'package:url_launcher/url_launcher.dart';
export '../../constants/socialurls_constants.dart';
export 'package:blt/src/pages/drawer/web_view.dart';
export 'package:flutter/material.dart';
export 'package:webview_flutter/webview_flutter.dart';
Loading