diff --git a/src/app/admin/bikers/page.tsx b/src/app/admin/bikers/page.tsx
index 1c6b081..f3cfd80 100644
--- a/src/app/admin/bikers/page.tsx
+++ b/src/app/admin/bikers/page.tsx
@@ -97,6 +97,7 @@ interface BikerBattery {
interface Biker {
id: string;
name: string;
+ profileImage?: string;
email: string;
phone: string;
alternatePhone?: string;
@@ -160,6 +161,7 @@ const mockBikers: Biker[] = [
{
id: 'B001',
name: 'Rahim Ahmed',
+ profileImage: 'https://picsum.photos/200/200?random=1',
email: 'rahim@email.com',
phone: '01712345678',
alternatePhone: '01912345678',
@@ -221,6 +223,7 @@ const mockBikers: Biker[] = [
id: 'B002',
name: 'Karim Hasan',
email: 'karim@email.com',
+ profileImage: 'https://picsum.photos/200/200?random=1',
phone: '01712345679',
status: 'active',
createdAt: '2024-02-20',
@@ -268,6 +271,7 @@ const mockBikers: Biker[] = [
{
id: 'B003',
name: 'Jamal Mahmud',
+ profileImage: 'https://picsum.photos/200/200?random=3',
email: 'jamal@email.com',
phone: '01712345680',
status: 'pending',
@@ -309,6 +313,7 @@ const mockBikers: Biker[] = [
{
id: 'B004',
name: 'Ali Rahman',
+ profileImage: 'https://picsum.photos/200/200?random=4',
email: 'ali@email.com',
phone: '01712345681',
status: 'active',
@@ -686,9 +691,13 @@ export default function BikersPage() {
|
-
- {biker.name.charAt(0)}
-
+ {biker.profileImage ? (
+
+ ) : (
+
+ {biker.name.charAt(0)}
+
+ )}
{biker.name}
{biker.phone}
@@ -773,9 +782,13 @@ export default function BikersPage() {
-
- {biker.name.charAt(0)}
-
+ {biker.profileImage ? (
+ 
+ ) : (
+
+ {biker.name.charAt(0)}
+
+ )}
{biker.name}
{biker.phone}
@@ -844,9 +857,13 @@ export default function BikersPage() {
-
- {biker.name.charAt(0)}
-
+ {biker.profileImage ? (
+ 
+ ) : (
+
+ {biker.name.charAt(0)}
+
+ )}
{biker.name}
{biker.phone}
@@ -1263,9 +1280,13 @@ export default function BikersPage() {
-
- {selectedBiker.name.charAt(0)}
-
+ {selectedBiker.profileImage ? (
+ 
+ ) : (
+
+ {selectedBiker.name.charAt(0)}
+
+ )}
{selectedBiker.name}
ID: {selectedBiker.id}
|