Commit Graph

410 Commits

Author SHA1 Message Date
3beb6e2c72 fix: fix build error on calendar ui 2024-11-04 09:50:48 +07:00
b316f5470c chore: add shadcn expansion datepicker ui 2024-11-04 09:22:40 +07:00
76b7af0f9b Merge branch 'back-end' of https://github.com/Sosokker/B2D-Ventures into back-end 2024-11-04 00:20:38 +07:00
949dcd448e fix: increase pagination size for deals page 2024-11-04 00:20:32 +07:00
520bee2e18 feat: add dataroom overview page 2024-11-04 00:19:52 +07:00
02a3d4092b feat: only approve user can access dataroom 2024-11-04 00:19:33 +07:00
Nantawat Sukrisunt
20fe50b9a3 New test "project apply" 2024-11-03 19:58:04 +07:00
Nantawat Sukrisunt
6158bbac14 Disable old test 2024-11-03 19:57:39 +07:00
3bc6159618 feat: add dataroom manage page for business account 2024-11-03 17:58:13 +07:00
d0d9c7a0f8 feat: add dataroom files page 2024-11-03 14:38:40 +07:00
5636abc609 refactor: redirect when no project data 2024-11-03 00:41:11 +07:00
5f1c99cb00 feat: render business badge + can only edit own profile 2024-11-03 00:40:31 +07:00
e183d3ddeb feat: add loading, error, not found page 2024-11-03 00:39:13 +07:00
e29eeab868 Merge branch 'back-end' of https://github.com/Sosokker/B2D-Ventures into back-end 2024-11-02 19:00:34 +07:00
Naytitorn Chaovirachot
a5dea77001 fix no default carousel image 2024-11-01 23:19:53 +07:00
Naytitorn Chaovirachot
b25895e5ad connect image carousel to database 2024-11-01 23:12:15 +07:00
Naytitorn Chaovirachot
71d1d3c1fc connect deal data of detail page to database 2024-11-01 22:28:01 +07:00
Naytitorn Chaovirachot
c15e451912 refactor totalDealAmount function and change undefined deal value to empty array 2024-11-01 18:07:55 +07:00
Pattadon
475c6eb9c2 Refactor RecentFunds component to display only the first two characters of the deal name in the AvatarFallback 2024-11-01 15:25:44 +07:00
Pattadon
2188d2b33f Refactor RecentFunds component to display only the first two characters of the deal name in the AvatarFallback 2024-11-01 15:25:23 +07:00
Pattadon
bca431ee26 Refactor unauthorized alert component and add user authorization check to portfolio page 2024-11-01 15:23:50 +07:00
Pattadon
7356831e2e Refactor portfolio hook and page components
- Add functions to calculate total investment and get latest investment
- Update graph data calculations for overall and four-year graphs
- Update recent funds component to display latest investment deals
- Minor code formatting and error handling improvements
2024-11-01 14:32:33 +07:00
Naytitorn Chaovirachot
e0ddbbc50d connect some detail number component to database 2024-11-01 01:36:32 +07:00
Pattadon
22fe709ce8 Refactor profileBar component to fix notification count display 2024-10-31 15:19:06 +07:00
Pattadon
7d60a209fa Refactor profileBar component to wrap Github buttons in a div for improved styling 2024-10-31 14:59:54 +07:00
Pattadon
1a719a3aa7 Refactor profileBar component to add link to user's portfolio page 2024-10-31 14:43:27 +07:00
Pattadon
426bb46ad8 Refactor investment check to fix formatting issue in ProjectDealPage component 2024-10-31 14:26:26 +07:00
Pattadon
753603420c Refactor Portfolio component layout for improved responsiveness; adjust card widths and container padding 2024-10-31 14:22:34 +07:00
Pattadon
8792a94b6b Refactor Portfolio component layout for improved responsiveness; adjust card widths and container padding 2024-10-31 13:56:45 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
8c5c4076fc Refactor Portfolio component layout for improved responsiveness; adjust card widths and container padding 2024-10-30 22:29:25 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
9182b168e1 Enhance Portfolio component with new card layout and tooltips for business investment insights; update QuestionMarkIcon for better accessibility 2024-10-30 22:14:15 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
e8de157612 Refactor investment check to use dynamic user ID; enhance Portfolio component with new card layout and add QuestionMarkIcon component 2024-10-30 22:03:03 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
8cf2a031ca Add investment check and value counting functions; update Portfolio component to utilize new features 2024-10-30 21:42:41 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
ad1114088c Refactor business ID retrieval functions to improve error handling and rename for clarity 2024-10-30 20:56:08 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
bbee901bce Add business ID and type retrieval functions; integrate into Portfolio component 2024-10-30 20:44:25 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
6298abe0c9 Refactor ApplyBusiness component and fetch user data on page load 2024-10-30 15:07:42 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
ca895bd605 Refactor ApplyBusiness component and BusinessForm component 2024-10-30 15:07:13 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
2fba56288d Refactor portfolio/[uid]/hook.ts and portfolio/[uid]/page.tsx 2024-10-30 15:04:01 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
16a171db3c Refactor Portfolio component and add data aggregation hooks 2024-10-30 14:52:20 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
62e20c282a Refactor projectTag function and add PieChart component 2024-10-30 14:30:00 +07:00
Pattadon
209d6f1f73 Refactor generalApi.ts and portfolio/[uid]/page.tsx 2024-10-30 12:07:59 +07:00
Pattadon
f4a1c287c1 Refactor dependencies and add PieChart component 2024-10-30 11:41:35 +07:00
Pattadon
8b9663f0f2 Refactor dependencies and add PieChart component 2024-10-30 10:04:38 +07:00
573b2b92de feat: add indicator for business account 2024-10-30 01:45:55 +07:00
7cacc78412 refactor: remove unuse nav link 2024-10-30 01:45:35 +07:00
71d49ffd70 feat: add admin page to list businesses 2024-10-30 01:22:36 +07:00
0bc45f18d0 fix: use objects as params for multiple props 2024-10-30 01:22:22 +07:00
93fb407bd9 refactor: move directory 2024-10-30 01:21:47 +07:00
dcc15a0e70 feat: render admin button for admin role 2024-10-30 01:21:07 +07:00
3027a9978b fix: not insert investment data and missing session after success invest 2024-10-30 00:48:17 +07:00