feat: Update TopProfessionalsSection with a new building icon and refined CTA button styling.
This commit is contained in:
BIN
assets/icons/building_icon.png
Normal file
BIN
assets/icons/building_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 40 KiB |
@@ -760,13 +760,13 @@ class _TopProfessionalsSectionState
|
||||
child: Column(
|
||||
children: [
|
||||
Image.asset(
|
||||
'assets/icons/network_icon.png',
|
||||
width: 30,
|
||||
height: 23,
|
||||
errorBuilder: (_, e, s) => const Icon(
|
||||
Icons.hub,
|
||||
color: AppColors.primaryDark,
|
||||
size: 30,
|
||||
'assets/icons/building_icon.png',
|
||||
width: 50,
|
||||
height: 38,
|
||||
errorBuilder: (_, __, ___) => const Icon(
|
||||
Icons.business,
|
||||
color: Color(0xFF5BA4A4),
|
||||
size: 38,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 12),
|
||||
@@ -787,11 +787,12 @@ class _TopProfessionalsSectionState
|
||||
onPressed: () => context.push('/agents/search'),
|
||||
style: ElevatedButton.styleFrom(
|
||||
backgroundColor: AppColors.accentOrange,
|
||||
foregroundColor: AppColors.primaryDark,
|
||||
foregroundColor: Colors.white,
|
||||
padding: const EdgeInsets.symmetric(vertical: 14),
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(10),
|
||||
borderRadius: BorderRadius.circular(15),
|
||||
),
|
||||
elevation: 0,
|
||||
),
|
||||
child: Text(
|
||||
ctaButtonText,
|
||||
@@ -799,6 +800,7 @@ class _TopProfessionalsSectionState
|
||||
fontFamily: 'Fractul',
|
||||
fontSize: 16,
|
||||
fontWeight: FontWeight.w700,
|
||||
color: Colors.white,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user