-
- +
-
- {/*
+ setCurrentProjectId(project.id)}
+ >
+ {project.project_name}
+
+ ))}
+
+ {projects.map((project) => (
+
+
+
+
+ Total Funds Raised
+
+
+
+
+ $
+ project.deal_status === "Completed")
+ .reduce((sum, current) => sum + current.deal_amount, 0)}
+ duration={1}
+ />
+
+
+
+
+
+ Profile Views
+
+
+
+
+ +
+
+ {/*
+180.1% from last month
*/}
-
-
-
-
- Total Followers
-
-
-
-
- +
-
- {/*
+
+
+
+
+ Total Followers
+
+
+
+
+ +
+
+ {/*
+19% from last month
*/}
-
-
-
-
-
-
-
- Overview
-
-
-
- {tabOptions.map((tab) => (
-
- {tab.charAt(0).toUpperCase() + tab.slice(1)}
-
- ))}
-
-
-
+
+
+
+
+
+
+
+ Overview
+
+
+
+ {tabOptions.map((tab) => (
+
+ {tab.charAt(0).toUpperCase() + tab.slice(1)}
+
+ ))}
+
+
+
-
-
- setGraphType("line")}>
- Line
-
- setGraphType("bar")}>
- Bar
-
-
-
-
-
-
-
-
- Recent Funds
-
-
- {
- return {
- name: item.username,
- amount: item.dealAmount,
- avatar: item.avatarUrl,
- date: new Date(item.createdTime),
- status: item.dealStatus,
- profile_url: `/profile/${item.investorId}`,
- };
- })}
- />
-
- {filteredProject && filteredProject.length > 1 ? (
- {
- return {
- date: item.created_time,
- name: item.username,
- amount: item.deal_amount,
- status: item.deal_status,
- logoURL: Array.isArray(item.avatar_url) ? item.avatar_url[0] : item.avatar_url,
- profileURL: `/profile/${item.investor_id}`,
- };
- })}
- />
- ) : undefined}
-
+
+
+ setGraphType("line")}>
+ Line
+
+ setGraphType("bar")}>
+ Bar
+
+
+
-
-
-
- ))}
-
- )}
-