refactor: update top professionals section title and CTA text for clarity

This commit is contained in:
pradeepkumar
2026-04-11 22:07:19 +05:30
parent 9be6773c5b
commit 205643993b
2 changed files with 6 additions and 6 deletions

View File

@@ -35,8 +35,8 @@ class TopProfessionalsContent {
final List<ProfessionalItem> lenders;
const TopProfessionalsContent({
this.title = '"Meet top real estate professionals"',
this.ctaText = 'Discover 5,000+ Top Real Estate Agents in Our Network.',
this.title = 'Meet top real estate professionals',
this.ctaText = 'Discover Top Real Estate Agents in Our Network',
this.ctaButtonText = 'See All Agents',
this.agents = const [],
this.lenders = const [],
@@ -44,9 +44,9 @@ class TopProfessionalsContent {
factory TopProfessionalsContent.fromJson(Map<String, dynamic> json) {
return TopProfessionalsContent(
title: json['title'] as String? ?? '"Meet top real estate professionals"',
title: json['title'] as String? ?? 'Meet top real estate professionals',
ctaText: json['ctaText'] as String? ??
'Discover 5,000+ Top Real Estate Agents in Our Network.',
'Discover Top Real Estate Agents in Our Network',
ctaButtonText: json['ctaButtonText'] as String? ?? 'See All Agents',
agents: (json['agents'] as List<dynamic>?)
?.map((e) =>

View File

@@ -17,8 +17,8 @@ const _fallbackImages = [
/// Default CMS content for title/CTA text only.
const _defaultCmsContent = TopProfessionalsContent(
title: '"Meet top real estate professionals"',
ctaText: 'Discover 5,000+ Top Real Estate Agents in Our Network.',
title: 'Meet top real estate professionals',
ctaText: 'Discover Top Real Estate Agents in Our Network',
ctaButtonText: 'See All Agents',
agents: [],
lenders: [],