Commit Graph

123 Commits

Author SHA1 Message Date
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
javayhu
19f6457d6d feat: expand features sections on homepage
- Updated English and Chinese JSON files to include additional product features and descriptions, enhancing user engagement.
- Introduced a new Features3Section component to showcase more product features on the homepage.
- Refactored the homepage layout to integrate the new Features3Section, improving overall user experience.
- Adjusted existing FeaturesSection and Features2Section components for consistency and clarity in feature presentation.
2025-04-12 22:36:54 +08:00
javayhu
ea0c0cf027 feat: enhance homepage with new features sections
- Added FeaturesSection and Features2Section components to showcase product features on the homepage, improving user engagement and information accessibility.
- Updated English and Chinese JSON files to include new feature descriptions and titles for both features sections.
- Refactored the homepage layout to integrate the new features sections, enhancing overall user experience.
- Made adjustments to the LogoCloud section for improved styling and consistency.
2025-04-12 22:26:03 +08:00
javayhu
43777b5989 feat: add LogoCloud section to homepage
- Introduced a new LogoCloudSection component to showcase partner logos on the homepage, enhancing brand visibility.
- Updated English and Chinese JSON files to include a title for the LogoCloud section.
- Refactored the homepage to integrate the new LogoCloudSection, improving overall layout and user engagement.
- Added multiple SVG logos to the public/svg directory for use in the LogoCloud section.
2025-04-12 21:22:30 +08:00
javayhu
144eb7a39c feat: enhance homepage and footer with new hero section and tagline
- Introduced a new HeroSection component to the homepage, featuring an engaging introduction, title, and action buttons to improve user engagement.
- Updated the English and Chinese JSON files to include a hero section with descriptive content.
- Refactored the FAQ component to FaqSection for consistency and updated its usage in both the homepage and pricing page.
- Added a tagline to the footer for better branding visibility.
2025-04-12 20:49:43 +08:00
javayhu
fd11648d98 feat: update FAQ block
- Modified the FAQ section in both English and Chinese JSON files to enhance user support with clearer descriptions and additional contact information.
- Updated the layout of the PricingPage to include the FAQs component, improving information accessibility.
- Introduced new components for the hero section and pricing table, enhancing the overall user experience and engagement.
- Refactored the pricing layout to streamline the presentation of pricing options and improve maintainability.
2025-04-12 19:55:27 +08:00
javayhu
c43d423aa3 chore: optimize code 2025-04-12 17:42:08 +08:00
javayhu
086eb5ab8e chore: optimize faqs block 2025-04-12 17:21:19 +08:00
javayhu
0a8934a6cf feat: add nav menus for integrations blocks and forgot-password blocks 2025-04-12 17:13:44 +08:00
javayhu
74404eb0c6 feat: add FAQ block to pricing page
- Updated HomePage title and description to reflect new branding.
- Added a comprehensive FAQ section with questions and answers to improve user support.
- Modified the PricingPage layout to include the new FAQs component for better information accessibility.
2025-04-12 15:10:28 +08:00
javayhu
c0f4721d49 refactor: simplify theme management and localization
- Removed scaled and mono theme options from the theme selector and related components to streamline theme management.
- Updated localization files to reflect the removal of unused theme translations.
- Cleaned up CSS by eliminating unnecessary theme styles, enhancing maintainability and performance.
- Adjusted the WebsiteMetadata interface to remove references to obsolete themes, improving code clarity.
2025-04-12 13:14:39 +08:00
javayhu
6e1189afc4 feat: add admin user management page and support authroizeOnly for nav item
- Introduced a new admin section with user management capabilities, including a dedicated AdminUsersPage.
- Updated localization files to support new admin titles in English and Chinese.
- Added routing for the admin users page and integrated it into the sidebar configuration.
- Created necessary layout and loading components for the admin section.
- Implemented a data structure for user management, enhancing the overall admin functionality.
2025-04-12 09:54:55 +08:00
javayhu
ad0eae7d62 feat: support showing limits for price plans 2025-04-12 00:16:51 +08:00
javayhu
165673a998 feat: add pricing plans and enhance payment configuration
- Introduced new pricing plans (Free, Pro, Lifetime) with detailed descriptions and features in both English and Chinese.
- Updated payment configuration to include new plans and their pricing structures.
- Refactored payment-related functions to retrieve pricing plans consistently across the application.
- Enhanced the PricingTable component to dynamically display available plans based on the new configuration.
- Removed deprecated payment configuration file to streamline the codebase.
2025-04-10 00:26:55 +08:00
javayhu
be82337924 refactor: update billing card logic and localization
- Renamed variables for clarity, changing `isLifetimeMember` to `isLifetimePlan` and `canUpgrade` logic to improve readability.
- Added localization support for the price label in both English and Chinese.
- Optimized the UI to conditionally display messages for free and lifetime plans, enhancing user experience.
2025-04-06 23:08:53 +08:00
javayhu
a2849a9758 feat: add contact message email template and localization support
- Introduced a new email template for contact messages, including localization for English and Chinese.
- Updated the send-message action to utilize the new contact message template and added locale support.
- Enhanced the contact form validation schema and improved code formatting for consistency.
2025-04-06 17:28:31 +08:00
javayhu
36e76ef080 feat: enhance billing management features and localization updates
- Added new localization keys for billing management in English and Chinese message files.
- Updated the sidebar to include a billing link.
- Refactored the billing card component to improve loading state handling and user session management.
- Enhanced subscription fetching logic to include better error handling and logging.
- Adjusted the upgrade card visibility based on user membership status.
2025-04-06 00:48:08 +08:00
javayhu
05d811aa4e chore: update localization keys and remove schemas for auth pages
- Added new localization keys for email and password requirements in English and Chinese message files.
- Refactored page retrieval logic by replacing `getCustomPage` with `getPage` in cookie, privacy, and terms of service policy pages.
- Removed the unused `schemas.ts` file.
2025-04-05 17:45:54 +08:00
javayhu
f380ba4484 fix: fix build error for intl messages 2025-04-05 14:47:19 +08:00
javayhu
aa0aea352b chore: update localization keys for settings and improve message structure
- Removed unnecessary `items` segment path in internationalization messages for settings.
- Updated localization keys in the English and Chinese files for consistency and clarity.
2025-04-05 14:09:53 +08:00
javayhu
8ad6609527 chore: remove items segment path in intl messages for settings 2025-04-05 13:58:06 +08:00
javayhu
2dd6612e45 chore: remove sidebar segment path in intl message 2025-04-05 13:56:01 +08:00
javayhu
ea32f72313 feat: update localization messages and clean up sidebar configuration
- Changed key `authorIntroduction` to `introduction` in English and Chinese localization files for consistency.
- Added email validation message to the newsletter form.
- Restored the `NotFoundPage` section in the Chinese localization file.
- Cleaned up commented-out AI tools section in the sidebar configuration.
- Updated `DashboardSidebar` to use the `Routes` enum for improved routing clarity.
2025-04-05 13:51:32 +08:00
javayhu
5953031bee feat: support configs for light & dark logos 2025-04-05 13:30:19 +08:00
javayhu
f5600631f7 chore: remove locale in mdx files 2025-04-05 10:51:12 +08:00
javayhu
db7d86851a feat: refactor authentication translations and improve loading indicators
- Moved common authentication messages to a new `common` namespace in English and Chinese translation files for better organization.
- Updated `LoginPage`, `RegisterPage`, and various form components to utilize the new translation keys.
- Enhanced loading indicators in `ForgotPasswordForm`, `LoginForm`, `RegisterForm`, and `ResetPasswordForm` components for improved user feedback.
- Refactored `SocialLoginButton` and `NavbarMobile` components to utilize the current user context for better user experience.
2025-04-04 19:56:43 +08:00
javayhu
ab8d85be00 feat: add subscription and membership fields to user schema and update related actions
- Introduced new columns `subscription_id` and `lifetime_member` to the user table for enhanced subscription management.
- Updated the user schema in the database to reflect these changes.
- Refactored actions to utilize the new user fields for better subscription handling.
- Enhanced error handling and logging in relevant actions for improved user feedback.
- Updated translations to include new messages related to subscription status and lifetime access.
2025-04-04 10:07:39 +08:00
javayhu
bc59f9ff3d feat: enhance internationalization and loading states in payment components
- Added loading messages in English and Chinese translations for better user feedback during checkout and customer portal actions.
- Updated `CheckoutButton` and `CustomerPortalButton` components to utilize new translation keys for loading states and error messages.
- Refactored `PricingCard` and `PricingTable` components to incorporate translated text for pricing details and actions, improving localization support.
2025-04-03 15:21:00 +08:00
javayhu
c4f0c9d267 feat: update pricing page translations and enhance layout
- Updated English and Chinese translations for the PricingPage, adding a subtitle for clarity.
- Refactored the PricingPage layout to include a HeaderSection for improved presentation.
- Modified PricingCard component to handle optional interval and payment type parameters.
- Enhanced PricingTable component styling and logic for better user experience.
2025-04-03 10:19:20 +08:00
javayhu
4c1e60c71d feat: update password management and billing components
- Renamed translation keys for password setup to reset for clarity in English and Chinese.
- Added new `getUserBillingDataAction` for fetching user subscription data.
- Refactored `create-checkout-session` to ensure user authentication during checkout.
- Updated `BillingCard` to utilize the new billing data fetching logic and improved error handling.
- Modularized profile settings components by updating import paths for better organization.
- Enhanced `CheckoutButton` to initiate checkout sessions with improved user feedback.
2025-04-03 00:11:56 +08:00
javayhu
63bf471b63 feat: update security settings UI and intl messages
- Renamed password management keys in translation files for clarity.
- Added new translation keys for saving and cancel actions in both English and Chinese.
- Refactored the DeleteAccountCard component to utilize a new PasswordCardWrapper for better modularity.
- Updated UpdatePasswordCard to enhance user feedback and maintain consistency in translation usage.
- Removed unnecessary client directive from billing page for improved performance.
- Renamed SettingsAccountPage to SettingsProfilePage for better clarity in profile settings.
2025-04-02 16:15:50 +08:00
javayhu
6087d8f4dc chore: optimize blog read time intl message 2025-04-02 15:21:51 +08:00
javayhu
dd12afcce0 feat: enhance blog pagination and related posts functionality
- Added pagination size and related posts size configurations to the website config.
- Updated blog components to utilize the new pagination settings.
- Introduced a new feature to display related posts on individual blog pages, improving user engagement.
- Added new translations for "More Posts" in English and Chinese.
2025-04-01 18:17:36 +08:00
javayhu
5636a917ef refactor: enhance content collections and update localization
- Modified the meta collection to include files with 'meta**.json' for improved matching.
- Added new translation keys for 'blog' in English and Chinese localization files.
- Updated social links in the layout to use the XTwitterIcon for consistency.
- Adjusted image paths in the features page for better organization.
- Removed unused LocaleSwitcher import from the footer component.
2025-03-30 21:10:47 +08:00
javayhu
1eb5b9cffe refactor: update default font and enhance localization
- Replaced font imports in the layout and font index files to use Noto and Bricolage fonts for improved typography.
- Updated global CSS variables to reflect the new font settings.
- Enhanced author introduction in English and Chinese localization files with a greeting emoji for better user engagement.
- Adjusted heading styles in the About page for consistency.
2025-03-30 14:58:12 +08:00
javayhu
516cd70bba fix: update reading time display and enhance localization
- Changed the comment for average reading speed in content-collections.ts for clarity.
- Added a new translation key for reading time in English and Chinese localization files.
- Updated the BlogPostPage to utilize the new translation key for displaying estimated reading time, improving user experience and localization support.
2025-03-30 14:09:34 +08:00
javayhu
26c89575d8 refactor: restructure mode and theme translations for improved organization
- Updated English and Chinese translation files to nest mode-related entries for better clarity.
- Adjusted components to utilize the new translation structure, enhancing accessibility and maintainability.
- Ensured consistent usage of translation keys across ModeSwitcher and ThemeSelector components.
2025-03-30 00:32:07 +08:00