remove demo data

This commit is contained in:
2025-07-02 13:31:03 +02:00
parent 57817038f4
commit d2e069d14f
2 changed files with 82 additions and 60 deletions

View File

@@ -364,53 +364,53 @@ class _MihBusinessCardState extends State<MihBusinessCard> {
); );
}, },
), ),
Padding( // Padding(
padding: const EdgeInsets.symmetric(horizontal: 10.0), // padding: const EdgeInsets.symmetric(horizontal: 10.0),
child: Divider( // child: Divider(
color: MzanziInnovationHub.of(context)!.theme.primaryColor(), // color: MzanziInnovationHub.of(context)!.theme.primaryColor(),
), // ),
), // ),
_buildContactInfo( // _buildContactInfo(
"Website", // "Website",
"Find out more about us.", // "Find out more about us.",
Icons.vpn_lock, // Icons.vpn_lock,
const Color(0xffd67d8a), // const Color(0xffd67d8a),
() { // () {
_launchWebsite(widget.website); // _launchWebsite(widget.website);
}, // },
), // ),
Padding( // Padding(
padding: const EdgeInsets.symmetric(horizontal: 10.0), // padding: const EdgeInsets.symmetric(horizontal: 10.0),
child: Divider( // child: Divider(
color: MzanziInnovationHub.of(context)!.theme.primaryColor(), // color: MzanziInnovationHub.of(context)!.theme.primaryColor(),
), // ),
), // ),
_buildContactInfo( // _buildContactInfo(
"Rate Us", // "Rate Us",
"Let us know how we are doing.", // "Let us know how we are doing.",
Icons.star_rate_rounded, // Icons.star_rate_rounded,
const Color(0xffd69d7d), // const Color(0xffd69d7d),
() { // () {
print("Opeining rating dialog"); // print("Opeining rating dialog");
// _launchWebsite(widget.website); // // _launchWebsite(widget.website);
}, // },
), // ),
Padding( // Padding(
padding: const EdgeInsets.symmetric(horizontal: 10.0), // padding: const EdgeInsets.symmetric(horizontal: 10.0),
child: Divider( // child: Divider(
color: MzanziInnovationHub.of(context)!.theme.primaryColor(), // color: MzanziInnovationHub.of(context)!.theme.primaryColor(),
), // ),
), // ),
_buildContactInfo( // _buildContactInfo(
"Bookmark", // "Bookmark",
"Save us for later.", // "Save us for later.",
Icons.bookmark_add_rounded, // Icons.bookmark_add_rounded,
const Color(0xff6e7dcc), // const Color(0xff6e7dcc),
() { // () {
// _launchWebsite(widget.website); // // _launchWebsite(widget.website);
print("Saving ${widget.businessName} to Directory"); // print("Saving ${widget.businessName} to Directory");
}, // },
), // ),
const SizedBox(height: 10), const SizedBox(height: 10),
// Padding( // Padding(
// padding: const EdgeInsets.symmetric(horizontal: 10.0), // padding: const EdgeInsets.symmetric(horizontal: 10.0),

View File

@@ -530,19 +530,19 @@ class _MihBusinessDetailsState extends State<MihBusinessDetails> {
), ),
), ),
), ),
Center( // Center(
child: Text( // 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", // "*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, // textAlign: TextAlign.center,
style: TextStyle( // style: TextStyle(
fontSize: 15, // fontSize: 15,
fontWeight: FontWeight.bold, // fontWeight: FontWeight.bold,
color: MzanziInnovationHub.of(context)! // color: MzanziInnovationHub.of(context)!
.theme // .theme
.secondaryColor(), // .secondaryColor(),
), // ),
), // ),
), // ),
const SizedBox(height: 20), const SizedBox(height: 20),
MihBusinessCard( MihBusinessCard(
businessName: widget.arguments.business!.Name, businessName: widget.arguments.business!.Name,
@@ -553,6 +553,28 @@ class _MihBusinessDetailsState extends State<MihBusinessDetails> {
website: website:
"https://app.mzansi-innovation-hub.co.za/privacy.html", "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,
),
),
),
),
], ],
), ),
), ),