diff --git a/components/flows/backing-history/sort-filter-popover.tsx b/components/campaigns/backing-history/sort-filter-popover.tsx
similarity index 100%
rename from components/flows/backing-history/sort-filter-popover.tsx
rename to components/campaigns/backing-history/sort-filter-popover.tsx
diff --git a/lib/data/backing-history-mock.ts b/lib/data/backing-history-mock.ts
index 3de9417e2..e20b387a4 100644
--- a/lib/data/backing-history-mock.ts
+++ b/lib/data/backing-history-mock.ts
@@ -1,142 +1,79 @@
-import type { BackingHistoryItem } from '@/types/backing-history';
-
-export const mockBackingHistory: BackingHistoryItem[] = [
+export const sampleBackers = [
{
id: '1',
- backer: {
- name: 'Collins Odumeje',
- isAnonymous: false,
- avatar: '/diverse-user-avatars.png',
- walletAddress: 'GDS3...GB7',
- },
+ name: 'Collins Odumeje',
+ avatar: '/placeholder.svg?height=32&width=32',
amount: 2300,
- currency: 'USDT',
- date: new Date('2025-08-17'),
- timeAgo: '3s',
+ date: new Date('2025-08-05'),
+ walletId: 'GDS3...GB7',
+ isAnonymous: false,
},
{
id: '2',
- backer: {
- name: 'Sarah Chen',
- isAnonymous: false,
- avatar: '/diverse-user-avatars.png',
- walletAddress: 'ABC1...XYZ',
- },
- amount: 1500,
- currency: 'USDT',
- date: new Date('2025-08-16'),
- timeAgo: '1d',
+ name: 'Collins Odumeje',
+ avatar: '/placeholder.svg?height=32&width=32',
+ amount: 2300,
+ date: new Date('2025-08-05'),
+ walletId: 'GDS3...GB7',
+ isAnonymous: false,
},
{
id: '3',
- backer: {
- name: 'Anonymous',
- isAnonymous: true,
- avatar: '/anonymous-user-concept.png',
- walletAddress: 'DEF4...789',
- },
- amount: 5000,
- currency: 'USDT',
- date: new Date('2025-08-15'),
- timeAgo: '2d',
+ name: 'Collins Odumeje',
+ avatar: '/placeholder.svg?height=32&width=32',
+ amount: 2300,
+ date: new Date('2025-08-05'),
+ walletId: 'GDS3...GB7',
+ isAnonymous: false,
},
{
id: '4',
- backer: {
- name: 'Michael Rodriguez',
- isAnonymous: false,
- avatar: '/diverse-user-avatars.png',
- walletAddress: 'HIJ7...456',
- },
- amount: 750,
- currency: 'USDT',
- date: new Date('2025-08-14'),
- timeAgo: '3d',
+ name: 'Anonymous',
+ amount: 2300,
+ date: new Date('2025-08-05'),
+ walletId: 'GDS3...GB7',
+ isAnonymous: true,
},
{
id: '5',
- backer: {
- name: 'Anonymous',
- isAnonymous: true,
- avatar: '/anonymous-user-concept.png',
- walletAddress: 'KLM0...123',
- },
- amount: 3200,
- currency: 'USDT',
- date: new Date('2025-08-13'),
- timeAgo: '4d',
+ name: 'Collins Odumeje',
+ avatar: '/placeholder.svg?height=32&width=32',
+ amount: 2300,
+ date: new Date('2025-08-05'),
+ walletId: 'GDS3...GB7',
+ isAnonymous: false,
},
{
id: '6',
- backer: {
- name: 'Emma Thompson',
- isAnonymous: false,
- avatar: '/diverse-user-avatars.png',
- walletAddress: 'NOP3...890',
- },
- amount: 1800,
- currency: 'USDT',
- date: new Date('2025-08-12'),
- timeAgo: '5d',
+ name: 'Anonymous',
+ amount: 2300,
+ date: new Date('2025-08-05'),
+ walletId: 'GDS3...GB7',
+ isAnonymous: true,
},
{
id: '7',
- backer: {
- name: 'David Kim',
- isAnonymous: false,
- avatar: '/diverse-user-avatars.png',
- walletAddress: 'QRS6...567',
- },
- amount: 4500,
- currency: 'USDT',
- date: new Date('2025-08-11'),
- timeAgo: '6d',
+ name: 'Anonymous',
+ amount: 2300,
+ date: new Date('2025-08-05'),
+ walletId: 'GDS3...GB7',
+ isAnonymous: true,
},
{
id: '8',
- backer: {
- name: 'Anonymous',
- isAnonymous: true,
- avatar: '/anonymous-user-concept.png',
- walletAddress: 'TUV9...234',
- },
- amount: 950,
- currency: 'USDT',
- date: new Date('2025-08-10'),
- timeAgo: '1w',
+ name: 'Collins Odumeje',
+ avatar: '/placeholder.svg?height=32&width=32',
+ amount: 2300,
+ date: new Date('2025-08-05'),
+ walletId: 'GDS3...GB7',
+ isAnonymous: false,
},
{
id: '9',
- backer: {
- name: 'Lisa Wang',
- isAnonymous: false,
- avatar: '/diverse-user-avatars.png',
- walletAddress: 'WXY2...901',
- },
- amount: 2750,
- currency: 'USDT',
- date: new Date('2025-08-09'),
- timeAgo: '1w',
- },
- {
- id: '10',
- backer: {
- name: 'Anonymous',
- isAnonymous: true,
- avatar: '/anonymous-user-concept.png',
- walletAddress: 'ZAB5...678',
- },
- amount: 6200,
- currency: 'USDT',
- date: new Date('2025-08-08'),
- timeAgo: '1w',
+ name: 'Anonymous',
+ amount: 2300,
+ date: new Date('2025-08-05'),
+ walletId: 'GDS3...GB7',
+ isAnonymous: true,
},
];
-
-export const sortOptions = [
- { value: 'newest', label: 'Newest first' },
- { value: 'oldest', label: 'Oldest first' },
- { value: 'alphabetical', label: 'Alphabetical' },
- { value: 'amount-high', label: 'Highest first' },
- { value: 'amount-low', label: 'Lowest first' },
-];