@burdenoff/microfe-atheletebridge 2026.624.1 → 2026.625.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/atheletebridge/components/EmptyState.js +18 -11
- package/dist/atheletebridge/components/EmptyState.js.map +1 -1
- package/dist/atheletebridge/components/InvestmentCard.js +7 -7
- package/dist/atheletebridge/components/InvestmentCard.js.map +1 -1
- package/dist/atheletebridge/components/MetricsCard.js +20 -14
- package/dist/atheletebridge/components/MetricsCard.js.map +1 -1
- package/dist/atheletebridge/components/PageLayout.js +30 -19
- package/dist/atheletebridge/components/PageLayout.js.map +1 -1
- package/dist/atheletebridge/pages/HomePage.js +210 -195
- package/dist/atheletebridge/pages/HomePage.js.map +1 -1
- package/dist/atheletebridge/pages/admin/AdminAnalyticsPage.js +90 -82
- package/dist/atheletebridge/pages/admin/AdminAnalyticsPage.js.map +1 -1
- package/dist/atheletebridge/pages/admin/AdminDashboard.js +76 -44
- package/dist/atheletebridge/pages/admin/AdminDashboard.js.map +1 -1
- package/dist/atheletebridge/pages/admin/AdminFinancialPage.js +63 -55
- package/dist/atheletebridge/pages/admin/AdminFinancialPage.js.map +1 -1
- package/dist/atheletebridge/pages/admin/AdminOrdersPage.js +244 -237
- package/dist/atheletebridge/pages/admin/AdminOrdersPage.js.map +1 -1
- package/dist/atheletebridge/pages/admin/AdminProfilePage.js +59 -57
- package/dist/atheletebridge/pages/admin/AdminProfilePage.js.map +1 -1
- package/dist/atheletebridge/pages/admin/AdminSettingsPage.js +110 -106
- package/dist/atheletebridge/pages/admin/AdminSettingsPage.js.map +1 -1
- package/dist/atheletebridge/pages/admin/CartManagementPage.js +166 -159
- package/dist/atheletebridge/pages/admin/CartManagementPage.js.map +1 -1
- package/dist/atheletebridge/pages/admin/UserManagementPage.js +310 -303
- package/dist/atheletebridge/pages/admin/UserManagementPage.js.map +1 -1
- package/dist/atheletebridge/pages/cart-owner/AnalyticsDashboard.js +86 -81
- package/dist/atheletebridge/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
- package/dist/atheletebridge/pages/cart-owner/BusinessSettingsPage.js +170 -166
- package/dist/atheletebridge/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
- package/dist/atheletebridge/pages/cart-owner/CartOwnerDashboard.js +141 -109
- package/dist/atheletebridge/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
- package/dist/atheletebridge/pages/cart-owner/CartOwnerProfilePage.js +139 -134
- package/dist/atheletebridge/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
- package/dist/atheletebridge/pages/cart-owner/CartServiceConfigPage.js +109 -107
- package/dist/atheletebridge/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
- package/dist/atheletebridge/pages/cart-owner/InventoryManagementPage.js +318 -318
- package/dist/atheletebridge/pages/cart-owner/InventoryManagementPage.js.map +1 -1
- package/dist/atheletebridge/pages/cart-owner/OrderManagementPage.js +262 -262
- package/dist/atheletebridge/pages/cart-owner/OrderManagementPage.js.map +1 -1
- package/dist/atheletebridge/pages/cart-owner/StaffManagementPage.js +170 -162
- package/dist/atheletebridge/pages/cart-owner/StaffManagementPage.js.map +1 -1
- package/dist/atheletebridge/pages/common/HelpSupportPage.js +292 -298
- package/dist/atheletebridge/pages/common/HelpSupportPage.js.map +1 -1
- package/dist/atheletebridge/pages/common/NotificationCenterPage.js +100 -91
- package/dist/atheletebridge/pages/common/NotificationCenterPage.js.map +1 -1
- package/dist/atheletebridge/pages/common/SettingsPage.js +742 -734
- package/dist/atheletebridge/pages/common/SettingsPage.js.map +1 -1
- package/dist/atheletebridge/pages/customer/BookingDetailsPage.js +365 -356
- package/dist/atheletebridge/pages/customer/BookingDetailsPage.js.map +1 -1
- package/dist/atheletebridge/pages/customer/CartDetailPage.js +277 -241
- package/dist/atheletebridge/pages/customer/CartDetailPage.js.map +1 -1
- package/dist/atheletebridge/pages/customer/CartDiscoveryPage.js +261 -250
- package/dist/atheletebridge/pages/customer/CartDiscoveryPage.js.map +1 -1
- package/dist/atheletebridge/pages/customer/CheckoutPage.js +93 -89
- package/dist/atheletebridge/pages/customer/CheckoutPage.js.map +1 -1
- package/dist/atheletebridge/pages/customer/CustomerDashboard.js +430 -387
- package/dist/atheletebridge/pages/customer/CustomerDashboard.js.map +1 -1
- package/dist/atheletebridge/pages/customer/CustomerProfilePage.js +526 -490
- package/dist/atheletebridge/pages/customer/CustomerProfilePage.js.map +1 -1
- package/dist/atheletebridge/pages/customer/DirectServiceBookingPage.js +524 -512
- package/dist/atheletebridge/pages/customer/DirectServiceBookingPage.js.map +1 -1
- package/dist/atheletebridge/pages/customer/FavoritesPage.js +84 -75
- package/dist/atheletebridge/pages/customer/FavoritesPage.js.map +1 -1
- package/dist/atheletebridge/pages/customer/OrderHistoryPage.js +117 -108
- package/dist/atheletebridge/pages/customer/OrderHistoryPage.js.map +1 -1
- package/dist/atheletebridge/pages/customer/OrderTrackingPage.js +66 -61
- package/dist/atheletebridge/pages/customer/OrderTrackingPage.js.map +1 -1
- package/dist/atheletebridge/pages/customer/PaymentMethodsPage.js +81 -75
- package/dist/atheletebridge/pages/customer/PaymentMethodsPage.js.map +1 -1
- package/dist/atheletebridge/pages/customer/ReviewsPage.js +81 -72
- package/dist/atheletebridge/pages/customer/ReviewsPage.js.map +1 -1
- package/dist/atheletebridge/pages/customer/SavedAddressesPage.js +63 -55
- package/dist/atheletebridge/pages/customer/SavedAddressesPage.js.map +1 -1
- package/dist/atheletebridge/pages/investor/InvestmentDetailsPage.js +93 -61
- package/dist/atheletebridge/pages/investor/InvestmentDetailsPage.js.map +1 -1
- package/dist/atheletebridge/pages/investor/InvestmentOpportunitiesPage.js +90 -84
- package/dist/atheletebridge/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
- package/dist/atheletebridge/pages/investor/InvestorAnalyticsPage.js +60 -55
- package/dist/atheletebridge/pages/investor/InvestorAnalyticsPage.js.map +1 -1
- package/dist/atheletebridge/pages/investor/InvestorDashboard.js +345 -311
- package/dist/atheletebridge/pages/investor/InvestorDashboard.js.map +1 -1
- package/dist/atheletebridge/pages/investor/InvestorInvestmentsPage.js +38 -32
- package/dist/atheletebridge/pages/investor/InvestorInvestmentsPage.js.map +1 -1
- package/dist/atheletebridge/pages/investor/InvestorPortfolioPage.js +75 -67
- package/dist/atheletebridge/pages/investor/InvestorPortfolioPage.js.map +1 -1
- package/dist/atheletebridge/pages/investor/InvestorProfilePage.js +385 -381
- package/dist/atheletebridge/pages/investor/InvestorProfilePage.js.map +1 -1
- package/dist/atheletebridge/pages/worker/TaskDetailsPage.js +353 -319
- package/dist/atheletebridge/pages/worker/TaskDetailsPage.js.map +1 -1
- package/dist/atheletebridge/pages/worker/WorkerDashboard.js +353 -318
- package/dist/atheletebridge/pages/worker/WorkerDashboard.js.map +1 -1
- package/dist/atheletebridge/pages/worker/WorkerOrdersPage.js +134 -128
- package/dist/atheletebridge/pages/worker/WorkerOrdersPage.js.map +1 -1
- package/dist/atheletebridge/pages/worker/WorkerProfilePage.js +81 -77
- package/dist/atheletebridge/pages/worker/WorkerProfilePage.js.map +1 -1
- package/dist/atheletebridge/pages/worker/WorkerSchedulePage.js +352 -342
- package/dist/atheletebridge/pages/worker/WorkerSchedulePage.js.map +1 -1
- package/package.json +3 -3
|
@@ -2,14 +2,16 @@ import { useAthleteBridge as e } from "../../context/AthleteBridgeContext.js";
|
|
|
2
2
|
import { cn as t } from "../../utils/cn.js";
|
|
3
3
|
import { PageLayout as n } from "../../components/PageLayout.js";
|
|
4
4
|
import { MetricsCard as r } from "../../components/MetricsCard.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
5
|
+
import { EmptyState as i } from "../../components/EmptyState.js";
|
|
6
|
+
import { useInvestmentOpportunities as a, useInvestments as o } from "../../hooks/useAthleteBridgeApi.js";
|
|
7
|
+
import { formatCurrency as s } from "../../utils/formatters.js";
|
|
8
|
+
import { InvestmentCard as c } from "../../components/InvestmentCard.js";
|
|
9
|
+
import { useMemo as l, useState as u } from "react";
|
|
10
|
+
import { Activity as d, Award as f, BarChart3 as p, Eye as m, Filter as h, IndianRupee as g, Lightbulb as _, MapPin as v, PieChart as y, Plus as b, Target as x, Wallet as S } from "lucide-react";
|
|
10
11
|
import { jsx as C, jsxs as w } from "react/jsx-runtime";
|
|
12
|
+
import { EmphasisPanel as T, NextSteps as E, PagePurpose as D } from "@burdenoff/fe-libs/ui";
|
|
11
13
|
//#region src/atheletebridge/pages/investor/InvestorDashboard.tsx
|
|
12
|
-
var
|
|
14
|
+
var O = [
|
|
13
15
|
{
|
|
14
16
|
id: "1",
|
|
15
17
|
type: "opportunity",
|
|
@@ -31,7 +33,7 @@ var T = [
|
|
|
31
33
|
description: "Health & Wellness businesses in tech hubs are experiencing 40% higher returns. Whitefield shows promising opportunities.",
|
|
32
34
|
confidence: 91
|
|
33
35
|
}
|
|
34
|
-
],
|
|
36
|
+
], k = [
|
|
35
37
|
{
|
|
36
38
|
id: "act-1",
|
|
37
39
|
type: "dividend",
|
|
@@ -61,7 +63,7 @@ var T = [
|
|
|
61
63
|
date: "2023-12-20T11:00:00Z"
|
|
62
64
|
}
|
|
63
65
|
];
|
|
64
|
-
function
|
|
66
|
+
function A(e) {
|
|
65
67
|
switch (e) {
|
|
66
68
|
case "active": return "bg-green-500/20 text-green-600 dark:text-green-400";
|
|
67
69
|
case "pending": return "bg-yellow-500/20 text-yellow-600 dark:text-yellow-400";
|
|
@@ -69,9 +71,9 @@ function D(e) {
|
|
|
69
71
|
default: return "bg-secondary text-secondary-foreground";
|
|
70
72
|
}
|
|
71
73
|
}
|
|
72
|
-
function
|
|
73
|
-
let { navigateTo:
|
|
74
|
-
let e =
|
|
74
|
+
function j() {
|
|
75
|
+
let { navigateTo: j, currentUser: M } = e(), [N, P] = u("portfolio"), { data: F = [], isLoading: I } = a(), { data: L = [], isLoading: R } = o(M?.id || ""), z = M?.firstName ?? M?.name ?? "Investor", B = F.filter((e) => e.status === "active"), V = l(() => {
|
|
76
|
+
let e = L.reduce((e, t) => e + t.investedAmount, 0), t = L.reduce((e, t) => e + t.currentValue, 0), n = L.reduce((e, t) => e + t.returns, 0);
|
|
75
77
|
return {
|
|
76
78
|
totalInvested: e,
|
|
77
79
|
currentValue: t,
|
|
@@ -79,8 +81,8 @@ function O() {
|
|
|
79
81
|
monthlyIncome: n / 12,
|
|
80
82
|
roi: e > 0 ? n / e * 100 : 0
|
|
81
83
|
};
|
|
82
|
-
}, [
|
|
83
|
-
return
|
|
84
|
+
}, [L]);
|
|
85
|
+
return I || R ? /* @__PURE__ */ C(n, {
|
|
84
86
|
title: "Investment Dashboard",
|
|
85
87
|
description: "Loading your portfolio...",
|
|
86
88
|
children: /* @__PURE__ */ C("div", {
|
|
@@ -94,326 +96,358 @@ function O() {
|
|
|
94
96
|
})
|
|
95
97
|
})
|
|
96
98
|
}) : /* @__PURE__ */ w(n, {
|
|
97
|
-
title: `Welcome back, ${
|
|
99
|
+
title: `Welcome back, ${z}!`,
|
|
98
100
|
description: "Here's your investment portfolio overview.",
|
|
99
|
-
children: [
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
children: [/* @__PURE__ */ w("div", {
|
|
137
|
-
className: "lg:col-span-2",
|
|
101
|
+
children: [
|
|
102
|
+
/* @__PURE__ */ C(D, {
|
|
103
|
+
className: "mb-6",
|
|
104
|
+
children: "Your investment command center. See how your money is performing across every business you back — total invested, current value, returns and monthly income — then act on AI-spotted opportunities. Use this page to track your portfolio and decide where to invest next."
|
|
105
|
+
}),
|
|
106
|
+
/* @__PURE__ */ C(E, {
|
|
107
|
+
className: "mb-6",
|
|
108
|
+
storageKey: "atheletebridge-investor-dashboard",
|
|
109
|
+
steps: [
|
|
110
|
+
{
|
|
111
|
+
id: "browse",
|
|
112
|
+
label: "Browse investment opportunities",
|
|
113
|
+
description: "Discover vetted carts seeking funding and their expected returns.",
|
|
114
|
+
icon: /* @__PURE__ */ C(x, { className: "h-4 w-4" }),
|
|
115
|
+
onClick: () => j("/investor/opportunities")
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
id: "portfolio",
|
|
119
|
+
label: "Review your full portfolio",
|
|
120
|
+
description: "Drill into each active investment and its performance.",
|
|
121
|
+
icon: /* @__PURE__ */ C(y, { className: "h-4 w-4" }),
|
|
122
|
+
onClick: () => j("/investor/portfolio")
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
id: "analytics",
|
|
126
|
+
label: "Open investment analytics",
|
|
127
|
+
description: "See diversification, ROI trends and risk breakdown.",
|
|
128
|
+
icon: /* @__PURE__ */ C(p, { className: "h-4 w-4" }),
|
|
129
|
+
onClick: () => j("/investor/analytics")
|
|
130
|
+
}
|
|
131
|
+
]
|
|
132
|
+
}),
|
|
133
|
+
/* @__PURE__ */ w(T, { children: [/* @__PURE__ */ C("h2", {
|
|
134
|
+
className: "mb-4 text-lg font-semibold text-text-primary",
|
|
135
|
+
children: "Portfolio Overview"
|
|
136
|
+
}), /* @__PURE__ */ w("div", {
|
|
137
|
+
className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4",
|
|
138
138
|
children: [
|
|
139
|
-
/* @__PURE__ */
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
children: "My Investments"
|
|
146
|
-
}), /* @__PURE__ */ C("button", {
|
|
147
|
-
type: "button",
|
|
148
|
-
onClick: () => j("opportunities"),
|
|
149
|
-
className: t("flex-1 rounded-md px-4 py-2 text-sm font-medium transition-colors", A === "opportunities" ? "bg-bg-surface text-text-primary shadow-sm" : "text-text-secondary hover:text-text-primary"),
|
|
150
|
-
children: "New Opportunities"
|
|
151
|
-
})]
|
|
139
|
+
/* @__PURE__ */ C(r, {
|
|
140
|
+
icon: /* @__PURE__ */ C(S, { className: "h-5 w-5" }),
|
|
141
|
+
value: s(V.totalInvested, { minimumFractionDigits: 0 }),
|
|
142
|
+
label: "Total Invested",
|
|
143
|
+
trend: "up",
|
|
144
|
+
trendValue: "Across all businesses"
|
|
152
145
|
}),
|
|
153
|
-
|
|
154
|
-
className: "
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
146
|
+
/* @__PURE__ */ C(r, {
|
|
147
|
+
icon: /* @__PURE__ */ C(g, { className: "h-5 w-5" }),
|
|
148
|
+
value: s(V.currentValue, { minimumFractionDigits: 0 }),
|
|
149
|
+
label: "Current Value",
|
|
150
|
+
trend: "up",
|
|
151
|
+
trendValue: `+${V.roi.toFixed(1)}%`
|
|
152
|
+
}),
|
|
153
|
+
/* @__PURE__ */ C(r, {
|
|
154
|
+
icon: /* @__PURE__ */ C(x, { className: "h-5 w-5" }),
|
|
155
|
+
value: s(V.totalReturns, { minimumFractionDigits: 0 }),
|
|
156
|
+
label: "Total Returns",
|
|
157
|
+
trend: "up",
|
|
158
|
+
trendValue: "+15.2% this month"
|
|
159
|
+
}),
|
|
160
|
+
/* @__PURE__ */ C(r, {
|
|
161
|
+
icon: /* @__PURE__ */ C(d, { className: "h-5 w-5" }),
|
|
162
|
+
value: s(V.monthlyIncome, { minimumFractionDigits: 0 }),
|
|
163
|
+
label: "Monthly Income",
|
|
164
|
+
trend: "up",
|
|
165
|
+
trendValue: "+8.5% vs last month"
|
|
166
|
+
})
|
|
167
|
+
]
|
|
168
|
+
})] }),
|
|
169
|
+
/* @__PURE__ */ w("div", {
|
|
170
|
+
className: "mt-8 grid grid-cols-1 gap-6 lg:grid-cols-3",
|
|
171
|
+
children: [/* @__PURE__ */ w("div", {
|
|
172
|
+
className: "lg:col-span-2",
|
|
173
|
+
children: [
|
|
174
|
+
/* @__PURE__ */ w("div", {
|
|
175
|
+
className: "mb-6 flex rounded-lg bg-bg-sunken p-1",
|
|
176
|
+
children: [/* @__PURE__ */ C("button", {
|
|
177
|
+
type: "button",
|
|
178
|
+
onClick: () => P("portfolio"),
|
|
179
|
+
className: t("flex-1 rounded-md px-4 py-2 text-sm font-medium transition-colors", N === "portfolio" ? "bg-bg-surface text-text-primary shadow-sm" : "text-text-secondary hover:text-text-primary"),
|
|
180
|
+
children: "My Investments"
|
|
181
|
+
}), /* @__PURE__ */ C("button", {
|
|
161
182
|
type: "button",
|
|
162
|
-
onClick: () =>
|
|
163
|
-
className: "flex
|
|
164
|
-
children:
|
|
183
|
+
onClick: () => P("opportunities"),
|
|
184
|
+
className: t("flex-1 rounded-md px-4 py-2 text-sm font-medium transition-colors", N === "opportunities" ? "bg-bg-surface text-text-primary shadow-sm" : "text-text-secondary hover:text-text-primary"),
|
|
185
|
+
children: "New Opportunities"
|
|
165
186
|
})]
|
|
166
|
-
}),
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
/* @__PURE__ */
|
|
187
|
+
}),
|
|
188
|
+
N === "portfolio" && /* @__PURE__ */ w("div", {
|
|
189
|
+
className: "space-y-4",
|
|
190
|
+
children: [/* @__PURE__ */ w("div", {
|
|
191
|
+
className: "flex items-center justify-between",
|
|
192
|
+
children: [/* @__PURE__ */ C("h3", {
|
|
193
|
+
className: "text-base font-semibold text-text-primary",
|
|
194
|
+
children: "Active Investments"
|
|
195
|
+
}), /* @__PURE__ */ w("button", {
|
|
175
196
|
type: "button",
|
|
176
|
-
onClick: () =>
|
|
177
|
-
className: "
|
|
178
|
-
children: "
|
|
197
|
+
onClick: () => alert("Filter functionality coming soon!"),
|
|
198
|
+
className: "flex items-center gap-2 rounded-lg border border-border-subtle px-3 py-2 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
|
|
199
|
+
children: [/* @__PURE__ */ C(h, { className: "h-4 w-4" }), "Filter"]
|
|
200
|
+
})]
|
|
201
|
+
}), L.length === 0 ? /* @__PURE__ */ C("div", {
|
|
202
|
+
className: "rounded-lg border border-dashed border-border-subtle",
|
|
203
|
+
children: /* @__PURE__ */ C(i, {
|
|
204
|
+
illustration: "empty-data",
|
|
205
|
+
title: "No active investments yet",
|
|
206
|
+
description: "Once you back a business, it will show up here with live performance. Start by exploring open opportunities.",
|
|
207
|
+
action: /* @__PURE__ */ w("button", {
|
|
208
|
+
type: "button",
|
|
209
|
+
onClick: () => P("opportunities"),
|
|
210
|
+
className: "inline-flex items-center gap-1.5 rounded-lg bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors",
|
|
211
|
+
children: [/* @__PURE__ */ C(x, { className: "h-4 w-4" }), "Browse opportunities"]
|
|
212
|
+
})
|
|
179
213
|
})
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
className: "rounded-lg border border-border-subtle bg-bg-surface p-4 shadow-sm hover:shadow-md transition-shadow",
|
|
183
|
-
children: [/* @__PURE__ */ w("div", {
|
|
184
|
-
className: "flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between",
|
|
214
|
+
}) : L.map((e) => /* @__PURE__ */ w("div", {
|
|
215
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-4 shadow-sm hover:shadow-md transition-shadow",
|
|
185
216
|
children: [/* @__PURE__ */ w("div", {
|
|
186
|
-
className: "flex-
|
|
217
|
+
className: "flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between",
|
|
187
218
|
children: [/* @__PURE__ */ w("div", {
|
|
188
|
-
className: "
|
|
189
|
-
children: [/* @__PURE__ */
|
|
190
|
-
className: "
|
|
191
|
-
children:
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
219
|
+
className: "flex-1",
|
|
220
|
+
children: [/* @__PURE__ */ w("div", {
|
|
221
|
+
className: "mb-2 flex flex-wrap items-center gap-2",
|
|
222
|
+
children: [/* @__PURE__ */ C("h4", {
|
|
223
|
+
className: "text-base font-semibold text-text-primary",
|
|
224
|
+
children: e.cartName
|
|
225
|
+
}), /* @__PURE__ */ C("span", {
|
|
226
|
+
className: t("rounded-full px-2 py-0.5 text-xs font-medium", A(e.status)),
|
|
227
|
+
children: e.status
|
|
228
|
+
})]
|
|
229
|
+
}), /* @__PURE__ */ w("div", {
|
|
230
|
+
className: "mb-3 flex flex-wrap items-center gap-3 text-xs text-text-secondary",
|
|
231
|
+
children: [/* @__PURE__ */ w("span", {
|
|
232
|
+
className: "flex items-center gap-1",
|
|
233
|
+
children: [/* @__PURE__ */ C(v, { className: "h-3.5 w-3.5" }), "India"]
|
|
234
|
+
}), /* @__PURE__ */ C("span", { children: "Services" })]
|
|
195
235
|
})]
|
|
196
|
-
}), /* @__PURE__ */ w("
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
}), /* @__PURE__ */ C("span", { children: "Services" })]
|
|
236
|
+
}), /* @__PURE__ */ w("button", {
|
|
237
|
+
type: "button",
|
|
238
|
+
onClick: () => j(`/investor/investments/${e.id}`),
|
|
239
|
+
className: "flex items-center gap-2 rounded-lg border border-border-subtle px-3 py-2 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
|
|
240
|
+
children: [/* @__PURE__ */ C(m, { className: "h-4 w-4" }), "View Details"]
|
|
202
241
|
})]
|
|
242
|
+
}), /* @__PURE__ */ w("div", {
|
|
243
|
+
className: "grid grid-cols-2 gap-3 sm:grid-cols-4",
|
|
244
|
+
children: [
|
|
245
|
+
/* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
|
|
246
|
+
className: "text-xs text-text-secondary",
|
|
247
|
+
children: "Invested"
|
|
248
|
+
}), /* @__PURE__ */ C("p", {
|
|
249
|
+
className: "text-sm font-semibold text-text-primary",
|
|
250
|
+
children: s(e.investedAmount, { minimumFractionDigits: 0 })
|
|
251
|
+
})] }),
|
|
252
|
+
/* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
|
|
253
|
+
className: "text-xs text-text-secondary",
|
|
254
|
+
children: "Current Value"
|
|
255
|
+
}), /* @__PURE__ */ C("p", {
|
|
256
|
+
className: "text-sm font-semibold text-green-600 dark:text-green-400",
|
|
257
|
+
children: s(e.currentValue, { minimumFractionDigits: 0 })
|
|
258
|
+
})] }),
|
|
259
|
+
/* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
|
|
260
|
+
className: "text-xs text-text-secondary",
|
|
261
|
+
children: "Returns"
|
|
262
|
+
}), /* @__PURE__ */ C("p", {
|
|
263
|
+
className: "text-sm font-semibold text-text-primary",
|
|
264
|
+
children: s(e.returns, { minimumFractionDigits: 0 })
|
|
265
|
+
})] }),
|
|
266
|
+
/* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
|
|
267
|
+
className: "text-xs text-text-secondary",
|
|
268
|
+
children: "Growth"
|
|
269
|
+
}), /* @__PURE__ */ w("p", {
|
|
270
|
+
className: "text-sm font-semibold text-green-600 dark:text-green-400",
|
|
271
|
+
children: [e.returnsPercentage, "%"]
|
|
272
|
+
})] })
|
|
273
|
+
]
|
|
274
|
+
})]
|
|
275
|
+
}, e.id))]
|
|
276
|
+
}),
|
|
277
|
+
N === "opportunities" && /* @__PURE__ */ w("div", {
|
|
278
|
+
className: "space-y-4",
|
|
279
|
+
children: [/* @__PURE__ */ w("div", {
|
|
280
|
+
className: "flex items-center justify-between",
|
|
281
|
+
children: [/* @__PURE__ */ C("h3", {
|
|
282
|
+
className: "text-base font-semibold text-text-primary",
|
|
283
|
+
children: "Investment Opportunities"
|
|
203
284
|
}), /* @__PURE__ */ w("button", {
|
|
204
285
|
type: "button",
|
|
205
|
-
onClick: () =>
|
|
206
|
-
className: "flex items-center gap-2 rounded-lg
|
|
207
|
-
children: [/* @__PURE__ */ C(
|
|
286
|
+
onClick: () => j("/investor/opportunities"),
|
|
287
|
+
className: "flex items-center gap-2 rounded-lg bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors",
|
|
288
|
+
children: [/* @__PURE__ */ C(b, { className: "h-4 w-4" }), "Browse All"]
|
|
208
289
|
})]
|
|
209
|
-
}), /* @__PURE__ */
|
|
210
|
-
className: "grid grid-cols-
|
|
211
|
-
children:
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
children: "Current Value"
|
|
222
|
-
}), /* @__PURE__ */ C("p", {
|
|
223
|
-
className: "text-sm font-semibold text-green-600 dark:text-green-400",
|
|
224
|
-
children: o(e.currentValue, { minimumFractionDigits: 0 })
|
|
225
|
-
})] }),
|
|
226
|
-
/* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
|
|
227
|
-
className: "text-xs text-text-secondary",
|
|
228
|
-
children: "Returns"
|
|
229
|
-
}), /* @__PURE__ */ C("p", {
|
|
230
|
-
className: "text-sm font-semibold text-text-primary",
|
|
231
|
-
children: o(e.returns, { minimumFractionDigits: 0 })
|
|
232
|
-
})] }),
|
|
233
|
-
/* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
|
|
234
|
-
className: "text-xs text-text-secondary",
|
|
235
|
-
children: "Growth"
|
|
236
|
-
}), /* @__PURE__ */ w("p", {
|
|
237
|
-
className: "text-sm font-semibold text-green-600 dark:text-green-400",
|
|
238
|
-
children: [e.returnsPercentage, "%"]
|
|
239
|
-
})] })
|
|
240
|
-
]
|
|
241
|
-
})]
|
|
242
|
-
}, e.id))]
|
|
243
|
-
}),
|
|
244
|
-
A === "opportunities" && /* @__PURE__ */ w("div", {
|
|
245
|
-
className: "space-y-4",
|
|
246
|
-
children: [/* @__PURE__ */ w("div", {
|
|
247
|
-
className: "flex items-center justify-between",
|
|
248
|
-
children: [/* @__PURE__ */ C("h3", {
|
|
249
|
-
className: "text-base font-semibold text-text-primary",
|
|
250
|
-
children: "Investment Opportunities"
|
|
251
|
-
}), /* @__PURE__ */ w("button", {
|
|
252
|
-
type: "button",
|
|
253
|
-
onClick: () => O("/investor/opportunities"),
|
|
254
|
-
className: "flex items-center gap-2 rounded-lg bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors",
|
|
255
|
-
children: [/* @__PURE__ */ C(b, { className: "h-4 w-4" }), "Browse All"]
|
|
290
|
+
}), /* @__PURE__ */ C("div", {
|
|
291
|
+
className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
|
|
292
|
+
children: B.slice(0, 2).map((e) => /* @__PURE__ */ C(c, {
|
|
293
|
+
id: e.id,
|
|
294
|
+
cartName: e.cartName,
|
|
295
|
+
targetAmount: e.targetAmount,
|
|
296
|
+
raisedAmount: e.raisedAmount,
|
|
297
|
+
expectedReturns: `${e.expectedReturns}%`,
|
|
298
|
+
riskLevel: e.riskLevel,
|
|
299
|
+
status: e.status,
|
|
300
|
+
onClick: (e) => j(`/investor/opportunities/${e}`)
|
|
301
|
+
}, e.id))
|
|
256
302
|
})]
|
|
257
|
-
}),
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
className: t("flex h-8 w-8 items-center justify-center rounded-full", e.amount > 0 ? "bg-green-500/10" : "bg-bg-sunken"),
|
|
284
|
-
children: /* @__PURE__ */ C(u, { className: t("h-4 w-4", e.amount > 0 ? "text-green-600 dark:text-green-400" : "text-text-secondary") })
|
|
285
|
-
}), /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
|
|
286
|
-
className: "text-sm font-medium text-text-primary",
|
|
287
|
-
children: e.description
|
|
288
|
-
}), /* @__PURE__ */ C("p", {
|
|
289
|
-
className: "text-xs text-text-secondary",
|
|
290
|
-
children: new Date(e.date).toLocaleDateString("en-IN", {
|
|
291
|
-
day: "numeric",
|
|
292
|
-
month: "short",
|
|
293
|
-
year: "numeric"
|
|
294
|
-
})
|
|
295
|
-
})] })]
|
|
296
|
-
}), /* @__PURE__ */ w("span", {
|
|
297
|
-
className: t("text-sm font-semibold", e.amount > 0 ? "text-green-600 dark:text-green-400" : "text-text-primary"),
|
|
298
|
-
children: [e.amount > 0 ? "+" : "", o(Math.abs(e.amount), { minimumFractionDigits: 0 })]
|
|
299
|
-
})]
|
|
300
|
-
}, e.id))
|
|
301
|
-
})]
|
|
302
|
-
})
|
|
303
|
-
]
|
|
304
|
-
}), /* @__PURE__ */ w("div", {
|
|
305
|
-
className: "space-y-6",
|
|
306
|
-
children: [
|
|
307
|
-
/* @__PURE__ */ w("div", {
|
|
308
|
-
className: "rounded-lg border border-border-subtle bg-bg-surface p-4",
|
|
309
|
-
children: [/* @__PURE__ */ w("div", {
|
|
310
|
-
className: "mb-3 flex items-center gap-2",
|
|
311
|
-
children: [/* @__PURE__ */ C(_, { className: "h-5 w-5 text-yellow-500" }), /* @__PURE__ */ C("h3", {
|
|
312
|
-
className: "text-base font-semibold text-text-primary",
|
|
313
|
-
children: "AI Insights"
|
|
314
|
-
})]
|
|
315
|
-
}), /* @__PURE__ */ C("div", {
|
|
316
|
-
className: "space-y-3",
|
|
317
|
-
children: T.map((e) => /* @__PURE__ */ w("div", {
|
|
318
|
-
className: "rounded-lg border border-border-subtle bg-bg-sunken/50 p-3",
|
|
319
|
-
children: [/* @__PURE__ */ w("div", {
|
|
320
|
-
className: "mb-1 flex items-center justify-between",
|
|
321
|
-
children: [/* @__PURE__ */ C("h4", {
|
|
322
|
-
className: "text-xs font-semibold text-text-primary",
|
|
323
|
-
children: e.title
|
|
303
|
+
}),
|
|
304
|
+
/* @__PURE__ */ w("section", {
|
|
305
|
+
className: "mt-8",
|
|
306
|
+
children: [/* @__PURE__ */ C("h2", {
|
|
307
|
+
className: "mb-4 text-lg font-semibold text-text-primary",
|
|
308
|
+
children: "Recent Activity"
|
|
309
|
+
}), /* @__PURE__ */ C("div", {
|
|
310
|
+
className: "divide-y divide-border rounded-lg border border-border-subtle bg-bg-surface",
|
|
311
|
+
children: k.map((e) => /* @__PURE__ */ w("div", {
|
|
312
|
+
className: "flex items-center justify-between px-4 py-3",
|
|
313
|
+
children: [/* @__PURE__ */ w("div", {
|
|
314
|
+
className: "flex items-center gap-3",
|
|
315
|
+
children: [/* @__PURE__ */ C("div", {
|
|
316
|
+
className: t("flex h-8 w-8 items-center justify-center rounded-full", e.amount > 0 ? "bg-green-500/10" : "bg-bg-sunken"),
|
|
317
|
+
children: /* @__PURE__ */ C(d, { className: t("h-4 w-4", e.amount > 0 ? "text-green-600 dark:text-green-400" : "text-text-secondary") })
|
|
318
|
+
}), /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
|
|
319
|
+
className: "text-sm font-medium text-text-primary",
|
|
320
|
+
children: e.description
|
|
321
|
+
}), /* @__PURE__ */ C("p", {
|
|
322
|
+
className: "text-xs text-text-secondary",
|
|
323
|
+
children: new Date(e.date).toLocaleDateString("en-IN", {
|
|
324
|
+
day: "numeric",
|
|
325
|
+
month: "short",
|
|
326
|
+
year: "numeric"
|
|
327
|
+
})
|
|
328
|
+
})] })]
|
|
324
329
|
}), /* @__PURE__ */ w("span", {
|
|
325
|
-
className: "
|
|
326
|
-
children: [e.
|
|
330
|
+
className: t("text-sm font-semibold", e.amount > 0 ? "text-green-600 dark:text-green-400" : "text-text-primary"),
|
|
331
|
+
children: [e.amount > 0 ? "+" : "", s(Math.abs(e.amount), { minimumFractionDigits: 0 })]
|
|
327
332
|
})]
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
|
|
333
|
+
}, e.id))
|
|
334
|
+
})]
|
|
335
|
+
})
|
|
336
|
+
]
|
|
337
|
+
}), /* @__PURE__ */ w("div", {
|
|
338
|
+
className: "space-y-6",
|
|
339
|
+
children: [
|
|
340
|
+
/* @__PURE__ */ w("div", {
|
|
341
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-4",
|
|
342
|
+
children: [/* @__PURE__ */ w("div", {
|
|
343
|
+
className: "mb-3 flex items-center gap-2",
|
|
344
|
+
children: [/* @__PURE__ */ C(_, { className: "h-5 w-5 text-yellow-500" }), /* @__PURE__ */ C("h3", {
|
|
345
|
+
className: "text-base font-semibold text-text-primary",
|
|
346
|
+
children: "AI Insights"
|
|
331
347
|
})]
|
|
332
|
-
},
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
onClick: () => O("/investor/portfolio"),
|
|
346
|
-
className: "flex w-full items-center gap-2 rounded-lg border border-border-subtle px-3 py-2.5 text-left text-sm font-medium text-text-primary hover:bg-accent transition-colors",
|
|
347
|
-
children: [/* @__PURE__ */ C(y, { className: "h-4 w-4 text-text-secondary" }), "View Full Portfolio"]
|
|
348
|
-
}),
|
|
349
|
-
/* @__PURE__ */ w("button", {
|
|
350
|
-
type: "button",
|
|
351
|
-
onClick: () => O("/investor/opportunities"),
|
|
352
|
-
className: "flex w-full items-center gap-2 rounded-lg border border-border-subtle px-3 py-2.5 text-left text-sm font-medium text-text-primary hover:bg-accent transition-colors",
|
|
353
|
-
children: [/* @__PURE__ */ C(x, { className: "h-4 w-4 text-text-secondary" }), "Browse Opportunities"]
|
|
354
|
-
}),
|
|
355
|
-
/* @__PURE__ */ w("button", {
|
|
356
|
-
type: "button",
|
|
357
|
-
onClick: () => O("/investor/analytics"),
|
|
358
|
-
className: "flex w-full items-center gap-2 rounded-lg border border-border-subtle px-3 py-2.5 text-left text-sm font-medium text-text-primary hover:bg-accent transition-colors",
|
|
359
|
-
children: [/* @__PURE__ */ C(f, { className: "h-4 w-4 text-text-secondary" }), "Investment Analytics"]
|
|
360
|
-
}),
|
|
361
|
-
/* @__PURE__ */ w("button", {
|
|
362
|
-
type: "button",
|
|
363
|
-
onClick: () => O("/investor/profile"),
|
|
364
|
-
className: "flex w-full items-center gap-2 rounded-lg border border-border-subtle px-3 py-2.5 text-left text-sm font-medium text-text-primary hover:bg-accent transition-colors",
|
|
365
|
-
children: [/* @__PURE__ */ C(d, { className: "h-4 w-4 text-text-secondary" }), "View Profile"]
|
|
366
|
-
})
|
|
367
|
-
]
|
|
368
|
-
})]
|
|
369
|
-
}),
|
|
370
|
-
/* @__PURE__ */ w("div", {
|
|
371
|
-
className: "rounded-lg border border-border-subtle bg-bg-surface p-4",
|
|
372
|
-
children: [/* @__PURE__ */ C("h3", {
|
|
373
|
-
className: "mb-3 text-base font-semibold text-text-primary",
|
|
374
|
-
children: "Market Updates"
|
|
375
|
-
}), /* @__PURE__ */ w("div", {
|
|
376
|
-
className: "space-y-3",
|
|
377
|
-
children: [
|
|
378
|
-
/* @__PURE__ */ w("div", {
|
|
379
|
-
className: "border-l-4 border-green-500 pl-3",
|
|
380
|
-
children: [/* @__PURE__ */ C("h4", {
|
|
381
|
-
className: "text-xs font-semibold text-text-primary",
|
|
382
|
-
children: "Mobile Services Market Growing"
|
|
383
|
-
}), /* @__PURE__ */ C("p", {
|
|
384
|
-
className: "mt-1 text-xs leading-relaxed text-text-secondary",
|
|
385
|
-
children: "Mobile service industry shows 35% growth in Q4 2024"
|
|
386
|
-
})]
|
|
387
|
-
}),
|
|
388
|
-
/* @__PURE__ */ w("div", {
|
|
389
|
-
className: "border-l-4 border-blue-500 pl-3",
|
|
390
|
-
children: [/* @__PURE__ */ C("h4", {
|
|
391
|
-
className: "text-xs font-semibold text-text-primary",
|
|
392
|
-
children: "New Investment Tax Benefits"
|
|
393
|
-
}), /* @__PURE__ */ C("p", {
|
|
394
|
-
className: "mt-1 text-xs leading-relaxed text-text-secondary",
|
|
395
|
-
children: "Government announces SME investment incentives"
|
|
396
|
-
})]
|
|
397
|
-
}),
|
|
398
|
-
/* @__PURE__ */ w("div", {
|
|
399
|
-
className: "border-l-4 border-yellow-500 pl-3",
|
|
400
|
-
children: [/* @__PURE__ */ C("h4", {
|
|
401
|
-
className: "text-xs font-semibold text-text-primary",
|
|
402
|
-
children: "Home Services Demand Surge"
|
|
348
|
+
}), /* @__PURE__ */ C("div", {
|
|
349
|
+
className: "space-y-3",
|
|
350
|
+
children: O.map((e) => /* @__PURE__ */ w("div", {
|
|
351
|
+
className: "rounded-lg border border-border-subtle bg-bg-sunken/50 p-3",
|
|
352
|
+
children: [/* @__PURE__ */ w("div", {
|
|
353
|
+
className: "mb-1 flex items-center justify-between",
|
|
354
|
+
children: [/* @__PURE__ */ C("h4", {
|
|
355
|
+
className: "text-xs font-semibold text-text-primary",
|
|
356
|
+
children: e.title
|
|
357
|
+
}), /* @__PURE__ */ w("span", {
|
|
358
|
+
className: "rounded-full bg-action-primary-bg/10 px-2 py-0.5 text-xs font-medium text-primary",
|
|
359
|
+
children: [e.confidence, "%"]
|
|
360
|
+
})]
|
|
403
361
|
}), /* @__PURE__ */ C("p", {
|
|
404
|
-
className: "
|
|
405
|
-
children:
|
|
362
|
+
className: "text-xs leading-relaxed text-text-secondary",
|
|
363
|
+
children: e.description
|
|
406
364
|
})]
|
|
407
|
-
})
|
|
408
|
-
]
|
|
409
|
-
})
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
365
|
+
}, e.id))
|
|
366
|
+
})]
|
|
367
|
+
}),
|
|
368
|
+
/* @__PURE__ */ w("div", {
|
|
369
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-4",
|
|
370
|
+
children: [/* @__PURE__ */ C("h3", {
|
|
371
|
+
className: "mb-3 text-base font-semibold text-text-primary",
|
|
372
|
+
children: "Quick Actions"
|
|
373
|
+
}), /* @__PURE__ */ w("div", {
|
|
374
|
+
className: "space-y-2",
|
|
375
|
+
children: [
|
|
376
|
+
/* @__PURE__ */ w("button", {
|
|
377
|
+
type: "button",
|
|
378
|
+
onClick: () => j("/investor/portfolio"),
|
|
379
|
+
className: "flex w-full items-center gap-2 rounded-lg border border-border-subtle px-3 py-2.5 text-left text-sm font-medium text-text-primary hover:bg-accent transition-colors",
|
|
380
|
+
children: [/* @__PURE__ */ C(y, { className: "h-4 w-4 text-text-secondary" }), "View Full Portfolio"]
|
|
381
|
+
}),
|
|
382
|
+
/* @__PURE__ */ w("button", {
|
|
383
|
+
type: "button",
|
|
384
|
+
onClick: () => j("/investor/opportunities"),
|
|
385
|
+
className: "flex w-full items-center gap-2 rounded-lg border border-border-subtle px-3 py-2.5 text-left text-sm font-medium text-text-primary hover:bg-accent transition-colors",
|
|
386
|
+
children: [/* @__PURE__ */ C(x, { className: "h-4 w-4 text-text-secondary" }), "Browse Opportunities"]
|
|
387
|
+
}),
|
|
388
|
+
/* @__PURE__ */ w("button", {
|
|
389
|
+
type: "button",
|
|
390
|
+
onClick: () => j("/investor/analytics"),
|
|
391
|
+
className: "flex w-full items-center gap-2 rounded-lg border border-border-subtle px-3 py-2.5 text-left text-sm font-medium text-text-primary hover:bg-accent transition-colors",
|
|
392
|
+
children: [/* @__PURE__ */ C(p, { className: "h-4 w-4 text-text-secondary" }), "Investment Analytics"]
|
|
393
|
+
}),
|
|
394
|
+
/* @__PURE__ */ w("button", {
|
|
395
|
+
type: "button",
|
|
396
|
+
onClick: () => j("/investor/profile"),
|
|
397
|
+
className: "flex w-full items-center gap-2 rounded-lg border border-border-subtle px-3 py-2.5 text-left text-sm font-medium text-text-primary hover:bg-accent transition-colors",
|
|
398
|
+
children: [/* @__PURE__ */ C(f, { className: "h-4 w-4 text-text-secondary" }), "View Profile"]
|
|
399
|
+
})
|
|
400
|
+
]
|
|
401
|
+
})]
|
|
402
|
+
}),
|
|
403
|
+
/* @__PURE__ */ w("div", {
|
|
404
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-4",
|
|
405
|
+
children: [/* @__PURE__ */ C("h3", {
|
|
406
|
+
className: "mb-3 text-base font-semibold text-text-primary",
|
|
407
|
+
children: "Market Updates"
|
|
408
|
+
}), /* @__PURE__ */ w("div", {
|
|
409
|
+
className: "space-y-3",
|
|
410
|
+
children: [
|
|
411
|
+
/* @__PURE__ */ w("div", {
|
|
412
|
+
className: "border-l-4 border-green-500 pl-3",
|
|
413
|
+
children: [/* @__PURE__ */ C("h4", {
|
|
414
|
+
className: "text-xs font-semibold text-text-primary",
|
|
415
|
+
children: "Mobile Services Market Growing"
|
|
416
|
+
}), /* @__PURE__ */ C("p", {
|
|
417
|
+
className: "mt-1 text-xs leading-relaxed text-text-secondary",
|
|
418
|
+
children: "Mobile service industry shows 35% growth in Q4 2024"
|
|
419
|
+
})]
|
|
420
|
+
}),
|
|
421
|
+
/* @__PURE__ */ w("div", {
|
|
422
|
+
className: "border-l-4 border-blue-500 pl-3",
|
|
423
|
+
children: [/* @__PURE__ */ C("h4", {
|
|
424
|
+
className: "text-xs font-semibold text-text-primary",
|
|
425
|
+
children: "New Investment Tax Benefits"
|
|
426
|
+
}), /* @__PURE__ */ C("p", {
|
|
427
|
+
className: "mt-1 text-xs leading-relaxed text-text-secondary",
|
|
428
|
+
children: "Government announces SME investment incentives"
|
|
429
|
+
})]
|
|
430
|
+
}),
|
|
431
|
+
/* @__PURE__ */ w("div", {
|
|
432
|
+
className: "border-l-4 border-yellow-500 pl-3",
|
|
433
|
+
children: [/* @__PURE__ */ C("h4", {
|
|
434
|
+
className: "text-xs font-semibold text-text-primary",
|
|
435
|
+
children: "Home Services Demand Surge"
|
|
436
|
+
}), /* @__PURE__ */ C("p", {
|
|
437
|
+
className: "mt-1 text-xs leading-relaxed text-text-secondary",
|
|
438
|
+
children: "Cleaning and maintenance businesses up 25% this quarter"
|
|
439
|
+
})]
|
|
440
|
+
})
|
|
441
|
+
]
|
|
442
|
+
})]
|
|
443
|
+
})
|
|
444
|
+
]
|
|
445
|
+
})]
|
|
446
|
+
})
|
|
447
|
+
]
|
|
414
448
|
});
|
|
415
449
|
}
|
|
416
450
|
//#endregion
|
|
417
|
-
export {
|
|
451
|
+
export { j as InvestorDashboard };
|
|
418
452
|
|
|
419
453
|
//# sourceMappingURL=InvestorDashboard.js.map
|