Commit Graph

159 Commits

Author SHA1 Message Date
javayhu
9fcfb3bdf7 refactor: update credit and transaction messages 2025-07-12 22:14:04 +08:00
javayhu
ac02ea780a feat: add credit statistics in credits balance card 2025-07-12 21:29:28 +08:00
javayhu
ee341522f5 feat: enhance billing and credits management with new components and improved layout 2025-07-12 19:29:21 +08:00
javayhu
b5997ded4c feat: add payment success message and improve billing card layout 2025-07-12 17:03:16 +08:00
javayhu
c7a1ec69bb feat: add ConsumeCreditCard component for credit consumption 2025-07-12 11:08:28 +08:00
javayhu
4160305a67 chore: update env.example with Inngest keys 2025-07-12 09:59:30 +08:00
javayhu
765f5e1e39 feat: add register gift and monthly refresh credits to new user 2025-07-12 00:55:27 +08:00
javayhu
75db5e85a7 feat: enhance sorting functionality in tables by implementing dropdown menus 2025-07-11 22:10:04 +08:00
javayhu
de1ccca27b feat: implement consume credits action and get credit balance action, update credits balance references 2025-07-10 22:00:33 +08:00
javayhu
263440742a feat: add CreditDetailViewer component and enhance credit transaction details in English and Chinese 2025-07-10 21:43:43 +08:00
javayhu
2aeb027e2f feat: add subscription renewal and lifetime monthly messages in English and Chinese 2025-07-10 19:34:06 +08:00
javayhu
6c1a4685cd refactor: add disabled to credits config 2025-07-10 16:30:56 +08:00
javayhu
a7738f0cbf feat: implement credit checkout session and enhance credit package management
- Added new credit checkout session functionality to facilitate credit purchases.
- Introduced credit package configurations in env.example for better management.
- Updated English and Chinese JSON files with new messages for checkout processes.
- Refactored existing components to utilize the new credit checkout session and streamline the credit purchasing workflow.
- Removed obsolete payment intent handling to simplify the codebase.
2025-07-09 00:22:07 +08:00
javayhu
73ce18f564 refactor: update credit package descriptions and improve component structure
- Revised credit package descriptions in the English JSON file for clarity and consistency.
- Refactored CreditPackages component to utilize a more efficient method for retrieving credit packages.
- Removed obsolete functions and streamlined the code for better maintainability and performance.
2025-07-07 01:10:06 +08:00
javayhu
e430a0c319 feat: implement credit packages management with translations and server integration
- Added new credit packages structure in English and Chinese JSON files for better localization.
- Introduced server-side functions to retrieve credit packages and package details.
- Updated client-side components to utilize new credit package retrieval methods.
- Refactored existing code to enhance modularity and maintainability by separating client and server logic.
- Removed obsolete credit package retrieval functions to streamline the codebase.
2025-07-07 00:47:43 +08:00
javayhu
04c2b2d7ee refactor: update translations and improve table component structure
- Removed unused translation keys from English and Chinese JSON files.
- Updated UsersTable and CreditTransactionsTable components to utilize a centralized translation function for table-related messages.
- Initialized sorting state in both table components for consistent default behavior.
2025-07-06 18:20:31 +08:00
javayhu
d9cda3e122 feat: enhance credits settings with tabbed interface and improved translations
- Implemented a tabbed interface in the CreditsPage component to separate balance and transactions views.
- Updated CreditPackages and CreditTransactionsPageClient components to utilize the new tab structure.
- Enhanced translation support for credits-related messages in both English and Chinese.
- Improved error handling and user feedback in credit-related components.
- Refactored CreditTransactionsTable to utilize translations for table headers and pagination controls.
2025-07-06 17:17:24 +08:00
javayhu
40af0f6922 feat: add credit transactions table
- Introduced a new CreditTransactionsPageClient component to display credit transactions.
- Implemented getCreditTransactions action for fetching transaction data.
- Added CreditTransactionsTable component for rendering transaction details with pagination and sorting.
- Updated English and Chinese translation files to include credit transaction messages.
- Integrated the credit transactions page into the existing credits settings layout.
2025-07-06 10:44:13 +08:00
javayhu
13bee49f90 feat: add credits section to avatar configuration and update translations
- Added "Credits" entry to the avatar configuration for navigation.
- Updated English and Chinese translation files to include "Credits" label.
- Refactored error messages in credit payment actions for clarity.
- Enhanced loading state management in CreditPackages component.
- Replaced icons in CreditPackages component for improved UI consistency.
2025-07-05 23:25:37 +08:00
javayhu
fe2b1bbe39 feat: add credit purchase functionality with Stripe integration
- Introduced credit purchase payment intent actions in credits.action.ts.
- Created new components for credit packages and Stripe payment form.
- Added routes and layout for credits settings page.
- Updated sidebar configuration to include credits settings.
- Enhanced constants for credit packages with detailed pricing and descriptions.
- Implemented loading and layout components for credits page.
- Integrated payment confirmation handling in Stripe provider.
2025-07-05 22:30:22 +08:00
javayhu
958852335d feat: support cloudflare turnstile 2025-06-27 23:50:56 +08:00
javayhu
e284de79a8 chore: support show admin user page in demo website 2025-05-11 14:50:13 +08:00
javayhu
dc86cfacd8 chore: i18n user table messages 2025-05-11 13:57:26 +08:00
javayhu
70d35e5fd5 chore: update default ban reason 2025-05-11 11:51:54 +08:00
javayhu
bcb1e0ef9d chore: update user detail viewer date picker component 2025-05-11 11:26:50 +08:00
javayhu
d889cdf2b7 chore: update user detail viewer 2025-05-11 09:55:21 +08:00
javayhu
061b304aa8 feat: support ban and unban user & show user detailed information 2025-05-11 00:47:05 +08:00
javayhu
065dc1c71e chore: optimize newsletter card & add newsletter card to homepage 2025-05-04 00:39:02 +08:00
javayhu
d1359b91a3 chore: remove useless subtitle in about page 2025-05-03 20:27:34 +08:00
javayhu
6367405870 chore: optimize about page & add follow me and image section 2025-05-02 23:16:10 +08:00
javayhu
4ef52c2c02 chore: update homepage faqs & testimonials sections 2025-05-01 16:02:17 +08:00
javayhu
033ff64139 chore: update homepage pricing section 2025-05-01 15:51:08 +08:00
javayhu
532de654e2 chore: optimize homepage features sections 2025-05-01 15:46:53 +08:00
javayhu
9e7b7ea25a chore: optimize homepage features section 2025-05-01 15:30:50 +08:00
javayhu
a950bc36c3 chore: update homepage integration section 2025-05-01 14:52:14 +08:00
javayhu
9b0e19049d chore: optimize homepage hero and stats sections 2025-05-01 14:47:00 +08:00
javayhu
c9eca9c76c chore: add new page for showing magicui components 2025-04-26 09:50:14 +08:00
javayhu
5ff2436b15 chore: rename template website name 2025-04-25 20:34:12 +08:00
javayhu
48270b17ee feat: add documentation link to footer 2025-04-23 09:17:38 +08:00
javayhu
23cd59bbac refactor: biome lint part 1 2025-04-18 21:47:14 +08:00
javayhu
47cb481682 chore: update messages in price table 2025-04-16 01:00:34 +08:00
javayhu
a4ed6368db chore: optimize billing card for the case of no any plan 2025-04-13 17:17:24 +08:00
javayhu
f1b2d39f1f chore: update payment config and intl message keys 2025-04-13 15:50:30 +08:00
javayhu
728f89f109 chore: set ai pages working in progress 2025-04-13 09:35:38 +08:00
javayhu
04caa38112 feat: update UI elements and add og image
- Changed the secondary button text in the English JSON file from "Book Demo" to "See Demo" for improved clarity.
- Added a new Open Graph image to enhance social media sharing capabilities.
- Adjusted grid gap properties in Features2Section and FeaturesSection components for better layout consistency.
- Simplified the BlogCard component by removing unnecessary border classes and updating text color for improved readability.
- Modified the Navbar component to change the background color to transparent when scrolled, enhancing visual appeal.
2025-04-13 01:55:58 +08:00
javayhu
2d21d4989e feat: add pricing section to homepage
- Introduced a new PricingSection component to display pricing options, enhancing user engagement and decision-making.
- Updated English and Chinese JSON files to include titles and descriptions for the pricing section.
- Refactored the homepage layout to integrate the new PricingSection, improving overall user experience.
- Renamed CallToAction component to CallToActionSection for consistency in naming conventions.
- Adjusted image sources in Features4Section for improved asset management.
2025-04-13 00:54:39 +08:00
javayhu
97a24727d1 feat: enhance homepage with new integration and features sections
- Introduced Integration2Section and Features5Section components to showcase integrations and additional product features, improving user engagement and workflow.
- Updated English and Chinese JSON files to include new titles, descriptions, and buttons for the integration and features sections.
- Refactored the homepage layout to integrate the new sections, enhancing overall user experience.
- Adjusted existing FeaturesSection and Features2Section components for consistency and clarity in feature presentation.
2025-04-13 00:42:29 +08:00
javayhu
9f6b1493d4 feat: add call-to-action section to homepage
- Introduced a new CallToAction component to encourage user engagement with clear action prompts.
- Updated English and Chinese JSON files to include titles, descriptions, and buttons for the call-to-action section.
- Refactored the homepage layout to integrate the new CallToAction section, enhancing overall user experience.
2025-04-13 00:19:11 +08:00
javayhu
50aacbed11 feat: add testimonials section to homepage
- Introduced a new TestimonialsSection component to display customer testimonials, enhancing user engagement and trust.
- Updated English and Chinese JSON files to include testimonials titles, descriptions, and individual customer quotes.
- Refactored the homepage layout to integrate the new testimonials section, improving overall user experience.
2025-04-13 00:06:31 +08:00
javayhu
5c48725110 feat: add integration section and features4 component to homepage
- Introduced a new IntegrationSection component to showcase integrations with popular tools, enhancing user workflow.
- Updated English and Chinese JSON files to include integration titles and descriptions.
- Added a new Features4Section component with a different layout for product features, improving presentation and user engagement.
- Refactored homepage layout to integrate the new sections, enhancing overall user experience.
2025-04-12 23:23:04 +08:00