Commit Graph

372 Commits

Author SHA1 Message Date
578cff2507 feat: can only access own's project edit page 2024-11-07 15:51:04 +07:00
8a826e0b90 feat: add dataroom related button to deal page + erdit button 2024-11-07 15:50:50 +07:00
a4aaba87c7 fix: can filter with tag 2024-11-07 05:41:58 +07:00
8d002841cc ui: improve admin ui 2024-11-07 05:22:08 +07:00
4d0f1d2ec4 ui: add dataroom overview to navbar 2024-11-07 05:22:00 +07:00
ac2af453e5 feat: fetch profile image for nav bar 2024-11-07 04:58:36 +07:00
c99301a66d feat: fetch data to profile edit page 2024-11-07 04:51:08 +07:00
747fd57f14 fix: user can update avatar after first upload 2024-11-07 04:21:17 +07:00
1802f87bd5 ui: add container and max-w 2024-11-07 03:45:04 +07:00
730ed4e93a feat: render markdown table 2024-11-07 03:44:48 +07:00
aeca9ed2d8 chore: eslint fix 2024-11-07 03:29:18 +07:00
f0c4f5df89 remove: remove getBusinessByUserId with * 2024-11-07 03:27:02 +07:00
9db518cb6b Merge branch 'front-end' into back-end 2024-11-07 03:26:15 +07:00
6be0b48459 feat: add business and project element to business profile 2024-11-07 03:19:31 +07:00
57b31ec43c fix: show investor and reserve fund 2024-11-07 03:19:13 +07:00
e7a1f54b43 fix: fix eslint 2024-11-07 01:56:47 +07:00
214a625b3c fix: search and filter in deals page 2024-11-07 01:53:55 +07:00
01eb6c40cc refactor: use ProjectSection component 2024-11-07 01:53:30 +07:00
6ca933c47c refactor: query top project with projetCard view 2024-11-06 23:06:11 +07:00
a0e25d0268 refactor - fix: find page also search by project/business name 2024-11-06 22:53:19 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
c0d05653f8 feat: add loading indicator to dashboard and manage project fetch success state 2024-11-06 21:57:24 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
71b8ad314f feat: implement project fetching and update dashboard to display projects dynamically 2024-11-06 21:50:14 +07:00
6269406772 fix: invert markdown text color 2024-11-06 19:59:21 +07:00
9513b6e806 feat: add project edit page 2024-11-06 19:58:25 +07:00
Naytitorn Chaovirachot
54db6905da Merge branch 'front-end' of https://github.com/Sosokker/B2D-Ventures into front-end 2024-11-06 16:56:08 +07:00
Naytitorn Chaovirachot
2e61ceb1de add team member to about page 2024-11-06 16:55:55 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
2deab27dae refactor: move hooks to query file and update imports for better organization 2024-11-06 16:49:29 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
a61538bc89 fix: wrap GitHub image in a div for improved styling and consistency 2024-11-06 16:47:25 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
34d929370b feat: add previous and next buttons to carousel for improved navigation 2024-11-06 16:45:35 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
9953aae4a4 fix: correct image loading issue in ImageModal and optimize performance 2024-11-06 16:36:01 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
2b51f4d025 fix: update carouselData fallback to include default image and remove unnecessary console log 2024-11-06 16:26:52 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
6d45fd9408 fix: remove className prop from Image component and adjust carousel item styles for consistency 2024-11-06 16:20:09 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
80b63c02bc feat: enhance ImageModal and DisplayFullImage components to support className prop and improve image handling 2024-11-06 16:07:54 +07:00
Naytitorn Chaovirachot
b3fd664cb4 fix: link github to homepage and fix searched project not clickable 2024-11-06 15:26:57 +07:00
Naytitorn Chaovirachot
2b7f340957 fix: link github on homepage and fix project search not clickable 2024-11-06 15:19:53 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
3191d4d2c8 feat: refactor ImageModal and DisplayFullImage components to use destructured props 2024-11-06 15:18:09 +07:00
Naytitorn Chaovirachot
7084d4d0aa add about page 2024-11-06 14:41:37 +07:00
Pattadon
686f065d3c feat: implement image display modal and refactor FollowShareButtons component 2024-11-06 11:04:15 +07:00
Pattadon
dc8448135d fix: adjust margin for Carousel component and update Contact link to email 2024-11-06 10:34:22 +07:00
Pattadon
79d5d9615d fix: adjust ThemeToggle positioning and add Dataroom link for business role 2024-11-05 10:13:35 +07:00
2df7d9c514 feat: add markdown editor for profile bio 2024-11-04 22:32:44 +07:00
03e8624451 fix: make markdown text invert for darkmode 2024-11-04 22:32:23 +07:00
96e1aed622 feat: add markdown text editor 2024-11-04 22:31:47 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
2d67eedc59 feat: add logo URL fetching for investment deals and update recent funds component 2024-11-04 21:02:34 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
a007a649f0 feat: enhance loading component with Lottie animation and improve data handling 2024-11-04 20:34:30 +07:00
b752008e86 fix: profile not reload on password signin 2024-11-04 20:16:52 +07:00
0929364496 refactor: use server action for login signup logout action 2024-11-04 20:16:11 +07:00
2ead19ec67 fix: fix build fail and eslint 2024-11-04 19:08:00 +07:00
a440110098 fix: can't access portfolio page 2024-11-04 11:56:18 +07:00
00c6b847e7 fix: missing getInvestorDeal function 2024-11-04 11:50:12 +07:00
2db77b80a5 Merge branch 'main' into front-end 2024-11-04 11:41:40 +07:00
Pattadon
7535afef67 Refactor ProjectSection and Invest components for improved type safety and formatting 2024-11-04 11:09:33 +07:00
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
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
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
1c58bbc8cf feat: add admin page for project application 2024-10-29 19:39:40 +07:00