refactor: update Top Professionals section to source agent and lender data from CMS content and adjust CTA button text.
This commit is contained in:
@@ -37,7 +37,7 @@ class TopProfessionalsContent {
|
||||
const TopProfessionalsContent({
|
||||
this.title = '"Meet top real estate professionals"',
|
||||
this.ctaText = 'Discover 5,000+ Top Real Estate Agents in Our Network.',
|
||||
this.ctaButtonText = 'Browse Experts',
|
||||
this.ctaButtonText = 'See All Agents',
|
||||
this.agents = const [],
|
||||
this.lenders = const [],
|
||||
});
|
||||
@@ -47,7 +47,7 @@ class TopProfessionalsContent {
|
||||
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.',
|
||||
ctaButtonText: json['ctaButtonText'] as String? ?? 'Browse Experts',
|
||||
ctaButtonText: json['ctaButtonText'] as String? ?? 'See All Agents',
|
||||
agents: (json['agents'] as List<dynamic>?)
|
||||
?.map((e) =>
|
||||
ProfessionalItem.fromJson(e as Map<String, dynamic>))
|
||||
|
||||
Reference in New Issue
Block a user