diff --git a/Frontend/lib/mih_packages/mzansi_profile/business_profile/components/mih_business_card.dart b/Frontend/lib/mih_packages/mzansi_profile/business_profile/components/mih_business_card.dart index adb1831a..32316654 100644 --- a/Frontend/lib/mih_packages/mzansi_profile/business_profile/components/mih_business_card.dart +++ b/Frontend/lib/mih_packages/mzansi_profile/business_profile/components/mih_business_card.dart @@ -364,53 +364,53 @@ class _MihBusinessCardState extends State { ); }, ), - Padding( - padding: const EdgeInsets.symmetric(horizontal: 10.0), - child: Divider( - color: MzanziInnovationHub.of(context)!.theme.primaryColor(), - ), - ), - _buildContactInfo( - "Website", - "Find out more about us.", - Icons.vpn_lock, - const Color(0xffd67d8a), - () { - _launchWebsite(widget.website); - }, - ), - Padding( - padding: const EdgeInsets.symmetric(horizontal: 10.0), - child: Divider( - color: MzanziInnovationHub.of(context)!.theme.primaryColor(), - ), - ), - _buildContactInfo( - "Rate Us", - "Let us know how we are doing.", - Icons.star_rate_rounded, - const Color(0xffd69d7d), - () { - print("Opeining rating dialog"); - // _launchWebsite(widget.website); - }, - ), - Padding( - padding: const EdgeInsets.symmetric(horizontal: 10.0), - child: Divider( - color: MzanziInnovationHub.of(context)!.theme.primaryColor(), - ), - ), - _buildContactInfo( - "Bookmark", - "Save us for later.", - Icons.bookmark_add_rounded, - const Color(0xff6e7dcc), - () { - // _launchWebsite(widget.website); - print("Saving ${widget.businessName} to Directory"); - }, - ), + // Padding( + // padding: const EdgeInsets.symmetric(horizontal: 10.0), + // child: Divider( + // color: MzanziInnovationHub.of(context)!.theme.primaryColor(), + // ), + // ), + // _buildContactInfo( + // "Website", + // "Find out more about us.", + // Icons.vpn_lock, + // const Color(0xffd67d8a), + // () { + // _launchWebsite(widget.website); + // }, + // ), + // Padding( + // padding: const EdgeInsets.symmetric(horizontal: 10.0), + // child: Divider( + // color: MzanziInnovationHub.of(context)!.theme.primaryColor(), + // ), + // ), + // _buildContactInfo( + // "Rate Us", + // "Let us know how we are doing.", + // Icons.star_rate_rounded, + // const Color(0xffd69d7d), + // () { + // print("Opeining rating dialog"); + // // _launchWebsite(widget.website); + // }, + // ), + // Padding( + // padding: const EdgeInsets.symmetric(horizontal: 10.0), + // child: Divider( + // color: MzanziInnovationHub.of(context)!.theme.primaryColor(), + // ), + // ), + // _buildContactInfo( + // "Bookmark", + // "Save us for later.", + // Icons.bookmark_add_rounded, + // const Color(0xff6e7dcc), + // () { + // // _launchWebsite(widget.website); + // print("Saving ${widget.businessName} to Directory"); + // }, + // ), const SizedBox(height: 10), // Padding( // padding: const EdgeInsets.symmetric(horizontal: 10.0), diff --git a/Frontend/lib/mih_packages/mzansi_profile/business_profile/package_tools/mih_business_details.dart b/Frontend/lib/mih_packages/mzansi_profile/business_profile/package_tools/mih_business_details.dart index 009d7e49..aa96dba4 100644 --- a/Frontend/lib/mih_packages/mzansi_profile/business_profile/package_tools/mih_business_details.dart +++ b/Frontend/lib/mih_packages/mzansi_profile/business_profile/package_tools/mih_business_details.dart @@ -530,19 +530,19 @@ class _MihBusinessDetailsState extends State { ), ), ), - Center( - child: Text( - "*DEMO TEXT* This would be the bio of the user telling us a bit about themself and let. This would be the bio of the user telling us a bit about themself and let. This would be the bio of the user telling us a bit about themself", - textAlign: TextAlign.center, - style: TextStyle( - fontSize: 15, - fontWeight: FontWeight.bold, - color: MzanziInnovationHub.of(context)! - .theme - .secondaryColor(), - ), - ), - ), + // Center( + // child: Text( + // "*DEMO TEXT* This would be the bio of the user telling us a bit about themself and let. This would be the bio of the user telling us a bit about themself and let. This would be the bio of the user telling us a bit about themself", + // textAlign: TextAlign.center, + // style: TextStyle( + // fontSize: 15, + // fontWeight: FontWeight.bold, + // color: MzanziInnovationHub.of(context)! + // .theme + // .secondaryColor(), + // ), + // ), + // ), const SizedBox(height: 20), MihBusinessCard( businessName: widget.arguments.business!.Name, @@ -553,6 +553,28 @@ class _MihBusinessDetailsState extends State { website: "https://app.mzansi-innovation-hub.co.za/privacy.html", ), + const SizedBox(height: 30.0), + Center( + child: MihButton( + onPressed: () { + // Connect with the user + editBizProfileWindow(width); + }, + buttonColor: + MzanziInnovationHub.of(context)!.theme.successColor(), + width: 300, + child: Text( + "Edit Profile", + style: TextStyle( + color: MzanziInnovationHub.of(context)! + .theme + .primaryColor(), + fontSize: 20, + fontWeight: FontWeight.bold, + ), + ), + ), + ), ], ), ),