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: 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),

View File

@@ -530,19 +530,19 @@ class _MihBusinessDetailsState extends State<MihBusinessDetails> {
),
),
),
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<MihBusinessDetails> {
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,
),
),
),
),
],
),
),